AWF is a prompt engineering framework that turns your AI coding assistant into specialized personas — PM, Developer, Designer, Detective — each with structured workflows and safety guardrails.
Each workflow has a named expert: PM Ha plans features, Detective Long debugs methodically, Security Eng Khang audits thoroughly. Consistent expertise across sessions.
Tables of common AI excuses that are explicitly blocked. "Just a small change, skip tests" → BLOCKED. Applied to 7 workflows.
Every workflow supports 3 levels: Newbie (plain language, 1 question per turn), Basic, and Technical. Error messages auto-translated to human language.
Never lose context between sessions. Lazy Checkpoint (~20 tokens/task), Proactive Handover when context is 80% full, MCP Memory integration.
Before writing ANY new code, mandatory search for existing solutions. Research → Reuse → Build. Prevents reinventing the wheel.
5 cross-cutting protocols: context-retrieval, iterative-retrieval, resilience (auto-retry), token-discipline, GitHub CLI mapping.
| Command | Persona | Role |
|---|---|---|
| /init | Initializer | Capture idea, create workspace |
| /brainstorm | Research Analyst | Explore & validate ideas, create BRIEF.md |
| /plan | PM (10yr exp) | Features, phases, risk assessment |
| /design | Architect (15yr) | DB schema, API design, acceptance criteria |
| /visualize | UX Designer | UI mockup generation |
| /code | Senior Dev (12yr) | Search-First implementation + Phase Gates |
| /test | QA Engineer | Test strategy, flaky detection, coverage |
| /debug | Detective (8yr) | Root cause with Iron Law enforcement |
| /code-review | Reviewer | Pre-commit gate, security checklist |
| /refactor | Code Gardener | Readability cleanup, safety tiers |
| /audit | Security Eng (10yr) | Full checkup, A-F grading system |
| Command | Role |
|---|---|
| /run | Auto-detect build system & launch app |
| /deploy | Full production: SEO, analytics, legal, backup, monitoring |
| /rollback | Emergency recovery via git |
| /recap | Context recovery from .brain/ files |
| /save-brain | Persist knowledge for next session |
| /help | Context-aware help system |
| /next | AI suggests next action |
| /customize | Preferences (tech level, tone, autonomy) |
| /design-system | Design DNA + UI component library |
.agent/ and .agents/ directories for multi-agent IDE compatibility.Install AWF globally so every project benefits. Installs to ~/.gemini/antigravity/ and auto-creates symlinks in ~/.agent/ and ~/.agents/.
Creates: ~/.gemini/antigravity/{global_workflows,skills,schemas,templates}
Symlinks: ~/.agent/skills/awf, ~/.agents/skills/awf → primary
Install into current project only. Useful for team repos where workflows are versioned alongside code. Installs to .gemini/ and symlinks .agent/, .agents/.
Creates: .gemini/{workflows,skills,schemas,templates}
Symlinks: .agent/skills/awf, .agents/skills/awf → primary
Manual clone & copy if you prefer not to pipe to bash, or want to inspect the files first.