/docs update#
Refresh project documentation after significant code changes.
Usage#
Claude Code:
/docs update
Antigravity:
/docs-update
Description#
/docs update re-analyzes the current codebase and updates documentation sections that changed.
Typical behavior:
- Verify
docs/exists - Create backup/snapshot
- Re-scan codebase context (including repomix output)
- Update documentation files to match current implementation
Common Update Targets#
docs/codebase-summary.mddocs/project-overview-pdr.mddocs/code-standards.mddocs/system-architecture.mddocs/design-guidelines.mddocs/deployment-guide.mddocs/project-roadmap.md- Platform context file (
CLAUDE.mdor.agent/rules/AGENTS.md)
Best Practices#
- Commit code before running updates
- Review docs diff after update
- Re-run when architecture or deployment setup changes significantly