Files
social-media/docs/PROMPTS/frontend-task.md
Jonathan Bourdon 121757546a
Some checks failed
Backend CI/CD / build_and_deploy (push) Has been cancelled
Frontend CI/CD / build_and_deploy (push) Has been cancelled
refactor: organize frontend by feature
2026-04-25 01:08:02 -04:00

30 lines
802 B
Markdown

# Frontend Task Prompt
You are implementing a frontend task in this repository.
## Read First
- `AGENTS.md`
- `docs/ARCHITECTURE.md`
- `docs/DEVELOPMENT_WORKFLOW.md`
- `docs/AGENTIC_WORKFLOW.md`
- Relevant feature spec in `docs/FEATURES/`
- Relevant task file in `docs/TASKS/`
## Instructions
- Implement only the requested frontend task.
- Feature-owned route views, stores, composables, constants, utilities, and local components belong under `frontend/src/features/<feature>`.
- Use `frontend/src/config.js` for runtime configuration.
- Preserve token refresh behavior in `authStore` and `frontend/src/plugins/api.js`.
- Use generated API types from `frontend/src/api/schema.d.ts` when the endpoint has been generated.
## After Coding
Run or recommend:
```bash
cd frontend
npm run build
```