custom-plan
Create a structured feature plan using PLAN + WORKING_MEMORY + USER_VERIFICATION (tasklist) files
Review code changes and update documentation accordingly
How it fires
How this command gets triggered: by you, by Claude, or both.
/update-docsContext preview
What this command does when you run it.
Review code changes and update documentation accordingly
description: "Review code changes and update documentation accordingly" allowed-tools: ["bash", "read", "glob", "grep", "task"]
Reviews code changes on the current branch and identifies documentation that needs updates.
First, examine the entire diff of the current branch against the main branch:
git diff main...HEAD
Understand what has changed:
Use sub-agents to comprehensively check all documentation in the project:
**Documentation Locations:**
**Documentation Categories to Check:** 1. **Explanatory Docs** - Concepts, architecture, how things work 2. **Configuration Docs** - agent.yml, preferences, settings 3. **API Reference Docs** - SDK methods, REST endpoints, SSE events 4. **Tutorials** - Step-by-step guides and walkthroughs 5. **Getting Started** - Installation, quickstart, first steps 6. **Examples & Demos** - Code examples and demo projects 7. **Guides** - How-to guides for specific features
Cross-reference the code changes with existing documentation:
Present a structured list of recommended documentation updates:
## Recommended Documentation Updates ### High Priority - [ ] **File**: `docs/static/openapi/openapi.json` - **Reason**: New `fileDataInput` parameter added to `/api/message` endpoint - **Changes Needed**: Update OpenAPI spec with new parameter (regenerate via sync-openapi-docs script) ### Medium Priority - [ ] **File**: `packages/core/README.md` - **Reason**: New `StorageService` class added - **Changes Needed**: Update architecture section ### Low Priority - [ ] **File**: `docs/docs/tutorials/building-triage-system.md` - **Reason**: Updated error handling patterns - **Changes Needed**: Update code examples to use new error types ### Optional - [ ] **File**: `docs/docs/examples-demos/` (new file) - **Reason**: Good opportunity to add example for new feature - **Changes Needed**: Create new example demonstrating file upload feature
Present the recommendations and ask:
/update-docs
The command will automatically: 1. Analyze your branch's changes 2. Scan all documentation 3. Identify gaps and outdated content 4. Recommend specific updates 5. Wait for your approval before making changes
Agent harness and tookit for building AI agents and agentic applications. CLI and SDKs included
Create a structured feature plan using PLAN + WORKING_MEMORY + USER_VERIFICATION (tasklist) files
Analyze a file or folder for code slop and quality issues compared to main branch
Start the Dexto development server with optional agent file selection
Update Agent Registry documentation to match agent-registry.json
Update MCP Registry documentation to match server-registry-data.json