45 lines
1.7 KiB
JSON
45 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"default_agent": "build",
|
|
"instructions": [
|
|
"AGENTS.md",
|
|
"docs/ai/*.md"
|
|
],
|
|
"permission": {
|
|
"edit": "ask",
|
|
"bash": "ask",
|
|
"skill": {
|
|
"*": "allow"
|
|
}
|
|
},
|
|
"watcher": {
|
|
"ignore": [
|
|
"target/**",
|
|
".git/**",
|
|
"ai/context/**"
|
|
]
|
|
},
|
|
"snapshot": true,
|
|
"command": {
|
|
"context": {
|
|
"template": "Read @AGENTS.md and @ai/context/project-context.md. Refresh context if stale by running `!./ai/scripts/build-context.sh`. Summarize current architecture, next milestone, and top risks.",
|
|
"description": "Summarize current Bevy project context",
|
|
"agent": "plan"
|
|
},
|
|
"feature": {
|
|
"template": "Read @AGENTS.md, @docs/ai/bevy-quick-reference.md, @docs/ai/bevy-project-patterns.md, and @ai/context/project-context.md. Plan and then implement feature: $ARGUMENTS. Before editing, explain files to change, ECS design, and verify commands.",
|
|
"description": "Plan and implement small Bevy feature",
|
|
"agent": "build"
|
|
},
|
|
"bug": {
|
|
"template": "Read @AGENTS.md, @docs/ai/bevy-debug-playbook.md, and @ai/context/project-context.md. Investigate and fix: $ARGUMENTS. Show likely root cause, patch plan, and verify commands.",
|
|
"description": "Fix Bevy bug with root cause first",
|
|
"agent": "build"
|
|
},
|
|
"review": {
|
|
"template": "Read @AGENTS.md, @docs/ai/bevy-quick-reference.md, @docs/ai/bevy-project-patterns.md, and @ai/context/project-context.md. Review ECS design and architecture for: $ARGUMENTS. Give strengths, risks, concrete refactor steps.",
|
|
"description": "Review Bevy architecture",
|
|
"agent": "plan"
|
|
}
|
|
}
|
|
} |