Prompt file imported from Tian-Studioo/vue-ai-boilerplate (
.github/prompts/implement.prompt.md). Fill in{{feature_description}}before use. Copyright stays with the author.
Implement the following feature: {{feature_description}}
Steps to follow
-
Load context: Read all instruction files (coding-standards, vue-components, vue-testing, project-context).
-
Assess situation: Check if similar patterns exist in
src/. Find related files. -
Advise approach: Identify the best pattern (component/composable/store/service). List applicable convention rules.
-
Plan tasks: Break implementation into small, testable tasks. List files to create/modify.
-
Execute with TDD:
- Write failing tests first
- Implement minimum code to pass
- Refactor for clarity
-
Quality gate:
npm run lint && npm run format && npm run test:unit && npm run build -
Report: List files changed, tests added, quality results.
Stop if
- 5+ files need changing (report and ask how to proceed)
- Same error twice — analyze root cause first