/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.mddocs/project-overview-pdr.mddocs/code-standards.mddocs/system-architecture.mddocs/design-guidelines.mddocs/deployment-guide.mddocs/project-roadmap.mdrepomix-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#
- Run
/docs updateafter major code changes