antigravity-ai-kit 2.1.0

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.
Files changed (116) hide show
  1. package/.agent/README.md +76 -0
  2. package/.agent/agents/README.md +129 -0
  3. package/.agent/agents/architect.md +184 -0
  4. package/.agent/agents/backend-specialist.md +77 -0
  5. package/.agent/agents/build-error-resolver.md +93 -0
  6. package/.agent/agents/code-reviewer.md +161 -0
  7. package/.agent/agents/database-architect.md +119 -0
  8. package/.agent/agents/devops-engineer.md +138 -0
  9. package/.agent/agents/doc-updater.md +79 -0
  10. package/.agent/agents/e2e-runner.md +110 -0
  11. package/.agent/agents/explorer-agent.md +135 -0
  12. package/.agent/agents/frontend-specialist.md +68 -0
  13. package/.agent/agents/knowledge-agent.md +83 -0
  14. package/.agent/agents/mobile-developer.md +114 -0
  15. package/.agent/agents/performance-optimizer.md +145 -0
  16. package/.agent/agents/planner.md +190 -0
  17. package/.agent/agents/refactor-cleaner.md +92 -0
  18. package/.agent/agents/reliability-engineer.md +98 -0
  19. package/.agent/agents/security-reviewer.md +145 -0
  20. package/.agent/agents/sprint-orchestrator.md +114 -0
  21. package/.agent/agents/tdd-guide.md +178 -0
  22. package/.agent/checklists/README.md +101 -0
  23. package/.agent/checklists/pre-commit.md +93 -0
  24. package/.agent/checklists/session-end.md +84 -0
  25. package/.agent/checklists/session-start.md +86 -0
  26. package/.agent/commands/README.md +119 -0
  27. package/.agent/commands/adr.md +29 -0
  28. package/.agent/commands/ask.md +28 -0
  29. package/.agent/commands/build.md +30 -0
  30. package/.agent/commands/changelog.md +40 -0
  31. package/.agent/commands/checkpoint.md +28 -0
  32. package/.agent/commands/code-review.md +64 -0
  33. package/.agent/commands/compact.md +28 -0
  34. package/.agent/commands/cook.md +30 -0
  35. package/.agent/commands/db.md +30 -0
  36. package/.agent/commands/debug.md +30 -0
  37. package/.agent/commands/deploy.md +36 -0
  38. package/.agent/commands/design.md +29 -0
  39. package/.agent/commands/doc.md +30 -0
  40. package/.agent/commands/eval.md +30 -0
  41. package/.agent/commands/fix.md +32 -0
  42. package/.agent/commands/git.md +32 -0
  43. package/.agent/commands/help.md +31 -0
  44. package/.agent/commands/implement.md +30 -0
  45. package/.agent/commands/integrate.md +32 -0
  46. package/.agent/commands/learn.md +29 -0
  47. package/.agent/commands/perf.md +31 -0
  48. package/.agent/commands/plan.md +55 -0
  49. package/.agent/commands/pr.md +30 -0
  50. package/.agent/commands/refactor.md +32 -0
  51. package/.agent/commands/research.md +28 -0
  52. package/.agent/commands/scout.md +30 -0
  53. package/.agent/commands/security-scan.md +33 -0
  54. package/.agent/commands/setup.md +31 -0
  55. package/.agent/commands/status.md +58 -0
  56. package/.agent/commands/tdd.md +72 -0
  57. package/.agent/commands/verify.md +58 -0
  58. package/.agent/decisions/001-trust-grade-governance.md +46 -0
  59. package/.agent/engine/loading-rules.json +98 -0
  60. package/.agent/engine/workflow-state.json +120 -0
  61. package/.agent/hooks/README.md +97 -0
  62. package/.agent/hooks/hooks.json +81 -0
  63. package/.agent/hooks/templates/session-end.md +110 -0
  64. package/.agent/hooks/templates/session-start.md +95 -0
  65. package/.agent/manifest.json +84 -0
  66. package/.agent/rules/coding-style.md +30 -0
  67. package/.agent/rules/git-workflow.md +45 -0
  68. package/.agent/rules/security.md +29 -0
  69. package/.agent/rules/testing.md +37 -0
  70. package/.agent/rules.md +272 -0
  71. package/.agent/session-context.md +80 -0
  72. package/.agent/session-state.json +27 -0
  73. package/.agent/skills/README.md +127 -0
  74. package/.agent/skills/api-patterns/SKILL.md +117 -0
  75. package/.agent/skills/app-builder/SKILL.md +202 -0
  76. package/.agent/skills/architecture/SKILL.md +109 -0
  77. package/.agent/skills/behavioral-modes/SKILL.md +295 -0
  78. package/.agent/skills/brainstorming/SKILL.md +156 -0
  79. package/.agent/skills/clean-code/SKILL.md +142 -0
  80. package/.agent/skills/context-budget/SKILL.md +78 -0
  81. package/.agent/skills/continuous-learning/SKILL.md +86 -0
  82. package/.agent/skills/database-design/SKILL.md +149 -0
  83. package/.agent/skills/debugging-strategies/SKILL.md +158 -0
  84. package/.agent/skills/deployment-procedures/SKILL.md +191 -0
  85. package/.agent/skills/docker-patterns/SKILL.md +161 -0
  86. package/.agent/skills/eval-harness/SKILL.md +89 -0
  87. package/.agent/skills/frontend-patterns/SKILL.md +141 -0
  88. package/.agent/skills/git-workflow/SKILL.md +159 -0
  89. package/.agent/skills/intelligent-routing/SKILL.md +180 -0
  90. package/.agent/skills/mobile-design/SKILL.md +191 -0
  91. package/.agent/skills/nodejs-patterns/SKILL.md +164 -0
  92. package/.agent/skills/parallel-agents/SKILL.md +200 -0
  93. package/.agent/skills/performance-profiling/SKILL.md +134 -0
  94. package/.agent/skills/plan-writing/SKILL.md +144 -0
  95. package/.agent/skills/security-practices/SKILL.md +140 -0
  96. package/.agent/skills/strategic-compact/SKILL.md +62 -0
  97. package/.agent/skills/testing-patterns/SKILL.md +141 -0
  98. package/.agent/skills/typescript-expert/SKILL.md +160 -0
  99. package/.agent/skills/verification-loop/SKILL.md +89 -0
  100. package/.agent/skills/webapp-testing/SKILL.md +175 -0
  101. package/.agent/workflows/README.md +78 -0
  102. package/.agent/workflows/brainstorm.md +100 -0
  103. package/.agent/workflows/create.md +75 -0
  104. package/.agent/workflows/debug.md +98 -0
  105. package/.agent/workflows/deploy.md +144 -0
  106. package/.agent/workflows/enhance.md +65 -0
  107. package/.agent/workflows/orchestrate.md +114 -0
  108. package/.agent/workflows/plan.md +72 -0
  109. package/.agent/workflows/preview.md +83 -0
  110. package/.agent/workflows/status.md +91 -0
  111. package/.agent/workflows/test.md +95 -0
  112. package/.agent/workflows/ui-ux-pro-max.md +127 -0
  113. package/LICENSE +21 -0
  114. package/README.md +585 -0
  115. package/bin/ag-kit.js +249 -0
  116. package/package.json +48 -0
