|
| 1 | +--- |
| 2 | +description: Zoo auto-invocation policy — public repo safe (no proprietary Athena references) |
| 3 | +alwaysApply: true |
| 4 | +--- |
| 5 | + |
| 6 | +# Auto-Invocation Policy |
| 7 | + |
| 8 | +**Everything in Zoo Flow is automatic.** The user does not type slash commands. Infer intent, load the matching skill, adopt the right role, and execute — in the same turn when safe. |
| 9 | + |
| 10 | +## Rules |
| 11 | + |
| 12 | +- All `.cursor/rules/zoo-*.mdc` mandates are always active |
| 13 | +- Never tell the user to run `/zoo-*` to proceed |
| 14 | +- Never wait for workflow approval when intent is clear — start executing |
| 15 | +- **Never expose proprietary Project Athena content** — see `zoo-no-proprietary-exposure.mdc` |
| 16 | + |
| 17 | +## Skills |
| 18 | + |
| 19 | +- All `.cursor/skills/zoo-*/` skills are **model-invoked** |
| 20 | +- When a task matches a skill's description, read and follow that skill's `SKILL.md` immediately |
| 21 | +- Do **not** load `zoo-athena-doctrine` in this public repo |
| 22 | + |
| 23 | +## Role adoption (automatic) |
| 24 | + |
| 25 | +| Task signal | Role | Skill(s) to load | |
| 26 | +|-------------|------|------------------| |
| 27 | +| Small known fix, CSS, typo | Code Tweaker | `zoo-tweak` | |
| 28 | +| Test-first, red-green | Code Tweaker | `zoo-tdd` | |
| 29 | +| Bug, broken, failing, debug | System Architect → Tweaker | `zoo-diagnosing-bugs` | |
| 30 | +| New feature, capability, PRD | System Architect | `zoo-grill-with-docs`, `zoo-to-spec`, `zoo-to-tickets` | |
| 31 | +| Refactor, architecture | System Architect | `zoo-improve-codebase-architecture` | |
| 32 | +| Unfamiliar code, explore | System Architect | `zoo-explore` | |
| 33 | +| Verify, tests pass, lint | Code Tweaker | `zoo-verify` | |
| 34 | +| Review diff/PR | System Architect | `zoo-code-review` | |
| 35 | +| Task completion | Code Tweaker | `zoo-completion-protocol` | |
| 36 | +| Commit, document | Code Tweaker | `zoo-commit-and-document` | |
| 37 | +| Ship finished work | Code Tweaker | verify → review → commit chain | |
| 38 | +| Domain modeling | System Architect | `zoo-ddd`, `zoo-domain-modeling` | |
| 39 | +| API design | System Architect | `zoo-api-first` | |
| 40 | +| Issue triage | System Architect | `zoo-triage` | |
| 41 | +| Decision quality, Munger | Any | `zoo-munger-perspective` | |
| 42 | + |
| 43 | +## When to ask (only these cases) |
| 44 | + |
| 45 | +- Genuinely ambiguous intent |
| 46 | +- Irreversible actions: `git commit`, `git push`, publishing issues |
| 47 | +- Plan gate: non-tweak implementation without approved plan |
| 48 | + |
| 49 | +## Chains |
| 50 | + |
| 51 | +After non-trivial implementation, automatically run verify → review before suggesting commit. |
0 commit comments