chore: moving towards agentic development
This commit is contained in:
30
docs/PROMPTS/frontend-task.md
Normal file
30
docs/PROMPTS/frontend-task.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# 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.
|
||||
- Existing route-level app screens live under `frontend/src/views/app`.
|
||||
- New isolated feature slices should prefer `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
|
||||
```
|
||||
Reference in New Issue
Block a user