Quick Start¶
1. Initialize a Project¶
After installation, create or initialize your project:
# Create new project
codexspec init my-awesome-project
# Or initialize in current directory
codexspec init . --ai claude
# With Chinese output
codexspec init my-project --lang zh-CN
2. Establish Project Principles¶
Launch Claude Code in the project directory:
Use the constitution command:
3. Clarify Requirements¶
Use /codexspec.specify to explore requirements:
4. Generate Specification¶
Once clarified, generate the spec document:
5. Review and Validate¶
Recommended: Validate before proceeding:
6. Create Technical Plan¶
7. Generate Tasks¶
8. Implement¶
Project Structure¶
After initialization:
my-project/
+-- .codexspec/
| +-- memory/
| | +-- constitution.md
| +-- specs/
| | +-- {feature-id}/
| | +-- spec.md
| | +-- plan.md
| | +-- tasks.md
| +-- scripts/
+-- .claude/
| +-- commands/
+-- CLAUDE.md