@@ -0,0 +1,175 @@
1
+ ---
2
+ name: webapp-testing
3
+ description: Web application testing principles. E2E, Playwright, component testing, and deep audit strategies.
4
+ version: 1.0.0
5
+ allowed-tools: Read, Write, Edit, Glob, Grep, Bash
6
+ ---
7
+
8
+ # Web App Testing
9
+
10
+ > Discover and test everything. Leave no route untested.
11
+
12
+ ---
13
+
14
+ ## 1. Deep Audit Approach
15
+
16
+ ### Discovery First
17
+
18
+ | Target | How to Find |
19
+ | ------------- | ------------------------------- |
20
+ | Routes | Scan app/, pages/, router files |
21
+ | API endpoints | Grep for HTTP methods |
22
+ | Components | Find component directories |
23
+ | Features | Read documentation |
24
+
25
+ ### Systematic Testing
26
+
27
+ 1. **Map** - List all routes/APIs
28
+ 2. **Scan** - Verify they respond
29
+ 3. **Test** - Cover critical paths
30
+
31
+ ---
32
+
33
+ ## 2. Testing Pyramid
34
+
35
+ ```
36
+ /\ E2E (Few)
37
+ / \ Critical user flows
38
+ /----\
39
+ / \ Integration (Some)
40
+ /--------\ API, data flow
41
+ / \
42
+ /------------\ Unit/Component (Many)
43
+ Individual pieces
44
+ ```
45
+
46
+ ---
47
+
48
+ ## 3. E2E Test Principles
49
+
50
+ ### What to Test
51
+
52
+ | Priority | Tests |
53
+ | -------- | ------------------------- |
54
+ | 1 | Happy path user flows |
55
+ | 2 | Authentication flows |
56
+ | 3 | Critical business actions |
57
+ | 4 | Error handling |
58
+
59
+ ### Best Practices
60
+
61
+ | Practice | Why |
62
+ | ------------------ | ------------------ |
63
+ | Use data-testid | Stable selectors |
64
+ | Wait for elements | Avoid flaky tests |
65
+ | Clean state | Independent tests |
66
+ | Avoid impl details | Test user behavior |
67
+
68
+ ---
69
+
70
+ ## 4. Playwright Configuration
71
+
72
+ ### Recommended Settings
73
+
74
+ | Setting | Recommendation |
75
+ | ----------- | ----------------- |
76
+ | Retries | 2 on CI |
77
+ | Trace | on-first-retry |
78
+ | Screenshots | on-failure |
79
+ | Video | retain-on-failure |
80
+
81
+ ### Core Concepts
82
+
83
+ | Concept | Use |
84
+ | ----------------- | ---------------------- |
85
+ | Page Object Model | Encapsulate page logic |
86
+ | Fixtures | Reusable test setup |
87
+ | Assertions | Built-in auto-wait |
88
+ | Trace Viewer | Debug failures |
89
+
90
+ ---
91
+
92
+ ## 5. Test Organization
93
+
94
+ ### File Structure
95
+
96
+ ```
97
+ tests/
98
+ ├── e2e/ # Full user flows
99
+ ├── integration/ # API, data
100
+ ├── component/ # UI units
101
+ └── fixtures/ # Shared data
102
+ ```
103
+
104
+ ### Naming Convention
105
+
106
+ | Pattern | Example |
107
+ | ------------- | --------------------------- |
108
+ | Feature-based | `login.spec.ts` |
109
+ | Descriptive | `user-can-checkout.spec.ts` |
110
+
111
+ ---
112
+
113
+ ## 6. API Testing
114
+
115
+ ### Coverage Areas
116
+
117
+ | Area | Tests |
118
+ | -------------- | --------------------------- |
119
+ | Status codes | 200, 400, 404, 500 |
120
+ | Response shape | Matches schema |
121
+ | Error messages | User-friendly |
122
+ | Edge cases | Empty, large, special chars |
123
+
124
+ ---
125
+
126
+ ## 7. CI Integration
127
+
128
+ ### Pipeline Steps
129
+
130
+ 1. Install dependencies
131
+ 2. Install browsers (`npx playwright install`)
132
+ 3. Run tests
133
+ 4. Upload artifacts (traces, screenshots)
134
+
135
+ ### Parallelization
136
+
137
+ | Strategy | Use |
138
+ | -------- | ------------------ |
139
+ | Per file | Playwright default |
140
+ | Sharding | Large suites |
141
+ | Workers | Multiple browsers |
142
+
143
+ ---
144
+
145
+ ## 8. Anti-Patterns
146
+
147
+ | ❌ Don't | ✅ Do |
148
+ | ------------------- | -------------- |
149
+ | Test implementation | Test behavior |
150
+ | Hardcode waits | Use auto-wait |
151
+ | Skip cleanup | Isolate tests |
152
+ | Ignore flaky tests | Fix root cause |
153
+
154
+ ---
155
+
156
+ ## 9. BeSync Testing Standards
157
+
158
+ ### Required Coverage
159
+
160
+ | Vertical | Minimum Coverage |
161
+ | ------------- | ---------------- |
162
+ | Auth | 90%+ |
163
+ | Payment | 95%+ |
164
+ | Core Features | 80%+ |
165
+
166
+ ### Test Types Required
167
+
168
+ - [ ] Unit tests (Jest/Vitest)
169
+ - [ ] Integration tests (Supertest)
170
+ - [ ] E2E tests (Playwright)
171
+ - [ ] Visual regression (optional)
172
+
173
+ ---
174
+
175
+ > **Remember:** E2E tests are expensive. Use them for critical paths only.
@@ -0,0 +1,78 @@
1
+ # Antigravity AI Kit — Workflows
2
+
3
+ > **Purpose**: Process templates for common development tasks
4
+ > **Count**: 11 Workflows
5
+
6
+ ---
7
+
8
+ ## Overview
9
+
10
+ Workflows are structured process templates that guide you through complex tasks. Invoke them using slash commands.
11
+
12
+ ---
13
+
14
+ ## Available Workflows
15
+
16
+ | Workflow | Command | Description |
17
+ | :---------------- | :--------------- | :-------------------------------------------- |
18
+ | **brainstorm** | `/brainstorm` | Creative ideation and problem exploration |
19
+ | **create** | `/create` | Scaffold new features, components, or modules |
20
+ | **debug** | `/debug` | Systematic debugging process |
21
+ | **deploy** | `/deploy` | Deployment workflow with verification |
22
+ | **enhance** | `/enhance` | Improve existing code quality |
23
+ | **orchestrate** | `/orchestrate` | Multi-agent coordination |
24
+ | **plan** | `/plan` | Create implementation plans |
25
+ | **preview** | `/preview` | Preview changes before committing |
26
+ | **status** | `/status` | Check project status |
27
+ | **test** | `/test` | Systematic test writing |
28
+ | **ui-ux-pro-max** | `/ui-ux-pro-max` | Premium UI/UX design |
29
+
30
+ ---
31
+
32
+ ## Workflow Format
33
+
34
+ ```markdown
35
+ ---
36
+ description: What this workflow does
37
+ ---
38
+
39
+ # /workflow-name Workflow
40
+
41
+ > **Purpose**: Brief description
42
+
43
+ ---
44
+
45
+ ## Workflow Steps
46
+
47
+ ### 1. Step Name
48
+
49
+ Description and actions...
50
+
51
+ ### 2. Step Name
52
+
53
+ Description and actions...
54
+
55
+ ---
56
+
57
+ ## Checklist
58
+
59
+ - [ ] Task 1
60
+ - [ ] Task 2
61
+
62
+ ---
63
+
64
+ ## Examples
65
+
66
+ \`\`\`
67
+ /workflow-name example usage
68
+ \`\`\`
69
+ ```
70
+
71
+ ---
72
+
73
+ ## Creating Custom Workflows
74
+
75
+ 1. Create `workflows/my-workflow.md`
76
+ 2. Add frontmatter with `description`
77
+ 3. Define workflow steps
78
+ 4. Include checklist and examples
@@ -0,0 +1,100 @@
1
+ ---
2
+ description: Structured brainstorming. Explore options before committing to implementation.
3
+ ---
4
+
5
+ # /brainstorm - Structured Idea Exploration
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
10
+
11
+ ## Purpose
12
+
13
+ Activates BRAINSTORM mode for exploring options before implementation. No code — ideas only.
14
+
15
+ ---
16
+
17
+ ## Behavior
18
+
19
+ 1. **Understand the Goal**
20
+ - What problem are we solving?
21
+ - Who is the user?
22
+ - What constraints exist?
23
+
24
+ 2. **Generate Options**
25
+ - Provide at least 3 approaches
26
+ - Each with pros and cons
27
+ - Consider unconventional solutions
28
+
29
+ 3. **Compare and Recommend**
30
+ - Summarize tradeoffs
31
+ - Give recommendation with reasoning
32
+
33
+ ---
34
+
35
+ ## Output Format
36
+
37
+ ```markdown
38
+ ## 🧠 Brainstorm: [Topic]
39
+
40
+ ### Context
41
+
42
+ [Brief problem statement]
43
+
44
+ ---
45
+
46
+ ### Option A: [Name]
47
+
48
+ [Description]
49
+
50
+ ✅ **Pros:**
51
+
52
+ - [benefit 1]
53
+ - [benefit 2]
54
+
55
+ ❌ **Cons:**
56
+
57
+ - [drawback 1]
58
+
59
+ 📊 **Effort:** Low | Medium | High
60
+
61
+ ---
62
+
63
+ ### Option B: [Name]
64
+
65
+ [Similar format]
66
+
67
+ ---
68
+
69
+ ### Option C: [Name]
70
+
71
+ [Similar format]
72
+
73
+ ---
74
+
75
+ ## 💡 Recommendation
76
+
77
+ **Option [X]** because [reasoning].
78
+
79
+ What direction would you like to explore?
80
+ ```
81
+
82
+ ---
83
+
84
+ ## Examples
85
+
86
+ ```
87
+ /brainstorm authentication system
88
+ /brainstorm state management for complex form
89
+ /brainstorm database schema for social app
90
+ /brainstorm caching strategy
91
+ ```
92
+
93
+ ---
94
+
95
+ ## Key Principles
96
+
97
+ - **No code** — ideas only
98
+ - **Visual when helpful** — use diagrams for architecture
99
+ - **Honest tradeoffs** — don't hide complexity
100
+ - **Defer to user** — present options, let them decide
@@ -0,0 +1,75 @@
1
+ ---
2
+ description: Create new features, components, or modules from scratch
3
+ ---
4
+
5
+ # /create Workflow
6
+
7
+ > **Purpose**: Scaffold new features, components, or modules with best practices
8
+
9
+ ---
10
+
11
+ ## Workflow Steps
12
+
13
+ ### 1. Clarify Requirements
14
+
15
+ - What type of component/feature?
16
+ - What framework/technology?
17
+ - Any specific patterns to follow?
18
+
19
+ ### 2. Check Existing Patterns
20
+
21
+ - Look for similar components in codebase
22
+ - Identify established conventions
23
+ - Reuse existing utilities and helpers
24
+
25
+ ### 3. Scaffold Structure
26
+
27
+ ```
28
+ feature/
29
+ ├── components/ # UI components
30
+ ├── hooks/ # Custom hooks
31
+ ├── utils/ # Utility functions
32
+ ├── types/ # TypeScript types
33
+ ├── api/ # API calls
34
+ ├── __tests__/ # Tests
35
+ └── index.ts # Public exports
36
+ ```
37
+
38
+ ### 4. Implement Core Logic
39
+
40
+ - Follow existing code patterns
41
+ - Apply SOLID principles
42
+ - Write self-documenting code
43
+
44
+ ### 5. Add Tests
45
+
46
+ - Unit tests for utilities
47
+ - Integration tests for components
48
+ - E2E tests for critical flows
49
+
50
+ ### 6. Document
51
+
52
+ - Add JSDoc comments
53
+ - Update README if needed
54
+ - Create usage examples
55
+
56
+ ---
57
+
58
+ ## Checklist
59
+
60
+ - [ ] Requirements clarified
61
+ - [ ] Existing patterns reviewed
62
+ - [ ] Structure scaffolded
63
+ - [ ] Core logic implemented
64
+ - [ ] Tests written
65
+ - [ ] Documentation added
66
+
67
+ ---
68
+
69
+ ## Examples
70
+
71
+ ```
72
+ /create React component for user profile card
73
+ /create NestJS module for authentication
74
+ /create API endpoint for order processing
75
+ ```
@@ -0,0 +1,98 @@
1
+ ---
2
+ description: Systematic debugging workflow. Activates DEBUG mode for problem investigation.
3
+ ---
4
+
5
+ # /debug - Systematic Problem Investigation
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
10
+
11
+ ## Purpose
12
+
13
+ Activates DEBUG mode for systematic investigation of issues, errors, or unexpected behavior.
14
+
15
+ ---
16
+
17
+ ## Behavior
18
+
19
+ 1. **Gather Information**
20
+ - Error message
21
+ - Reproduction steps
22
+ - Expected vs actual behavior
23
+ - Recent changes
24
+
25
+ 2. **Form Hypotheses**
26
+ - List possible causes
27
+ - Order by likelihood
28
+
29
+ 3. **Investigate Systematically**
30
+ - Test each hypothesis
31
+ - Check logs, data flow
32
+ - Use elimination method
33
+
34
+ 4. **Fix and Prevent**
35
+ - Apply fix
36
+ - Explain root cause
37
+ - Add prevention measures
38
+
39
+ ---
40
+
41
+ ## Output Format
42
+
43
+ ```markdown
44
+ ## 🔍 Debug: [Issue]
45
+
46
+ ### 1. Symptom
47
+
48
+ [What's happening]
49
+
50
+ ### 2. Information Gathered
51
+
52
+ - Error: `[error message]`
53
+ - File: `[filepath]`
54
+ - Line: [line number]
55
+
56
+ ### 3. Hypotheses
57
+
58
+ 1. ❓ [Most likely cause]
59
+ 2. ❓ [Second possibility]
60
+ 3. ❓ [Less likely cause]
61
+
62
+ ### 4. Investigation
63
+
64
+ **Testing hypothesis 1:**
65
+ [What I checked] → [Result]
66
+
67
+ ### 5. Root Cause
68
+
69
+ 🎯 **[Explanation]**
70
+
71
+ ### 6. Fix
72
+
73
+ [Code changes]
74
+
75
+ ### 7. Prevention
76
+
77
+ 🛡️ [How to prevent in future]
78
+ ```
79
+
80
+ ---
81
+
82
+ ## Examples
83
+
84
+ ```
85
+ /debug login not working
86
+ /debug API returns 500
87
+ /debug form doesn't submit
88
+ /debug data not saving
89
+ ```
90
+
91
+ ---
92
+
93
+ ## Key Principles
94
+
95
+ - **Ask before assuming** — get full error context
96
+ - **Test hypotheses** — don't guess randomly
97
+ - **Explain why** — not just what to fix
98
+ - **Prevent recurrence** — add tests, validation
@@ -0,0 +1,144 @@
1
+ ---
2
+ description: Production deployment with pre-flight checks, execution, and verification.
3
+ ---
4
+
5
+ # /deploy - Production Deployment
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
10
+
11
+ ## Sub-commands
12
+
13
+ ```
14
+ /deploy - Interactive deployment wizard
15
+ /deploy check - Run pre-deployment checks only
16
+ /deploy preview - Deploy to preview/staging
17
+ /deploy production - Deploy to production
18
+ /deploy rollback - Rollback to previous version
19
+ ```
20
+
21
+ ---
22
+
23
+ ## Pre-Deployment Checklist
24
+
25
+ ```markdown
26
+ ## 🚀 Pre-Deploy Checklist
27
+
28
+ ### Code Quality
29
+
30
+ - [ ] No TypeScript errors (`npx tsc --noEmit`)
31
+ - [ ] ESLint passing (`npx eslint .`)
32
+ - [ ] All tests passing (`npm test`)
33
+
34
+ ### Security
35
+
36
+ - [ ] No hardcoded secrets
37
+ - [ ] Environment variables documented
38
+ - [ ] Dependencies audited (`npm audit`)
39
+
40
+ ### Performance
41
+
42
+ - [ ] Bundle size acceptable
43
+ - [ ] No console.log statements
44
+ - [ ] Images optimized
45
+
46
+ ### Ready to deploy? (y/n)
47
+ ```
48
+
49
+ ---
50
+
51
+ ## Deployment Flow
52
+
53
+ ```
54
+ /deploy
55
+
56
+
57
+ Pre-flight checks
58
+
59
+ Pass? ──No──► Fix issues
60
+
61
+ Yes
62
+
63
+
64
+ Build application
65
+
66
+
67
+ Deploy to platform
68
+
69
+
70
+ Health check & verify
71
+
72
+
73
+ ✅ Complete
74
+ ```
75
+
76
+ ---
77
+
78
+ ## Output Format
79
+
80
+ ### Successful Deploy
81
+
82
+ ```markdown
83
+ ## 🚀 Deployment Complete
84
+
85
+ ### Summary
86
+
87
+ - **Version:** v1.2.3
88
+ - **Environment:** production
89
+ - **Duration:** 47 seconds
90
+ - **Platform:** Vercel
91
+
92
+ ### URLs
93
+
94
+ - 🌐 Production: https://app.example.com
95
+ - 📊 Dashboard: https://vercel.com/project
96
+
97
+ ### Health Check
98
+
99
+ ✅ API responding (200 OK)
100
+ ✅ Database connected
101
+ ✅ All services healthy
102
+ ```
103
+
104
+ ### Failed Deploy
105
+
106
+ ```markdown
107
+ ## ❌ Deployment Failed
108
+
109
+ ### Error
110
+
111
+ [Error description]
112
+
113
+ ### Resolution
114
+
115
+ 1. [Fix steps]
116
+ 2. [Verification]
117
+ 3. Try `/deploy` again
118
+
119
+ ### Rollback Available
120
+
121
+ Run `/deploy rollback` if needed.
122
+ ```
123
+
124
+ ---
125
+
126
+ ## Platform Support
127
+
128
+ | Platform | Command | Auto-detect |
129
+ | -------- | --------------- | ----------- |
130
+ | Vercel | `vercel --prod` | Next.js |
131
+ | Railway | `railway up` | NestJS |
132
+ | Expo EAS | `eas build` | Mobile |
133
+
134
+ ---
135
+
136
+ ## Examples
137
+
138
+ ```
139
+ /deploy
140
+ /deploy check
141
+ /deploy preview
142
+ /deploy production
143
+ /deploy rollback
144
+ ```