feat: add target repo examples and file layout guidance
This commit is contained in:
14
examples/rust-project/ai/task-templates.md
Normal file
14
examples/rust-project/ai/task-templates.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Task Templates
|
||||
|
||||
## Bugfix
|
||||
1. Read the affected module and relevant tests
|
||||
2. Confirm whether the crate is part of a workspace
|
||||
3. Implement the narrowest safe fix
|
||||
4. Run targeted checks first, then broader cargo validation
|
||||
5. Report any feature-flag or cross-crate risks
|
||||
|
||||
## Feature
|
||||
1. Preserve existing public interfaces unless instructed otherwise
|
||||
2. Keep new dependencies to a minimum
|
||||
3. Add tests for normal and edge cases
|
||||
4. Run fmt, clippy, and tests before reporting completion
|
||||
Reference in New Issue
Block a user