antigravity-ai-kit 2.1.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/README.md +4 -4
- package/.agent/agents/README.md +16 -12
- package/.agent/agents/architect.md +1 -0
- package/.agent/agents/backend-specialist.md +11 -0
- package/.agent/agents/code-reviewer.md +1 -0
- package/.agent/agents/database-architect.md +11 -0
- package/.agent/agents/devops-engineer.md +11 -0
- package/.agent/agents/e2e-runner.md +1 -0
- package/.agent/agents/explorer-agent.md +11 -0
- package/.agent/agents/frontend-specialist.md +11 -0
- package/.agent/agents/mobile-developer.md +11 -0
- package/.agent/agents/performance-optimizer.md +11 -0
- package/.agent/agents/planner.md +1 -0
- package/.agent/agents/refactor-cleaner.md +1 -0
- package/.agent/agents/reliability-engineer.md +11 -0
- package/.agent/agents/security-reviewer.md +1 -0
- package/.agent/agents/sprint-orchestrator.md +10 -0
- package/.agent/agents/tdd-guide.md +1 -0
- package/.agent/commands/code-review.md +1 -0
- package/.agent/commands/debug.md +1 -0
- package/.agent/commands/deploy.md +1 -0
- package/.agent/commands/help.md +252 -31
- package/.agent/commands/plan.md +1 -0
- package/.agent/commands/status.md +1 -0
- package/.agent/commands/tdd.md +1 -0
- package/.agent/contexts/brainstorm.md +26 -0
- package/.agent/contexts/debug.md +28 -0
- package/.agent/contexts/implement.md +29 -0
- package/.agent/contexts/review.md +27 -0
- package/.agent/contexts/ship.md +28 -0
- package/.agent/engine/identity.json +13 -0
- package/.agent/engine/loading-rules.json +23 -1
- package/.agent/engine/marketplace-index.json +29 -0
- package/.agent/engine/reliability-config.json +14 -0
- package/.agent/engine/sdlc-map.json +44 -0
- package/.agent/engine/workflow-state.json +28 -2
- package/.agent/hooks/hooks.json +27 -25
- package/.agent/manifest.json +12 -4
- package/.agent/rules.md +2 -1
- package/.agent/skills/README.md +10 -5
- package/.agent/skills/i18n-localization/SKILL.md +191 -0
- package/.agent/skills/mcp-integration/SKILL.md +224 -0
- package/.agent/skills/parallel-agents/SKILL.md +1 -1
- package/.agent/skills/shell-conventions/SKILL.md +92 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +557 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +68 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +114 -0
- package/.agent/templates/adr-template.md +32 -0
- package/.agent/templates/bug-report.md +37 -0
- package/.agent/templates/feature-request.md +32 -0
- package/.agent/workflows/README.md +92 -78
- package/.agent/workflows/brainstorm.md +154 -100
- package/.agent/workflows/create.md +142 -75
- package/.agent/workflows/debug.md +157 -98
- package/.agent/workflows/deploy.md +195 -144
- package/.agent/workflows/enhance.md +157 -65
- package/.agent/workflows/orchestrate.md +171 -114
- package/.agent/workflows/plan.md +147 -72
- package/.agent/workflows/preview.md +140 -83
- package/.agent/workflows/quality-gate.md +196 -0
- package/.agent/workflows/retrospective.md +197 -0
- package/.agent/workflows/review.md +188 -0
- package/.agent/workflows/status.md +142 -91
- package/.agent/workflows/test.md +168 -95
- package/.agent/workflows/ui-ux-pro-max.md +181 -127
- package/README.md +215 -78
- package/bin/ag-kit.js +344 -10
- package/lib/agent-registry.js +214 -0
- package/lib/agent-reputation.js +351 -0
- package/lib/cli-commands.js +235 -0
- package/lib/conflict-detector.js +245 -0
- package/lib/engineering-manager.js +354 -0
- package/lib/error-budget.js +294 -0
- package/lib/hook-system.js +252 -0
- package/lib/identity.js +245 -0
- package/lib/loading-engine.js +208 -0
- package/lib/marketplace.js +298 -0
- package/lib/plugin-system.js +604 -0
- package/lib/security-scanner.js +309 -0
- package/lib/self-healing.js +434 -0
- package/lib/session-manager.js +261 -0
- package/lib/skill-sandbox.js +244 -0
- package/lib/task-governance.js +523 -0
- package/lib/task-model.js +317 -0
- package/lib/updater.js +201 -0
- package/lib/verify.js +240 -0
- package/lib/workflow-engine.js +353 -0
- package/lib/workflow-persistence.js +160 -0
- package/package.json +7 -3
package/.agent/README.md
CHANGED
|
@@ -24,10 +24,10 @@ This loads your session context and activates the orchestrator.
|
|
|
24
24
|
├── rules.md # Core governance & identity
|
|
25
25
|
├── session-state.json # Machine-readable state
|
|
26
26
|
│
|
|
27
|
-
├── agents/ #
|
|
28
|
-
├── commands/ #
|
|
29
|
-
├── skills/ #
|
|
30
|
-
├── workflows/ #
|
|
27
|
+
├── agents/ # 19 specialized agents
|
|
28
|
+
├── commands/ # 31 slash commands
|
|
29
|
+
├── skills/ # 31 capability extensions
|
|
30
|
+
├── workflows/ # 14 slash command workflows
|
|
31
31
|
├── hooks/ # Event-driven automation
|
|
32
32
|
├── rules/ # Modular governance
|
|
33
33
|
├── contexts/ # Mode switching
|
package/.agent/agents/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Antigravity AI Kit — Agents
|
|
2
2
|
|
|
3
3
|
> **Purpose**: Specialized sub-agents for task delegation
|
|
4
|
-
> **Count**:
|
|
4
|
+
> **Count**: 19 Core Agents
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -26,6 +26,8 @@ Agents are specialized personas that handle delegated tasks with focused experti
|
|
|
26
26
|
| 🔍 **Code Reviewer** | `code-reviewer.md` | Quality & security review |
|
|
27
27
|
| 🧪 **TDD Guide** | `tdd-guide.md` | Test-driven development |
|
|
28
28
|
| 🔧 **Build Error Resolver** | `build-error-resolver.md` | Rapid build fixes |
|
|
29
|
+
| 🖥️ **Backend Specialist** | `backend-specialist.md` | Node.js, NestJS, API design |
|
|
30
|
+
| 🎨 **Frontend Specialist** | `frontend-specialist.md` | React, Next.js, UI architecture |
|
|
29
31
|
|
|
30
32
|
### Quality & Security Agents
|
|
31
33
|
|
|
@@ -37,20 +39,22 @@ Agents are specialized personas that handle delegated tasks with focused experti
|
|
|
37
39
|
|
|
38
40
|
### Infrastructure Agents
|
|
39
41
|
|
|
40
|
-
| Agent
|
|
41
|
-
|
|
|
42
|
-
| 📱 **Mobile Developer**
|
|
43
|
-
| 🗄️ **Database Architect**
|
|
44
|
-
| 🚀 **DevOps Engineer**
|
|
42
|
+
| Agent | File | Purpose |
|
|
43
|
+
| :--------------------------- | :------------------------- | :---------------------------- |
|
|
44
|
+
| 📱 **Mobile Developer** | `mobile-developer.md` | React Native/Expo development |
|
|
45
|
+
| 🗄️ **Database Architect** | `database-architect.md` | Schema design, queries |
|
|
46
|
+
| 🚀 **DevOps Engineer** | `devops-engineer.md` | CI/CD, deployment |
|
|
47
|
+
| 🛡️ **Reliability Engineer** | `reliability-engineer.md` | SRE, production readiness |
|
|
45
48
|
|
|
46
49
|
### Maintenance & Discovery Agents
|
|
47
50
|
|
|
48
|
-
| Agent
|
|
49
|
-
|
|
|
50
|
-
| 🧹 **Refactor Cleaner**
|
|
51
|
-
| 📚 **Doc Updater**
|
|
52
|
-
| 🧠 **Knowledge Agent**
|
|
53
|
-
| 🔭 **Explorer Agent**
|
|
51
|
+
| Agent | File | Purpose |
|
|
52
|
+
| :------------------------- | :----------------------- | :-------------------------- |
|
|
53
|
+
| 🧹 **Refactor Cleaner** | `refactor-cleaner.md` | Dead code cleanup |
|
|
54
|
+
| 📚 **Doc Updater** | `doc-updater.md` | Documentation sync |
|
|
55
|
+
| 🧠 **Knowledge Agent** | `knowledge-agent.md` | RAG retrieval |
|
|
56
|
+
| 🔭 **Explorer Agent** | `explorer-agent.md` | Codebase discovery |
|
|
57
|
+
| 📊 **Sprint Orchestrator** | `sprint-orchestrator.md` | Sprint planning & velocity |
|
|
54
58
|
|
|
55
59
|
---
|
|
56
60
|
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: backend-specialist
|
|
3
|
+
description: "Node.js backend architecture, API design, middleware patterns specialist"
|
|
4
|
+
domain: backend
|
|
5
|
+
triggers: [backend, api, server, nodejs, nestjs, express, middleware]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: backend-code
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Backend Specialist Agent
|
|
2
13
|
|
|
3
14
|
> **Domain**: Node.js backend architecture, API design, middleware patterns, error handling, logging, service layer patterns
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: database-architect
|
|
3
|
+
description: "Database design, schema optimization, and query performance specialist"
|
|
4
|
+
domain: database
|
|
5
|
+
triggers: [database, sql, postgresql, schema, migration, query]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: schema-level
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Database Architect
|
|
2
13
|
|
|
3
14
|
> **Platform**: Antigravity AI Kit
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: devops-engineer
|
|
3
|
+
description: "CI/CD, deployment, infrastructure, and monitoring specialist"
|
|
4
|
+
domain: devops
|
|
5
|
+
triggers: [deploy, ci, cd, docker, kubernetes, pipeline]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: infrastructure
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# DevOps Engineer
|
|
2
13
|
|
|
3
14
|
> **Platform**: Antigravity AI Kit
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: explorer-agent
|
|
3
|
+
description: "Codebase discovery, architectural analysis, and onboarding specialist"
|
|
4
|
+
domain: discovery
|
|
5
|
+
triggers: [explore, discover, analyze, map, onboard]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: read-only
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Explorer Agent
|
|
2
13
|
|
|
3
14
|
> **Platform**: Antigravity AI Kit
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: frontend-specialist
|
|
3
|
+
description: "Frontend architecture, React/Next.js patterns, component design specialist"
|
|
4
|
+
domain: frontend
|
|
5
|
+
triggers: [frontend, component, css, react, nextjs, ui, ux]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: frontend-code
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Frontend Specialist Agent
|
|
2
13
|
|
|
3
14
|
> **Domain**: Frontend architecture, React/Next.js patterns, component design, CSS architecture, accessibility, responsive design
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mobile-developer
|
|
3
|
+
description: "React Native/Expo mobile development specialist"
|
|
4
|
+
domain: mobile
|
|
5
|
+
triggers: [mobile, react native, expo, ios, android]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: mobile-code
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Mobile Developer
|
|
2
13
|
|
|
3
14
|
> **Platform**: Antigravity AI Kit
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: performance-optimizer
|
|
3
|
+
description: "Performance profiling, Core Web Vitals, and optimization specialist"
|
|
4
|
+
domain: performance
|
|
5
|
+
triggers: [slow, optimize, speed, bundle, lighthouse, web vitals]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: performance-advisory
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Performance Optimizer
|
|
2
13
|
|
|
3
14
|
> **Platform**: Antigravity AI Kit
|
package/.agent/agents/planner.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: reliability-engineer
|
|
3
|
+
description: "Operational reliability, CI/CD health, and production readiness specialist"
|
|
4
|
+
domain: reliability
|
|
5
|
+
triggers: [reliability, uptime, monitoring, sre, sla, slo, incident]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: reliability-advisory
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
relatedWorkflows: [orchestrate]
|
|
10
|
+
---
|
|
11
|
+
|
|
1
12
|
# Reliability Engineer Agent
|
|
2
13
|
|
|
3
14
|
> **Domain**: Operational reliability, CI/CD health, dependency management, production readiness, error budgets, resilience patterns
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sprint-orchestrator
|
|
3
|
+
description: "Sprint planning, velocity tracking, and autonomous task prioritization specialist"
|
|
4
|
+
domain: planning
|
|
5
|
+
triggers: [sprint, velocity, backlog, milestone, retrospective, prioritize]
|
|
6
|
+
model: opus
|
|
7
|
+
authority: sprint-management
|
|
8
|
+
reports-to: alignment-engine
|
|
9
|
+
---
|
|
10
|
+
|
|
1
11
|
# Sprint Orchestrator Agent
|
|
2
12
|
|
|
3
13
|
> **Domain**: Sprint planning, velocity tracking, backlog management, retrospective analysis, autonomous task prioritization
|
package/.agent/commands/debug.md
CHANGED
package/.agent/commands/help.md
CHANGED
|
@@ -1,31 +1,252 @@
|
|
|
1
|
-
---
|
|
2
|
-
description:
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /help Command
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
/help #
|
|
13
|
-
/help
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/help
|
|
20
|
-
/help plan
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
---
|
|
2
|
+
description: Comprehensive reference for all Antigravity AI Kit capabilities
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# /help Command
|
|
6
|
+
|
|
7
|
+
Your complete guide to the Antigravity AI Kit. Type `/help` for a quick overview, or drill down into specific categories.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/help # Quick overview of all capabilities
|
|
13
|
+
/help commands # All 31 slash commands with descriptions
|
|
14
|
+
/help workflows # All 14 workflows with descriptions
|
|
15
|
+
/help agents # All 19 AI agents with domains
|
|
16
|
+
/help skills # All 31 skill modules
|
|
17
|
+
/help rules # Governance rules
|
|
18
|
+
/help checklists # Quality gate checklists
|
|
19
|
+
/help cli # Terminal CLI commands (ag-kit)
|
|
20
|
+
/help <command-name> # Detail on a specific command (e.g., /help plan)
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Quick Overview
|
|
26
|
+
|
|
27
|
+
**Antigravity AI Kit v3.0.0** — Trust-Grade AI Development Framework
|
|
28
|
+
|
|
29
|
+
| Category | Count | Description |
|
|
30
|
+
|:---------|:------|:------------|
|
|
31
|
+
| ⌨️ Commands | 31 | Slash commands for every development task |
|
|
32
|
+
| 🔄 Workflows | 14 | Multi-step development lifecycles |
|
|
33
|
+
| 🤖 Agents | 19 | Specialized AI roles for delegation |
|
|
34
|
+
| 🛠️ Skills | 31 | Domain knowledge modules |
|
|
35
|
+
| ⚖️ Rules | 4 | Immutable governance constraints |
|
|
36
|
+
| ✅ Checklists | 3 | Quality gate checklists |
|
|
37
|
+
| ⚙️ Runtime | 21 | Engine modules (governance, reputation, self-healing) |
|
|
38
|
+
|
|
39
|
+
### Getting Started
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/status → Check your session and project health
|
|
43
|
+
/plan → Create an implementation plan
|
|
44
|
+
/create → Build a new feature from scratch
|
|
45
|
+
/review → Run quality gates before committing
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Recommended Workflow
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
/brainstorm → /plan → /create → /test → /review → /deploy
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Commands (31)
|
|
57
|
+
|
|
58
|
+
### Core Workflow
|
|
59
|
+
|
|
60
|
+
| Command | Description |
|
|
61
|
+
|:--------|:------------|
|
|
62
|
+
| `/plan` | Create structured implementation plan with task breakdown |
|
|
63
|
+
| `/implement` | Execute an approved plan step by step |
|
|
64
|
+
| `/verify` | Run all quality gates (lint, types, tests, security, build) |
|
|
65
|
+
| `/status` | Check project health, session state, and capabilities |
|
|
66
|
+
|
|
67
|
+
### Feature Development
|
|
68
|
+
|
|
69
|
+
| Command | Description |
|
|
70
|
+
|:--------|:------------|
|
|
71
|
+
| `/build` | Build a new feature from scratch |
|
|
72
|
+
| `/fix` | Fix linting, type, or build errors |
|
|
73
|
+
| `/debug` | Systematic debugging with hypothesis tracking |
|
|
74
|
+
| `/refactor` | Improve code quality without changing behavior |
|
|
75
|
+
| `/cook` | Full scratch-to-done workflow (plan → build → test → review) |
|
|
76
|
+
| `/design` | UI/UX design specifications and mockups |
|
|
77
|
+
|
|
78
|
+
### Testing & Quality
|
|
79
|
+
|
|
80
|
+
| Command | Description |
|
|
81
|
+
|:--------|:------------|
|
|
82
|
+
| `/tdd` | Test-driven development — write tests first, then implement |
|
|
83
|
+
| `/code-review` | Comprehensive code review with security analysis |
|
|
84
|
+
| `/security-scan` | Security audit and vulnerability scan |
|
|
85
|
+
| `/perf` | Performance analysis and optimization |
|
|
86
|
+
| `/eval` | Evaluate metrics and measure quality |
|
|
87
|
+
|
|
88
|
+
### Documentation & Git
|
|
89
|
+
|
|
90
|
+
| Command | Description |
|
|
91
|
+
|:--------|:------------|
|
|
92
|
+
| `/doc` | Generate or update documentation |
|
|
93
|
+
| `/adr` | Create Architecture Decision Record |
|
|
94
|
+
| `/changelog` | Generate changelog from commits |
|
|
95
|
+
| `/git` | Git operations with best practices |
|
|
96
|
+
| `/pr` | Create or manage pull requests |
|
|
97
|
+
| `/checkpoint` | Save progress checkpoint for session continuity |
|
|
98
|
+
|
|
99
|
+
### Exploration & Research
|
|
100
|
+
|
|
101
|
+
| Command | Description |
|
|
102
|
+
|:--------|:------------|
|
|
103
|
+
| `/scout` | Explore and understand an unfamiliar codebase |
|
|
104
|
+
| `/research` | Research technologies, libraries, or solutions |
|
|
105
|
+
| `/ask` | Ask questions about code, architecture, or patterns |
|
|
106
|
+
|
|
107
|
+
### Infrastructure & Integration
|
|
108
|
+
|
|
109
|
+
| Command | Description |
|
|
110
|
+
|:--------|:------------|
|
|
111
|
+
| `/integrate` | Third-party service integration |
|
|
112
|
+
| `/db` | Database schema design and migrations |
|
|
113
|
+
| `/deploy` | Deploy to target environment with pre-flight checks |
|
|
114
|
+
| `/setup` | Configure a new project with Antigravity AI Kit |
|
|
115
|
+
|
|
116
|
+
### Context Management
|
|
117
|
+
|
|
118
|
+
| Command | Description |
|
|
119
|
+
|:--------|:------------|
|
|
120
|
+
| `/learn` | Extract reusable patterns from current session (PAAL cycle) |
|
|
121
|
+
| `/compact` | Compress context window for long sessions |
|
|
122
|
+
| `/help` | This reference — show available capabilities |
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Workflows (14)
|
|
127
|
+
|
|
128
|
+
Workflows are multi-step development lifecycles. Use them with the `/` prefix.
|
|
129
|
+
|
|
130
|
+
| Workflow | Description | Key Steps |
|
|
131
|
+
|:---------|:------------|:----------|
|
|
132
|
+
| `/brainstorm` | Structured ideation and discovery | Socratic questioning → options → decision |
|
|
133
|
+
| `/create` | Build new features from scratch | Scaffold → implement → test → review |
|
|
134
|
+
| `/debug` | Systematic debugging | Reproduce → hypothesize → verify → fix |
|
|
135
|
+
| `/deploy` | Production deployment | Pre-flight → execute → verify → monitor |
|
|
136
|
+
| `/enhance` | Iterative feature improvement | Analyze → plan → implement → validate |
|
|
137
|
+
| `/orchestrate` | Multi-agent task coordination | Decompose → delegate → merge → verify |
|
|
138
|
+
| `/plan` | Implementation planning | Research → design → breakdown → verify |
|
|
139
|
+
| `/preview` | Local dev server management | Start → verify → iterate → stop |
|
|
140
|
+
| `/quality-gate` | Pre-task validation protocol | Market research → gap analysis → ethics review |
|
|
141
|
+
| `/retrospective` | Sprint audit and review | Metrics → findings → action items |
|
|
142
|
+
| `/review` | Quality gate pipeline | Lint → types → tests → security → build |
|
|
143
|
+
| `/status` | Project state overview | Session → git → health → capabilities |
|
|
144
|
+
| `/test` | Systematic test writing | Strategy → write → run → coverage |
|
|
145
|
+
| `/ui-ux-pro-max` | Premium UI/UX design | Style → palette → typography → implement |
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Agents (19)
|
|
150
|
+
|
|
151
|
+
Agents are specialized AI roles. They are automatically activated based on task context, or you can request a specific agent.
|
|
152
|
+
|
|
153
|
+
| Agent | Domain |
|
|
154
|
+
|:------|:-------|
|
|
155
|
+
| `architect` | System design, DDD, Hexagonal Architecture |
|
|
156
|
+
| `backend-specialist` | Node.js, NestJS, API design |
|
|
157
|
+
| `build-error-resolver` | Rapid build/compile error fixes |
|
|
158
|
+
| `code-reviewer` | Quality + security code review |
|
|
159
|
+
| `database-architect` | Schema design, queries, optimization |
|
|
160
|
+
| `devops-engineer` | CI/CD, Docker, deployment pipelines |
|
|
161
|
+
| `doc-updater` | Documentation synchronization |
|
|
162
|
+
| `e2e-runner` | End-to-end test execution |
|
|
163
|
+
| `explorer-agent` | Codebase discovery and mapping |
|
|
164
|
+
| `frontend-specialist` | React, Next.js, UI architecture |
|
|
165
|
+
| `knowledge-agent` | RAG retrieval and context lookup |
|
|
166
|
+
| `mobile-developer` | React Native, Expo mobile development |
|
|
167
|
+
| `performance-optimizer` | Core Web Vitals, profiling, optimization |
|
|
168
|
+
| `planner` | Task breakdown, Socratic analysis |
|
|
169
|
+
| `refactor-cleaner` | Dead code cleanup, code improvement |
|
|
170
|
+
| `reliability-engineer` | SRE, production readiness, SLA monitoring |
|
|
171
|
+
| `security-reviewer` | Vulnerability analysis, OWASP compliance |
|
|
172
|
+
| `sprint-orchestrator` | Sprint planning, velocity tracking |
|
|
173
|
+
| `tdd-guide` | Test-first development enforcement |
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## Skills (31)
|
|
178
|
+
|
|
179
|
+
Skills are domain knowledge modules that agents use. They are loaded automatically based on task context.
|
|
180
|
+
|
|
181
|
+
| Category | Skills |
|
|
182
|
+
|:---------|:-------|
|
|
183
|
+
| **Architecture** | `architecture`, `api-patterns`, `clean-code`, `database-design`, `docker-patterns` |
|
|
184
|
+
| **Frontend** | `frontend-patterns`, `ui-ux-pro-max`, `mobile-design`, `i18n-localization` |
|
|
185
|
+
| **Backend** | `nodejs-patterns`, `typescript-expert`, `security-practices` |
|
|
186
|
+
| **Testing** | `testing-patterns`, `webapp-testing`, `eval-harness` |
|
|
187
|
+
| **DevOps** | `deployment-procedures`, `git-workflow`, `shell-conventions` |
|
|
188
|
+
| **AI & Orchestration** | `intelligent-routing`, `parallel-agents`, `mcp-integration`, `context-budget`, `behavioral-modes` |
|
|
189
|
+
| **Planning** | `brainstorming`, `plan-writing`, `strategic-compact`, `continuous-learning` |
|
|
190
|
+
| **Performance** | `performance-profiling` |
|
|
191
|
+
| **Scaffolding** | `app-builder` |
|
|
192
|
+
| **Debugging** | `debugging-strategies` |
|
|
193
|
+
| **Verification** | `verification-loop` |
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## Rules (4)
|
|
198
|
+
|
|
199
|
+
Rules are immutable governance constraints that all agents must follow.
|
|
200
|
+
|
|
201
|
+
| Rule | Purpose |
|
|
202
|
+
|:-----|:--------|
|
|
203
|
+
| `coding-style` | Naming conventions, file limits, type safety |
|
|
204
|
+
| `git-workflow` | Conventional commits, atomic changes, branch strategy |
|
|
205
|
+
| `security` | Secret management, input validation, OWASP |
|
|
206
|
+
| `testing` | Test-first, coverage targets, test naming |
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Checklists (3)
|
|
211
|
+
|
|
212
|
+
Checklists are quality gates run at specific lifecycle moments.
|
|
213
|
+
|
|
214
|
+
| Checklist | When | Key Checks |
|
|
215
|
+
|:----------|:-----|:-----------|
|
|
216
|
+
| `session-start` | Beginning of each session | Read context, verify git, check dependencies |
|
|
217
|
+
| `session-end` | End of each session | Update ROADMAP, CHANGELOG, commit tracking files |
|
|
218
|
+
| `pre-commit` | Before git commit | Tests pass, lint clean, no secrets, build succeeds |
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
## CLI Commands (ag-kit)
|
|
223
|
+
|
|
224
|
+
Terminal commands available after installing the kit:
|
|
225
|
+
|
|
226
|
+
| Command | Description |
|
|
227
|
+
|:--------|:------------|
|
|
228
|
+
| `ag-kit init` | Install .agent/ into your project |
|
|
229
|
+
| `ag-kit status` | Show project health dashboard |
|
|
230
|
+
| `ag-kit verify` | Run manifest integrity checks (90 checks) |
|
|
231
|
+
| `ag-kit scan` | Enhanced security scanning |
|
|
232
|
+
| `ag-kit update` | Update to latest version (diff-based, preserves customizations) |
|
|
233
|
+
| `ag-kit heal` | Detect and diagnose CI failures |
|
|
234
|
+
| `ag-kit plugin list` | List installed plugins |
|
|
235
|
+
| `ag-kit plugin install <path>` | Install a plugin |
|
|
236
|
+
| `ag-kit plugin remove <name>` | Remove a plugin |
|
|
237
|
+
| `ag-kit market search <query>` | Search marketplace plugins |
|
|
238
|
+
| `ag-kit market info <name>` | Get marketplace plugin details |
|
|
239
|
+
| `ag-kit market install <name>` | Install from marketplace |
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Quick Reference Card
|
|
244
|
+
|
|
245
|
+
```
|
|
246
|
+
Start here: /status → /plan → /create → /review
|
|
247
|
+
Debug issues: /debug → /fix → /verify
|
|
248
|
+
Write tests: /tdd → /test → /verify
|
|
249
|
+
Deploy: /review → /deploy
|
|
250
|
+
Learn more: /help <topic>
|
|
251
|
+
Terminal: ag-kit verify | ag-kit scan | ag-kit status
|
|
252
|
+
```
|
package/.agent/commands/plan.md
CHANGED
package/.agent/commands/tdd.md
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: brainstorm
|
|
3
|
+
description: "Ideas-only exploration mode — Socratic discovery without implementation"
|
|
4
|
+
constraints: [no-code, no-modifications, socratic-only]
|
|
5
|
+
agent-focus: [planner, explorer-agent]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Brainstorm Mode Context
|
|
9
|
+
|
|
10
|
+
## Behavioral Rules
|
|
11
|
+
|
|
12
|
+
- Generate ideas and alternatives only — never write code
|
|
13
|
+
- Ask Socratic questions to clarify requirements
|
|
14
|
+
- Present minimum 3 options for every decision point
|
|
15
|
+
- Support each option with evidence or industry precedent
|
|
16
|
+
- Never commit to a single approach without user confirmation
|
|
17
|
+
|
|
18
|
+
## Loaded Skills
|
|
19
|
+
|
|
20
|
+
- `brainstorming` — Socratic discovery protocol
|
|
21
|
+
|
|
22
|
+
## Exit Criteria
|
|
23
|
+
|
|
24
|
+
- Requirements are clarified with concrete acceptance criteria
|
|
25
|
+
- At least 3 viable approaches documented with trade-offs
|
|
26
|
+
- User selects preferred approach for planning phase
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
mode: debug
|
|
3
|
+
description: "Systematic investigation mode — minimal changes, preserve evidence"
|
|
4
|
+
constraints: [evidence-first, minimal-changes, root-cause-required]
|
|
5
|
+
agent-focus: [build-error-resolver, tdd-guide]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Debug Mode Context
|
|
9
|
+
|
|
10
|
+
## Behavioral Rules
|
|
11
|
+
|
|
12
|
+
- Identify root cause before applying any fix
|
|
13
|
+
- Preserve all evidence (logs, stack traces, reproduction steps)
|
|
14
|
+
- Make minimal, surgical changes — one fix per iteration
|
|
15
|
+
- Always verify the fix resolves the original issue
|
|
16
|
+
- Add regression tests to prevent recurrence
|
|
17
|
+
|
|
18
|
+
## Loaded Skills
|
|
19
|
+
|
|
20
|
+
- `debugging-strategies` — Systematic hypothesis testing
|
|
21
|
+
- `testing-patterns` — Regression test creation
|
|
22
|
+
|
|
23
|
+
## Exit Criteria
|
|
24
|
+
|
|
25
|
+
- Root cause identified and documented
|
|
26
|
+
- Fix applied with minimal code changes
|
|
27
|
+
- Regression test added and passing
|
|
28
|
+
- No new issues introduced (full test suite passes)
|