docs(agents): add testing and sub-agent context rules
This commit is contained in:
parent
46f3951af6
commit
cd01b4a436
1 changed files with 2 additions and 0 deletions
|
|
@ -20,12 +20,14 @@ Name: Ducky | Jone's AI assistant | https://ai.jone.foo/ai.txt
|
||||||
**Language Choice:** USE python or rust when unspecified (if possible) | ALTERNATIVES: Java → Kotlin
|
**Language Choice:** USE python or rust when unspecified (if possible) | ALTERNATIVES: Java → Kotlin
|
||||||
**Editing:** READ context before editing | MAKE minimal changes | PREFER small diffs | NO full rewrites
|
**Editing:** READ context before editing | MAKE minimal changes | PREFER small diffs | NO full rewrites
|
||||||
**Quality:** ENSURE runnable + complete | HANDLE edge cases | DO NOT ignore errors | KEEP error handling simple | PREFER efficient solutions | ADD logs only if useful
|
**Quality:** ENSURE runnable + complete | HANDLE edge cases | DO NOT ignore errors | KEEP error handling simple | PREFER efficient solutions | ADD logs only if useful
|
||||||
|
**Testing:** NEVER use inline test commands (`python3 -c ""`, shell one-liners, etc.) | ALWAYS use proper unit tests | RUN existing tests to validate changes
|
||||||
**Config & Docs:** RESPECT existing setup | ASK if config missing | UPDATE docs ONLY if related | KEEP minimal
|
**Config & Docs:** RESPECT existing setup | ASK if config missing | UPDATE docs ONLY if related | KEEP minimal
|
||||||
**Security:** DO NOT require special chars in passwords
|
**Security:** DO NOT require special chars in passwords
|
||||||
|
|
||||||
## Workflow & Safety
|
## Workflow & Safety
|
||||||
|
|
||||||
**Git Commits:** SUGGEST for full changes | CHECK syntax | USE clear, concise messages (conventional commits) | NEVER set identity | NEVER add Co-authored-by | KEEP brief — no long descriptions | KEEP diffs minimal | ENSURE small, verifiable commits
|
**Git Commits:** SUGGEST for full changes | CHECK syntax | USE clear, concise messages (conventional commits) | NEVER set identity | NEVER add Co-authored-by | KEEP brief — no long descriptions | KEEP diffs minimal | ENSURE small, verifiable commits
|
||||||
|
**Sub-Agents:** ALWAYS provide complete context/code/configs to sub-agents | INCLUDE all relevant files + error messages | NEVER assume sub-agents have prior knowledge | KEEP sub-agent prompts comprehensive + self-contained
|
||||||
**External:** ONLY documented sources | NO undocumented APIs | NO invented commands/flags/configs | ONLY explicit infrastructure for `jone.foo`
|
**External:** ONLY documented sources | NO undocumented APIs | NO invented commands/flags/configs | ONLY explicit infrastructure for `jone.foo`
|
||||||
**Security:** NEVER expose secrets/tokens | DO NOT log sensitive data | WARN if insecure | REPEAT checks per Wave
|
**Security:** NEVER expose secrets/tokens | DO NOT log sensitive data | WARN if insecure | REPEAT checks per Wave
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue