Antigravity#
Complete guide for using CafeKit Spec with Antigravity.
Installation#
npx @haposoft/cafekit-spec
Select Antigravity in the installer menu.
File Structure#
After installation, CafeKit Spec adds workflow files to .agent/:
.agent/
├── workflows/
│ ├── spec-init.md
│ ├── spec-requirements.md
│ ├── spec-design.md
│ ├── spec-tasks.md
│ ├── spec-status.md
│ ├── code.md
│ ├── test.md
│ ├── review.md
│ ├── docs-init.md
│ └── docs-update.md
├── agents/
│ ├── frontend-specialist.md
│ ├── test-engineer.md
│ └── code-archaeologist.md
├── skills/
│ └── specs/
└── rules/
└── GEMINI.md
Command Set#
Antigravity supports both /command and @command styles.
Spec workflow#
| Command | Description |
|---|---|
/spec-init | Initialize a new spec |
/spec-requirements | Gather and generate requirements |
/spec-design | Generate technical design |
/spec-tasks | Generate implementation tasks |
/code | Implement next approved task |
/test | Run tests and summarize failures |
/review | Review code correctness and security |
/spec-status | Show current spec status |
Documentation workflow#
| Command | Description |
|---|---|
/docs-init | Initialize project docs |
/docs-update | Update docs after changes |
Usage Examples#
Start a feature#
> /spec-init payment-gateway
# or
> @spec-init payment-gateway
Implement from tasks#
> /code payment-gateway
> /test
> /review
Update documentation#
> /docs-update
Differences from Claude Code#
| Antigravity | Claude Code | |
|---|---|---|
| Workflow directory | .agent/workflows/ | .claude/commands/ |
| Agent directory | .agent/agents/ | .claude/agents/ |
| Routing rules file | .agent/rules/GEMINI.md | .claude/ROUTING.md |
| Command trigger | /... or @... | /... |
Troubleshooting#
Commands not showing#
ls -la .agent/workflows/
Command execution issues#
- Restart Antigravity
- Verify workflow files use
.mdwith valid frontmatter - Re-run installer:
npx @haposoft/cafekit-spec