一键导入
dojo-charter
Use when starting any session — establishes how to find and use skills, requiring Skill tool invocation before ANY response
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when starting any session — establishes how to find and use skills, requiring Skill tool invocation before ANY response
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a structured PRD document is needed for the ralph loop — generates prd.json and progress.txt
Use when task scope exceeds one context window and decomposes into independent pass/fail stories with clean iteration boundaries
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — merge, PR, or cleanup
Use when starting feature work that needs isolation from the current workspace or before executing plans that could leave the branch in a broken state
Use when a hard problem was just solved and the solution should be captured as a learning for future reference
Use when 3+ distinct occurrences suggest a skill should be updated with a new trigger, anti-pattern, or verification step
| name | dojo-charter |
| description | Use when starting any session — establishes how to find and use skills, requiring Skill tool invocation before ANY response |
IF A SKILL APPLIES TO YOUR TASK, YOU MUST USE IT. THIS IS NOT OPTIONAL.
Before every response, consult skills/index.json. Load the 1-3 best-matching skills via the Skill tool. Follow them.
If no skills match with confidence, gate skills influence your behavior silently — respond normally.
skills/index.json — match the current task against skill triggers and description fieldsDo NOT load skills speculatively. Only load skills that clearly match the current task.
Four skills influence EVERY task, but they are silent unless their trigger fires. Do NOT explain or announce gate skills on every turn.
| Gate Skill | Surfaces When | Silent Otherwise |
|---|---|---|
verification-before-completion | About to claim work is done | Yes — no mention needed |
self-review | After implementation, dispatches the sensei | Yes — no mention needed |
systematic-debugging | Error, bug, or unexpected behavior occurs | Yes — no mention needed |
scope-control | Always silent — prefer smallest viable change set | Always silent |
Gate skills influence behavior, not output. They don't need to be announced or explained unless their specific trigger fires.
Task received
│
├─ Is this a greeting / question about the plugin? → Respond directly
│
├─ Is this a bug / error / unexpected behavior?
│ └─ YES → invoke: systematic-debugging
│ └─ Fix found → invoke: test-driven-development (if available)
│ └─ Fix verified → invoke: verification-before-completion
│ └─ self-review (sensei)
│ └─ Done → propose: compound-docs (lesson learned)
│
├─ Is this a new feature or significant change?
│ ├─ Requirements clear?
│ │ ├─ NO → invoke: brainstorming
│ │ └─ YES ↓
│ ├─ invoke: writing-plans
│ ├─ Scope assessment:
│ │ ├─ Fits in one session → invoke: executing-plans
│ │ │ └─ (uses subagent-driven-development if parallelizable)
│ │ └─ Too large for one context window
│ │ AND decomposes into pass/fail stories
│ │ AND has clean iteration boundaries
│ │ → invoke: ralph-loop (training loop escalation)
│ └─ Implementation complete
│ → invoke: verification-before-completion
│ → invoke: self-review (sensei)
│ → invoke: finishing-a-development-branch
│
├─ Is this a code review request?
│ ├─ Giving review → invoke: requesting-code-review
│ │ └─ (dispatches parallel review agents)
│ └─ Received feedback → invoke: receiving-code-review
│
├─ Is implementation complete / claiming "done"?
│ └─ invoke: verification-before-completion
│ → invoke: self-review (sensei)
│
└─ Did we just solve a hard problem?
└─ propose: compound-docs (lesson learned)
In addition to skills, check patterns/index.json for code pattern matches:
detect or signatures fields, load the PATTERN.md and follow itPattern matching uses 3 signals: detect (import strings), file-globs, signatures (API usage). Match on 2 of 3.
Structure patterns (type: "structure") have broad file-globs and no import signals. To prevent constant noise, apply them only during:
Do NOT apply structure patterns during routine edits to existing files.
When multiple skills could apply:
These thoughts mean STOP — you're rationalizing skipping skills:
| Thought | Reality |
|---|---|
| "This is just a simple question" | Check the index first. It takes 1 second. |
| "I need more context first" | Skills tell you HOW to gather context. |
| "Let me just do this quick thing" | Gate skills still apply to quick things. |
| "The skill is overkill for this" | Simple things become complex. Skills prevent that. |
| "I'll check skills after" | Before. Always before. |
| "I know what to do" | Knowing ≠ following the discipline. Check anyway. |
Fingerprints (emitted as both for interop with other routers):
PLUGIN_ROUTER: syntaxninja-dojo@<version>
DOJO_ROUTER: syntaxninja-dojo@<version>
If you see another DOJO_ROUTER: or PLUGIN_ROUTER: fingerprint from a different plugin:
Config file is dojo.config.md at the repo root (discoverable in PRs). Falls back to .claude/dojo-config.md for backwards compatibility.
Use the Skill tool. When you invoke a skill, its content is loaded — follow it directly.
Never use the Read tool on skill files. Always use the Skill tool.
Cross-references between skills use the syntaxninja-dojo:skill-name namespace.