Check and update documentation for LLM consumption.
Updates documentation files with LLM-friendly changes based on recent code modifications.
/plugin marketplace add GGPrompts/TabzChrome/plugin install conductor@tabz-chromeCheck if documentation needs updating and apply minimal LLM-friendly updates. This is a standalone atomic command.
/conductor:update-docs
Run after implementing changes that:
For-LLMs documentation style:
echo "=== Documentation Check ==="
echo "Files changed:"
git diff HEAD~1 --name-only 2>/dev/null || git diff --cached --name-only
echo ""
| Change Type | Documentation Action |
|---|---|
| New API route | Add to API section in CLAUDE.md or docs/ |
| New component | Add to component list with file path |
| New hook | Add to hooks section with usage example |
| Config change | Update config documentation |
| New env var | Add to environment setup docs |
| Breaking change | Add migration note |
if [ -f "CLAUDE.md" ]; then
echo "CLAUDE.md found - checking if updates needed"
else
echo "No CLAUDE.md - checking docs/ folder"
ls -la docs/ 2>/dev/null || echo "No docs/ folder"
fi
Example additions to CLAUDE.md:
## New in this PR
### API Routes
- `POST /api/thing/action` - Description (app/api/thing/action/route.ts)
### Components
- `ThingComponent` - Description (components/ThingComponent.tsx)
### Hooks
- `useThing()` - Description (hooks/useThing.ts)
### Environment Variables
- `THING_API_KEY` - Description (required for X feature)
if git diff --name-only | grep -E "CLAUDE.md|docs/|README.md"; then
echo "Documentation files modified"
git add CLAUDE.md docs/ README.md 2>/dev/null
echo '{"updated": true, "files": ["CLAUDE.md"]}'
else
echo "No documentation updates required"
echo '{"updated": false}'
fi
{"updated": true, "files": ["CLAUDE.md", "docs/API.md"]}
{"updated": false}
/conductor:commit-changes - Doc updates included in commit/conductor:create-followups - Run before or after/conductor:close-issue - Run before closing/conductor:worker-done - Full pipeline that includes this/update-docsUpdate implementation documentation including specs, status, and best practices
/update-docsUpdate and maintain project documentation for local code changes using multi-agent workflow with tech-writer agents. Covers docs/, READMEs, JSDoc, and API documentation.