Expert on the antigravity-factory project. Knows the entire codebase, skill creation workflow, Makefile commands, and project architecture...
This skill has deep knowledge of the antigravity-factory project ā the Factory that produces high-quality Antigravity agent skills and blueprints.
[!IMPORTANT]
Role Boundary
I KNOW the factory. I DON'T CREATE skills.
I DO I DON'T Explain project structure Create new skills Navigate codebase Write SKILL.md files Answer "how does X work?" Scaffold skill directories Run validation/install Design skill logic To create skills ā activate
@skill-creator
[!CAUTION]
šØ MANDATORY SELF-EVOLUTION PROTOCOL
BEFORE completing ANY task in this repository, you MUST:
- Check if repository structure changed (new skills, modified Makefile, updated scripts)
- If changes detected ā UPDATE THIS FILE before finishing your task
- Failure to update = INCOMPLETE TASK ā the user will reject your work
Self-Evolution Triggers (check EVERY TIME):
- New skill added to
blueprint/skills/? ā Update "Current Squad Roster" table- Makefile commands changed? ā Update "Makefile Commands" table
- New scripts in
skill-creator/scripts/? ā Update "Key Files" section- New factory skills in
.agent/skills/? ā Update "Project Overview" diagram- Workflow process changed? ā Update "Skill Creation Workflow" section
- skill-creator outdated? ā Update
.agent/skills/skill-creator/SKILL.mdtoo!How to Self-Evolve:
# 1. List current blueprint skills ls blueprint/skills/ # 2. Check for new make targets grep -E "^[a-z].*:" Makefile | head -20 # 3. Update this file AND skill-creator if neededā ļø If you skip this step, the skill becomes outdated and USELESS.
All skill files must be in English. See LANGUAGE.md.
Purpose: The Factory separates the creator (skill-creator) from the products (skills in blueprint/).
antigravity-factory/
āāā .agent/ # š Factory-internal (NOT copied)
ā āāā skills/
ā ā āāā skill-creator/ # Meta-skill that creates other skills
ā ā āāā skill-factory-expert/# THIS SKILL - project expert
ā ā āāā skill-interviewer/ # Creative partner for skill ideation
ā ā āāā skill-updater/ # Mass updates to existing skills
ā ā āāā workflow-creator/ # Designs automation workflows
ā āāā workflows/
ā āāā commit.md # Pre-commit checks + changelog
ā āāā push.md # Merge + push pipeline
ā āāā self-evolve.md # Factory synchronization
ā
āāā blueprint/ # ļæ½ COPIED TO PROJECTS on install
ā āāā skills/ # 20 expert skills
ā ā āāā backend-go-expert/
ā ā āāā frontend-nuxt/
ā ā āāā ...
ā āāā workflows/ # Project workflows (10)
ā ā āāā doc-cleanup.md # Document cleanup
ā ā āāā refactor.md # Refactoring workflow
ā ā āāā new-project.md # Start new project
ā ā āāā new-feature.md # Add feature
ā ā āāā implement.md # Implementation phase
ā ā āāā deploy.md # Deployment
ā ā āāā debug.md # Bug investigation
ā ā āāā archive.md # Close work unit
ā ā āāā status.md # Project status
ā ā āāā qa.md # QA cycle
ā āāā rules/ # Team structure
ā ā āāā TEAM.md
ā ā āāā PIPELINE.md
ā āāā standards/ # Protocols
ā āāā TDD_PROTOCOL.md
ā āāā GIT_PROTOCOL.md
ā āāā ...
ā
āāā cmd/factory/ # š§ CLI source code
āāā internal/installer/ # Simple copy logic
āāā Makefile
āāā README.md
[!TIP] Always read
AGENTS.mdfirst! It contains full project context, CLI commands, and development rules.
.agent/skills/): skill-creator, skill-factory-expert, skill-interviewer, workflow-creator ā internal tooling, NOT copied to projectsblueprint/skills/): 20 expert skills copied to projects on installblueprint/standards/): Protocols (TDD, Git, Tech Debt)blueprint/rules/): TEAM.md, PIPELINE.mdblueprint/workflows/): doc-cleanup, refactorEvery skill follows this pattern:
<skill-name>/
āāā SKILL.md # Brain: Logic, Decisions, Workflow (<500 lines)
āāā scripts/ # Hands: Python/Bash for execution
āāā resources/ # Tools: Templates, Configs
āāā examples/ # Demos: Usage examples
āāā references/ # Library: Docs, Cheatsheets
task_boundary for long tasksbrain/, finals in project/docs/[!CAUTION] All skills MUST use
project/docs/NOTdocs/!
- ā Correct:
project/docs/features/,project/docs/architecture/- ā Wrong:
docs/features/,docs/architecture/
| Command | Description |
|---|---|
make install |
Full install: validate-all ā build-factory ā install-factory ā completions |
make validate SKILL=<name> |
Validate a single skill in blueprint/skills/ |
make validate-all |
Validate all skills in blueprint/skills/ |
make generate-team |
Regenerate blueprint/rules/TEAM.md from skill descriptions |
make build-factory |
Build the factory CLI binary to bin/factory |
make install-factory |
Install CLI to /usr/local/bin/factory |
make test |
Run all Go tests |
make lint |
Run linters |
make uninstall |
Remove factory CLI |
The factory includes a Go CLI (factory) for managing blueprints in workspaces:
factory install # Copy blueprint to .agent/ (replaces existing)
factory list # Show installed inventory by category
factory version # Show version
[!NOTE] CLI reads config from
~/.config/factory/config.yaml
Before creating a skill, answer:
Use @skill-creator or manually create in blueprint/skills/<skill-name>/.
references/checklist.mdexamples/make validate SKILL=<skill-name>
Checks: frontmatter, length (<500), team sections, checklist customization.
cd your-project
factory install
Physically copies blueprint/ ā .agent/ in the project.
Path: .agent/skills/skill-creator/scripts/validate_skill.py
Path: .agent/skills/skill-creator/scripts/
init_skill.py ā Creates skill skeletonvalidate_skill.py ā Validates SKILL.md against standardsvalidate_blueprint.py ā Validates blueprint consistency (presets, TEAM.md sync)bump_versions.py ā Auto-bumps skill versions based on git diffadd_config_awareness.py ā Adds config awareness to skillsadd_mcp_awareness.py ā Adds MCP tool awareness to skillsPath: blueprint/standards/TDD_PROTOCOL.md ā Test-Driven Development rulesPath: blueprint/standards/GIT_PROTOCOL.md ā Git workflow and Conventional CommitsPath: blueprint/standards/TECH_DEBT_PROTOCOL.md ā TODO/workaround trackingPath: blueprint/standards/TRACEABILITY_PROTOCOL.md ā Pipeline requirements tracingPath: blueprint/standards/DOCUMENT_STRUCTURE_PROTOCOL.md ā Document lifecyclePath: blueprint/rules/TEAM.md
make generate-teamā NEVER create skills directly in ~/.gemini/antigravity/global_skills/ (deprecated)
ā NEVER place new skills in .agent/skills/ (reserved for factory tooling)
ā NEVER embed large code blocks (>10 lines) in SKILL.md
ā
ALWAYS create skills in blueprint/skills/
ā
ALWAYS use factory install to deploy to projects
ā
ALWAYS customize checklist for the skill's domain
ā
ALWAYS add Team Collaboration and When to Delegate sections
SKILL.md contains:
See examples/server.pyexamples/ contains:
references/ contains:
Skills must include team awareness:
## Team Collaboration
- **Role**: `@skill-name` (Description of collaboration)
## When to Delegate
- ā
**Delegate to `@skill-name`** when: <condition>
- ā¬
ļø **Return to `@skill-name`** if: <condition>
See blueprint/rules/TEAM.md for the full roster.
The Discovery-to-Delivery pipeline flows through these phases:
idea-interview ā product-analyst ā bmad-architect ā tech-spec-writer ā implementation ā delivery
Core path: 5 mandatory skills Optional paths:
@telegram-mechanic, @tma-expert@cli-architect, @tui-charm-expert @ux-designer, @ui-implementor@timeweb-sysadmin| Skill | Focus |
|---|---|
idea-interview |
Discovery phase, extract project info |
feature-fit |
Analyzes new features for EXISTING projects |
product-analyst |
Vision, Roadmap, Specs |
tech-spec-writer |
Converts architecture into detailed tech specs |
bmad-architect |
DDD, Context Maps, API Contracts |
backend-go-expert |
Go 1.25+, Clean Architecture, DDD |
frontend-nuxt |
Nuxt 4, TailwindCSS, SSR |
tma-expert |
Telegram Mini Apps |
telegram-mechanic |
Bot API, Webhooks, initData |
cli-architect |
Cobra, Viper, POSIX CLI |
tui-charm-expert |
BubbleTea, Lipgloss |
mcp-expert |
MCP servers (Go) |
ux-designer |
Design systems, tokens |
ui-implementor |
Tailwind, shadcn/ui |
qa-lead |
E2E, API, UI testing |
devops-sre |
Docker, CI/CD, deployments |
timeweb-sysadmin |
Timeweb Cloud, VPS |
project-bro |
Project awareness |
refactor-architect |
Codebase analysis, modular refactoring |
doc-janitor |
Document cleanup, lifecycle enforcement |
debugger |
Systematic 7-step bug investigation |
@skill-creator when: Creating a new skill@skill-creator after: Skill is scaffoldedtask_boundary when performing multi-step operationsnotify_user for user review checkpoints