feat: add target repo examples and file layout guidance
This commit is contained in:
20
examples/node-project/ai/task-templates.md
Normal file
20
examples/node-project/ai/task-templates.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Task Templates
|
||||
|
||||
## Bugfix
|
||||
Goal: fix a specific bug with minimal API change.
|
||||
|
||||
Required flow:
|
||||
1. Read relevant implementation and tests
|
||||
2. Summarize likely root cause briefly
|
||||
3. Implement the smallest safe fix
|
||||
4. Run targeted tests, then broader checks if needed
|
||||
5. Report changed files and residual risks
|
||||
|
||||
## Feature
|
||||
Goal: add a small feature without broad refactors.
|
||||
|
||||
Required flow:
|
||||
1. Inspect related modules and interfaces
|
||||
2. Preserve public API unless the task says otherwise
|
||||
3. Add tests for new behavior
|
||||
4. Run lint, typecheck, and tests
|
||||
Reference in New Issue
Block a user