/docs update

/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:

  1. Verify docs/ exists
  2. Create backup/snapshot
  3. Re-scan codebase context (including repomix output)
  4. Update documentation files to match current implementation

Common Update Targets#

  • docs/codebase-summary.md
  • docs/project-overview-pdr.md
  • docs/code-standards.md
  • docs/system-architecture.md
  • docs/design-guidelines.md
  • docs/deployment-guide.md
  • docs/project-roadmap.md
  • Platform context file (CLAUDE.md or .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