بنقرة واحدة
docs
Dispatch docs subagent to audit, generate, and validate documentation against the codebase.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Dispatch docs subagent to audit, generate, and validate documentation against the codebase.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for /fix handoff.
Investigate bugs comprehensively — cascade through /trace, capture browser evidence, extract observability data, and auto-create a GitHub issue with all findings.
Wire a Genie agent to an Omni channel in one canonical flow — register the agent, bind to an instance, verify the round-trip. Replaces the 5+ command legacy chain.
Full PM playbook — triage backlog, prioritize, assign, track, report, escalate. Copilot, autopilot, or pair modes.
Convene real AI agents for multi-perspective deliberation on architecture, design, and strategy decisions.
Entry point for all genie operations — auto-routes natural language to the right skill, detects lifecycle state, and handles operational commands. Use when planning features, reporting bugs, managing teams, or asking about genie.
| name | docs |
| description | Dispatch docs subagent to audit, generate, and validate documentation against the codebase. |
Audit existing documentation, identify gaps, generate what's missing, and validate every claim against actual code. Can be invoked standalone or as part of /work.
/work completes — suggest /docs to document what changedAudit and maintain these doc types:
| Type | Location | Purpose |
|---|---|---|
| README | README.md, */README.md | Project/module overview, setup, usage |
| CLAUDE.md | CLAUDE.md, */CLAUDE.md | Project conventions, commands, gotchas for AI agents |
| API docs | docs/api/, inline JSDoc/TSDoc | Endpoint contracts, request/response schemas |
| Architecture | docs/architecture.md, ARCHITECTURE.md | System design, data flow, component relationships |
| Inline docs | JSDoc, TSDoc, docstrings | Function/class/module-level documentation |
CLAUDE.md is a first-class documentation surface. When the codebase changes significantly (new commands, changed conventions, removed features), flag CLAUDE.md for update. CLAUDE.md should always reflect the current state of the project.
# Spawn a docs subagent
genie agent spawn docs
After shipping a new genie work dispatch fix, the orchestrator runs /docs to update documentation:
# 1. Spawn a docs subagent
genie agent spawn docs
# 2. Send the task
genie agent send 'Audit and update docs after PR #746 (initialPrompt added to dispatch). Check: README.md, CLAUDE.md, CO-ORCHESTRATION-GUIDE.md, skills/work/SKILL.md — verify dispatch examples match current code. Fix any stale references.' --to docs
The docs agent:
genie work, dispatch, protocolRouter.sendMessageinitialPrompt patternEvery session MUST end by writing a terminal outcome to the turn-session contract. This is how the orchestrator reconciles executor state — skipping it leaves the row open and blocks auto-resume.
genie done — work completed, acceptance criteria metgenie blocked --reason "<why>" — stuck, needs human input or an unblocking signalgenie failed --reason "<why>" — aborted, irrecoverable error, or cannot proceedRules:
blocked / failed require --reason.genie done inside an agent session (GENIE_AGENT_NAME set) closes the current executor; it does not require a wish ref.