/spec-init#
Initialize a new spec workspace in .specs/.
Usage#
Claude Code:
/spec-init "user authentication with email and password"
Antigravity:
/spec-init "user authentication with email and password"
# or
@spec-init "user authentication with email and password"
Description#
/spec-init is the first step of the CafeKit Spec workflow.
It creates a new folder at .specs/[feature-name]/ and initializes:
spec.json(phase + approval metadata)requirements.md(project description input placeholder)
What Happens#
- Generate feature name from your description
- Create
.specs/[feature-name]/ - Write initial
spec.json - Write initial
requirements.mdwith your project description
Example Output#
> /spec-init "user authentication with email and password"
✅ Created: .specs/user-authentication/
✅ Created: .specs/user-authentication/spec.json
✅ Created: .specs/user-authentication/requirements.md
requirements.md starts with:
# Requirements Document
## Project Description (Input)
User authentication with email and password
## Requirements
<!-- Will be generated in /spec-requirements phase -->
Notes#
- Feature names are generated in
kebab-case - This phase only initializes structure and metadata
- Requirements/design/tasks are generated in later phases
Next Steps#
/spec-requirements- Generate detailed requirements from the project description