/docs init

/docs init#

Create baseline project documentation for AI and team context.

Usage#

Claude Code:

/docs init

Antigravity:

/docs-init

Description#

This command analyzes the codebase and generates core docs.

Generated outputs typically include:

  • 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
  • repomix-output.xml

Platform context files:

  • Claude: CLAUDE.md
  • Antigravity: .agent/rules/AGENTS.md

Notes#

  • Best run at project start or when docs are missing
  • Existing docs may be merged or refreshed depending on workflow behavior
  • Review generated docs and adjust project-specific details

Next Steps#