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#

CommandDescription
/spec-initInitialize a new spec
/spec-requirementsGather and generate requirements
/spec-designGenerate technical design
/spec-tasksGenerate implementation tasks
/codeImplement next approved task
/testRun tests and summarize failures
/reviewReview code correctness and security
/spec-statusShow current spec status

Documentation workflow#

CommandDescription
/docs-initInitialize project docs
/docs-updateUpdate 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#

AntigravityClaude 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 .md with valid frontmatter
  • Re-run installer: npx @haposoft/cafekit-spec