ai-devx 1.0.0 → 1.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.
Files changed (206) hide show
  1. package/package.json +1 -1
  2. package/templates/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
  3. package/templates/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
  4. package/templates/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
  5. package/templates/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
  6. package/templates/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
  7. package/templates/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
  8. package/templates/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
  9. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  10. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  11. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  12. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  13. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  14. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  15. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  16. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
  17. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  18. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  19. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  20. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  21. package/templates/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
  22. package/templates/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
  23. package/templates/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  24. package/templates/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  25. package/templates/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
  26. package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  27. package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  28. package/templates/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
  29. package/templates/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +1067 -0
  30. package/templates/.agent/.shared/ui-ux-pro-max/scripts/search.py +106 -0
  31. package/templates/.agent/ARCHITECTURE.md +288 -0
  32. package/templates/.agent/agents/backend-specialist.md +251 -135
  33. package/templates/.agent/agents/code-archaeologist.md +106 -0
  34. package/templates/.agent/agents/database-architect.md +222 -160
  35. package/templates/.agent/agents/debugger.md +205 -108
  36. package/templates/.agent/agents/devops-engineer.md +226 -169
  37. package/templates/.agent/agents/documentation-writer.md +104 -0
  38. package/templates/.agent/agents/explorer-agent.md +73 -0
  39. package/templates/.agent/agents/frontend-specialist.md +587 -116
  40. package/templates/.agent/agents/game-developer.md +162 -0
  41. package/templates/.agent/agents/mobile-developer.md +377 -0
  42. package/templates/.agent/agents/orchestrator.md +412 -133
  43. package/templates/.agent/agents/penetration-tester.md +188 -0
  44. package/templates/.agent/agents/performance-optimizer.md +187 -0
  45. package/templates/.agent/agents/product-manager.md +112 -0
  46. package/templates/.agent/agents/product-owner.md +95 -0
  47. package/templates/.agent/agents/project-planner.md +390 -111
  48. package/templates/.agent/agents/qa-automation-engineer.md +103 -0
  49. package/templates/.agent/agents/security-auditor.md +158 -110
  50. package/templates/.agent/agents/seo-specialist.md +111 -0
  51. package/templates/.agent/agents/test-engineer.md +136 -154
  52. package/templates/.agent/mcp_config.json +24 -0
  53. package/templates/.agent/rules/GEMINI.md +273 -0
  54. package/templates/.agent/scripts/auto_preview.py +148 -0
  55. package/templates/.agent/scripts/checklist.py +217 -0
  56. package/templates/.agent/scripts/session_manager.py +120 -0
  57. package/templates/.agent/scripts/verify_all.py +327 -0
  58. package/templates/.agent/skills/api-patterns/SKILL.md +77 -232
  59. package/templates/.agent/skills/api-patterns/api-style.md +42 -0
  60. package/templates/.agent/skills/api-patterns/auth.md +24 -0
  61. package/templates/.agent/skills/api-patterns/documentation.md +26 -0
  62. package/templates/.agent/skills/api-patterns/graphql.md +41 -0
  63. package/templates/.agent/skills/api-patterns/rate-limiting.md +31 -0
  64. package/templates/.agent/skills/api-patterns/response.md +37 -0
  65. package/templates/.agent/skills/api-patterns/rest.md +40 -0
  66. package/templates/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
  67. package/templates/.agent/skills/api-patterns/security-testing.md +122 -0
  68. package/templates/.agent/skills/api-patterns/trpc.md +41 -0
  69. package/templates/.agent/skills/api-patterns/versioning.md +22 -0
  70. package/templates/.agent/skills/app-builder/SKILL.md +75 -0
  71. package/templates/.agent/skills/app-builder/agent-coordination.md +71 -0
  72. package/templates/.agent/skills/app-builder/feature-building.md +53 -0
  73. package/templates/.agent/skills/app-builder/project-detection.md +34 -0
  74. package/templates/.agent/skills/app-builder/scaffolding.md +118 -0
  75. package/templates/.agent/skills/app-builder/tech-stack.md +40 -0
  76. package/templates/.agent/skills/app-builder/templates/SKILL.md +39 -0
  77. package/templates/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  78. package/templates/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  79. package/templates/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  80. package/templates/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  81. package/templates/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  82. package/templates/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  83. package/templates/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  84. package/templates/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  85. package/templates/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  86. package/templates/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  87. package/templates/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  88. package/templates/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  89. package/templates/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  90. package/templates/.agent/skills/architecture/SKILL.md +55 -0
  91. package/templates/.agent/skills/architecture/context-discovery.md +43 -0
  92. package/templates/.agent/skills/architecture/examples.md +94 -0
  93. package/templates/.agent/skills/architecture/pattern-selection.md +68 -0
  94. package/templates/.agent/skills/architecture/patterns-reference.md +50 -0
  95. package/templates/.agent/skills/architecture/trade-off-analysis.md +77 -0
  96. package/templates/.agent/skills/bash-linux/SKILL.md +199 -0
  97. package/templates/.agent/skills/behavioral-modes/SKILL.md +242 -0
  98. package/templates/.agent/skills/brainstorming/SKILL.md +163 -0
  99. package/templates/.agent/skills/brainstorming/dynamic-questioning.md +350 -0
  100. package/templates/.agent/skills/clean-code/SKILL.md +201 -0
  101. package/templates/.agent/skills/code-review-checklist/SKILL.md +109 -0
  102. package/templates/.agent/skills/database-design/SKILL.md +34 -285
  103. package/templates/.agent/skills/database-design/database-selection.md +43 -0
  104. package/templates/.agent/skills/database-design/indexing.md +39 -0
  105. package/templates/.agent/skills/database-design/migrations.md +48 -0
  106. package/templates/.agent/skills/database-design/optimization.md +36 -0
  107. package/templates/.agent/skills/database-design/orm-selection.md +30 -0
  108. package/templates/.agent/skills/database-design/schema-design.md +56 -0
  109. package/templates/.agent/skills/database-design/scripts/schema_validator.py +172 -0
  110. package/templates/.agent/skills/deployment-procedures/SKILL.md +241 -0
  111. package/templates/.agent/skills/doc.md +177 -0
  112. package/templates/.agent/skills/documentation-templates/SKILL.md +194 -0
  113. package/templates/.agent/skills/frontend-design/SKILL.md +418 -0
  114. package/templates/.agent/skills/frontend-design/animation-guide.md +331 -0
  115. package/templates/.agent/skills/frontend-design/color-system.md +311 -0
  116. package/templates/.agent/skills/frontend-design/decision-trees.md +418 -0
  117. package/templates/.agent/skills/frontend-design/motion-graphics.md +306 -0
  118. package/templates/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  119. package/templates/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
  120. package/templates/.agent/skills/frontend-design/typography-system.md +345 -0
  121. package/templates/.agent/skills/frontend-design/ux-psychology.md +1116 -0
  122. package/templates/.agent/skills/frontend-design/visual-effects.md +383 -0
  123. package/templates/.agent/skills/game-development/2d-games/SKILL.md +119 -0
  124. package/templates/.agent/skills/game-development/3d-games/SKILL.md +135 -0
  125. package/templates/.agent/skills/game-development/SKILL.md +167 -0
  126. package/templates/.agent/skills/game-development/game-art/SKILL.md +185 -0
  127. package/templates/.agent/skills/game-development/game-audio/SKILL.md +190 -0
  128. package/templates/.agent/skills/game-development/game-design/SKILL.md +129 -0
  129. package/templates/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
  130. package/templates/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
  131. package/templates/.agent/skills/game-development/pc-games/SKILL.md +144 -0
  132. package/templates/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
  133. package/templates/.agent/skills/game-development/web-games/SKILL.md +150 -0
  134. package/templates/.agent/skills/geo-fundamentals/SKILL.md +156 -0
  135. package/templates/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
  136. package/templates/.agent/skills/i18n-localization/SKILL.md +154 -0
  137. package/templates/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  138. package/templates/.agent/skills/intelligent-routing/SKILL.md +335 -0
  139. package/templates/.agent/skills/lint-and-validate/SKILL.md +45 -0
  140. package/templates/.agent/skills/lint-and-validate/scripts/lint_runner.py +184 -0
  141. package/templates/.agent/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  142. package/templates/.agent/skills/mcp-builder/SKILL.md +176 -0
  143. package/templates/.agent/skills/mobile-design/SKILL.md +394 -0
  144. package/templates/.agent/skills/mobile-design/decision-trees.md +516 -0
  145. package/templates/.agent/skills/mobile-design/mobile-backend.md +491 -0
  146. package/templates/.agent/skills/mobile-design/mobile-color-system.md +420 -0
  147. package/templates/.agent/skills/mobile-design/mobile-debugging.md +122 -0
  148. package/templates/.agent/skills/mobile-design/mobile-design-thinking.md +357 -0
  149. package/templates/.agent/skills/mobile-design/mobile-navigation.md +458 -0
  150. package/templates/.agent/skills/mobile-design/mobile-performance.md +767 -0
  151. package/templates/.agent/skills/mobile-design/mobile-testing.md +356 -0
  152. package/templates/.agent/skills/mobile-design/mobile-typography.md +433 -0
  153. package/templates/.agent/skills/mobile-design/platform-android.md +666 -0
  154. package/templates/.agent/skills/mobile-design/platform-ios.md +561 -0
  155. package/templates/.agent/skills/mobile-design/scripts/mobile_audit.py +670 -0
  156. package/templates/.agent/skills/mobile-design/touch-psychology.md +537 -0
  157. package/templates/.agent/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  158. package/templates/.agent/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  159. package/templates/.agent/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  160. package/templates/.agent/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  161. package/templates/.agent/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  162. package/templates/.agent/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  163. package/templates/.agent/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  164. package/templates/.agent/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  165. package/templates/.agent/skills/nextjs-react-expert/SKILL.md +286 -0
  166. package/templates/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  167. package/templates/.agent/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  168. package/templates/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
  169. package/templates/.agent/skills/parallel-agents/SKILL.md +175 -0
  170. package/templates/.agent/skills/performance-profiling/SKILL.md +143 -0
  171. package/templates/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
  172. package/templates/.agent/skills/plan-writing/SKILL.md +152 -0
  173. package/templates/.agent/skills/powershell-windows/SKILL.md +167 -0
  174. package/templates/.agent/skills/python-patterns/SKILL.md +441 -0
  175. package/templates/.agent/skills/red-team-tactics/SKILL.md +199 -0
  176. package/templates/.agent/skills/rust-pro/SKILL.md +176 -0
  177. package/templates/.agent/skills/seo-fundamentals/SKILL.md +129 -0
  178. package/templates/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  179. package/templates/.agent/skills/server-management/SKILL.md +161 -0
  180. package/templates/.agent/skills/systematic-debugging/SKILL.md +109 -0
  181. package/templates/.agent/skills/tailwind-patterns/SKILL.md +269 -0
  182. package/templates/.agent/skills/tdd-workflow/SKILL.md +149 -0
  183. package/templates/.agent/skills/testing-patterns/SKILL.md +156 -240
  184. package/templates/.agent/skills/testing-patterns/scripts/test_runner.py +219 -0
  185. package/templates/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
  186. package/templates/.agent/skills/vulnerability-scanner/checklists.md +121 -0
  187. package/templates/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  188. package/templates/.agent/skills/web-design-guidelines/SKILL.md +57 -0
  189. package/templates/.agent/skills/webapp-testing/SKILL.md +187 -0
  190. package/templates/.agent/skills/webapp-testing/scripts/playwright_runner.py +173 -0
  191. package/templates/.agent/workflows/brainstorm.md +113 -0
  192. package/templates/.agent/workflows/create.md +40 -112
  193. package/templates/.agent/workflows/debug.md +82 -117
  194. package/templates/.agent/workflows/deploy.md +142 -129
  195. package/templates/.agent/workflows/enhance.md +63 -0
  196. package/templates/.agent/workflows/orchestrate.md +237 -0
  197. package/templates/.agent/workflows/plan.md +74 -138
  198. package/templates/.agent/workflows/preview.md +81 -0
  199. package/templates/.agent/workflows/status.md +86 -0
  200. package/templates/.agent/workflows/test.md +109 -130
  201. package/templates/.agent/workflows/ui-ux-pro-max.md +296 -0
  202. package/templates/.agent/scripts/checklist.js +0 -260
  203. package/templates/.agent/scripts/security_scan.js +0 -251
  204. package/templates/.agent/skills/docker-expert/SKILL.md +0 -286
  205. package/templates/.agent/skills/react-best-practices/SKILL.md +0 -246
  206. package/templates/.agent/workflows/security.md +0 -181
@@ -1,163 +1,176 @@
1
1
  ---
2
- command: /deploy
3
- description: Deploy application to production or staging
4
- agent: devops-engineer
5
- skills:
6
- - docker-expert
7
- - deployment-procedures
8
- - ci-cd
9
- mode: operational
2
+ description: Deployment command for production releases. Pre-flight checks and deployment execution.
10
3
  ---
11
4
 
12
- # /deploy Workflow
5
+ # /deploy - Production Deployment
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
13
10
 
14
11
  ## Purpose
15
- Deploy application to production, staging, or development environments.
16
12
 
17
- ## Trigger
18
- User types: `/deploy [environment]`
13
+ This command handles production deployment with pre-flight checks, deployment execution, and verification.
19
14
 
20
- ## Execution Steps
15
+ ---
21
16
 
22
- ### Step 1: Pre-deployment Checks
23
- Verify:
24
- - [ ] All tests passing
25
- - [ ] Code reviewed
26
- - [ ] Version bumped
27
- - [ ] Changelog updated
28
- - [ ] No sensitive data in code
17
+ ## Sub-commands
29
18
 
30
- ### Step 2: Environment Detection
31
- Determine target:
32
- - Production
33
- - Staging
34
- - Development
19
+ ```
20
+ /deploy - Interactive deployment wizard
21
+ /deploy check - Run pre-deployment checks only
22
+ /deploy preview - Deploy to preview/staging
23
+ /deploy production - Deploy to production
24
+ /deploy rollback - Rollback to previous version
25
+ ```
35
26
 
36
- ### Step 3: Build Process
37
- ```bash
38
- # Install dependencies
39
- npm ci
27
+ ---
40
28
 
41
- # Run tests
42
- npm test
29
+ ## Pre-Deployment Checklist
43
30
 
44
- # Build application
45
- npm run build
31
+ Before any deployment:
46
32
 
47
- # Check build output
48
- ls -la dist/
49
- ```
33
+ ```markdown
34
+ ## 🚀 Pre-Deploy Checklist
50
35
 
51
- ### Step 4: Deployment Strategy
36
+ ### Code Quality
37
+ - [ ] No TypeScript errors (`npx tsc --noEmit`)
38
+ - [ ] ESLint passing (`npx eslint .`)
39
+ - [ ] All tests passing (`npm test`)
52
40
 
53
- **Vercel/Netlify:**
54
- ```bash
55
- vercel --prod
56
- ```
41
+ ### Security
42
+ - [ ] No hardcoded secrets
43
+ - [ ] Environment variables documented
44
+ - [ ] Dependencies audited (`npm audit`)
57
45
 
58
- **Docker:**
59
- ```bash
60
- docker build -t myapp:v1.0.0 .
61
- docker push myapp:v1.0.0
62
- ```
46
+ ### Performance
47
+ - [ ] Bundle size acceptable
48
+ - [ ] No console.log statements
49
+ - [ ] Images optimized
63
50
 
64
- **AWS/GCP/Azure:**
65
- - Use CI/CD pipeline
66
- - Deploy to ECS/Kubernetes
67
- - Blue-green or rolling deployment
51
+ ### Documentation
52
+ - [ ] README updated
53
+ - [ ] CHANGELOG updated
54
+ - [ ] API docs current
68
55
 
69
- ### Step 5: Post-deployment Verification
70
- - [ ] Health checks passing
71
- - [ ] Smoke tests passing
72
- - [ ] Logs showing no errors
73
- - [ ] Monitoring dashboards green
74
- - [ ] SSL certificates valid
56
+ ### Ready to deploy? (y/n)
57
+ ```
75
58
 
76
- ### Step 6: Rollback Plan
77
- Have rollback ready:
78
- - Previous version tagged
79
- - Database migrations reversible
80
- - Quick rollback procedure
59
+ ---
81
60
 
82
- ## Response Format
61
+ ## Deployment Flow
83
62
 
84
63
  ```
85
- ⚡ Executing /deploy
64
+ ┌─────────────────┐
65
+ │ /deploy │
66
+ └────────┬────────┘
67
+
68
+
69
+ ┌─────────────────┐
70
+ │ Pre-flight │
71
+ │ checks │
72
+ └────────┬────────┘
73
+
74
+ Pass? ──No──► Fix issues
75
+
76
+ Yes
77
+
78
+
79
+ ┌─────────────────┐
80
+ │ Build │
81
+ │ application │
82
+ └────────┬────────┘
83
+
84
+
85
+ ┌─────────────────┐
86
+ │ Deploy to │
87
+ │ platform │
88
+ └────────┬────────┘
89
+
90
+
91
+ ┌─────────────────┐
92
+ │ Health check │
93
+ │ & verify │
94
+ └────────┬────────┘
95
+
96
+
97
+ ┌─────────────────┐
98
+ │ ✅ Complete │
99
+ └─────────────────┘
100
+ ```
101
+
102
+ ---
86
103
 
87
- 🤖 Applying @devops-engineer...
104
+ ## Output Format
88
105
 
89
- ## Pre-deployment Checklist
90
- ✅ Tests passing
91
- ✅ Code reviewed
92
- ✅ Version bumped to v1.2.0
106
+ ### Successful Deploy
93
107
 
94
- ## Deployment Steps
95
- 1. Building application...
96
- ✅ Build successful (45s)
108
+ ```markdown
109
+ ## 🚀 Deployment Complete
97
110
 
98
- 2. Running tests...
99
- All tests passed (128 tests)
111
+ ### Summary
112
+ - **Version:** v1.2.3
113
+ - **Environment:** production
114
+ - **Duration:** 47 seconds
115
+ - **Platform:** Vercel
100
116
 
101
- 3. Deploying to production...
102
- Deployed successfully
117
+ ### URLs
118
+ - 🌐 Production: https://app.example.com
119
+ - 📊 Dashboard: https://vercel.com/project
103
120
 
104
- ## Post-deployment
105
- 🌐 URL: https://myapp.com
106
- 📊 Health: https://myapp.com/health
121
+ ### What Changed
122
+ - Added user profile feature
123
+ - Fixed login bug
124
+ - Updated dependencies
107
125
 
108
- ### Verification
109
- Health check: 200 OK
110
- Response time: < 100ms
111
- SSL: Valid
126
+ ### Health Check
127
+ API responding (200 OK)
128
+ Database connected
129
+ All services healthy
130
+ ```
131
+
132
+ ### Failed Deploy
133
+
134
+ ```markdown
135
+ ## ❌ Deployment Failed
136
+
137
+ ### Error
138
+ Build failed at step: TypeScript compilation
112
139
 
113
- ## Rollback
114
- If needed: `vercel --rollback`
140
+ ### Details
115
141
  ```
142
+ error TS2345: Argument of type 'string' is not assignable...
143
+ ```
144
+
145
+ ### Resolution
146
+ 1. Fix TypeScript error in `src/services/user.ts:45`
147
+ 2. Run `npm run build` locally to verify
148
+ 3. Try `/deploy` again
116
149
 
117
- ## Deployment Checklist
118
-
119
- ### Before Deploy
120
- - [ ] Tests passing (unit, integration, E2E)
121
- - [ ] Code reviewed and approved
122
- - [ ] Security scan clean
123
- - [ ] Performance benchmarks met
124
- - [ ] Database migrations prepared
125
- - [ ] Environment variables set
126
- - [ ] Rollback plan ready
127
-
128
- ### During Deploy
129
- - [ ] Build successful
130
- - [ ] No build warnings
131
- - [ ] Assets uploaded
132
- - [ ] Database migrations run
133
- - [ ] Services restarted
134
-
135
- ### After Deploy
136
- - [ ] Health checks pass
137
- - [ ] Smoke tests pass
138
- - [ ] Error logs clean
139
- - [ ] Performance normal
140
- - [ ] Monitoring alerts silent
141
-
142
- ## Common Commands
143
-
144
- ```bash
145
- # Vercel
146
- vercel --prod
147
-
148
- # Netlify
149
- netlify deploy --prod
150
-
151
- # Docker
152
- kubectl set image deployment/myapp myapp=myapp:v1.0.0
153
-
154
- # AWS
155
- aws elasticbeanstalk update-environment
150
+ ### Rollback Available
151
+ Previous version (v1.2.2) is still active.
152
+ Run `/deploy rollback` if needed.
156
153
  ```
157
154
 
158
- ## Success Criteria
159
- - Zero-downtime deployment
160
- - All health checks passing
161
- - Performance maintained
162
- - Rollback plan ready
163
- - Team notified
155
+ ---
156
+
157
+ ## Platform Support
158
+
159
+ | Platform | Command | Notes |
160
+ |----------|---------|-------|
161
+ | Vercel | `vercel --prod` | Auto-detected for Next.js |
162
+ | Railway | `railway up` | Needs Railway CLI |
163
+ | Fly.io | `fly deploy` | Needs flyctl |
164
+ | Docker | `docker compose up -d` | For self-hosted |
165
+
166
+ ---
167
+
168
+ ## Examples
169
+
170
+ ```
171
+ /deploy
172
+ /deploy check
173
+ /deploy preview
174
+ /deploy production --skip-tests
175
+ /deploy rollback
176
+ ```
@@ -0,0 +1,63 @@
1
+ ---
2
+ description: Add or update features in existing application. Used for iterative development.
3
+ ---
4
+
5
+ # /enhance - Update Application
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
10
+
11
+ ## Task
12
+
13
+ This command adds features or makes updates to existing application.
14
+
15
+ ### Steps:
16
+
17
+ 1. **Understand Current State**
18
+ - Load project state with `python .agent/scripts/session_manager.py info`
19
+ - Understand existing features, tech stack
20
+
21
+ 2. **Plan Changes**
22
+ - Determine what will be added/changed
23
+ - Detect affected files
24
+ - Check dependencies
25
+
26
+ 3. **Present Plan to User** (for major changes)
27
+ ```
28
+ "To add admin panel:
29
+ - I'll create 15 new files
30
+ - Update 8 files
31
+ - Takes ~10 minutes
32
+
33
+ Should I start?"
34
+ ```
35
+
36
+ 4. **Apply**
37
+ - Call relevant agents
38
+ - Make changes
39
+ - Test
40
+
41
+ 5. **Update Preview**
42
+ - Hot reload or restart
43
+
44
+ ---
45
+
46
+ ## Usage Examples
47
+
48
+ ```
49
+ /enhance add dark mode
50
+ /enhance build admin panel
51
+ /enhance integrate payment system
52
+ /enhance add search feature
53
+ /enhance edit profile page
54
+ /enhance make responsive
55
+ ```
56
+
57
+ ---
58
+
59
+ ## Caution
60
+
61
+ - Get approval for major changes
62
+ - Warn on conflicting requests (e.g., "use Firebase" when project uses PostgreSQL)
63
+ - Commit each change with git
@@ -0,0 +1,237 @@
1
+ ---
2
+ description: Coordinate multiple agents for complex tasks. Use for multi-perspective analysis, comprehensive reviews, or tasks requiring different domain expertise.
3
+ ---
4
+
5
+ # Multi-Agent Orchestration
6
+
7
+ You are now in **ORCHESTRATION MODE**. Your task: coordinate specialized agents to solve this complex problem.
8
+
9
+ ## Task to Orchestrate
10
+ $ARGUMENTS
11
+
12
+ ---
13
+
14
+ ## 🔴 CRITICAL: Minimum Agent Requirement
15
+
16
+ > ⚠️ **ORCHESTRATION = MINIMUM 3 DIFFERENT AGENTS**
17
+ >
18
+ > If you use fewer than 3 agents, you are NOT orchestrating - you're just delegating.
19
+ >
20
+ > **Validation before completion:**
21
+ > - Count invoked agents
22
+ > - If `agent_count < 3` → STOP and invoke more agents
23
+ > - Single agent = FAILURE of orchestration
24
+
25
+ ### Agent Selection Matrix
26
+
27
+ | Task Type | REQUIRED Agents (minimum) |
28
+ |-----------|---------------------------|
29
+ | **Web App** | frontend-specialist, backend-specialist, test-engineer |
30
+ | **API** | backend-specialist, security-auditor, test-engineer |
31
+ | **UI/Design** | frontend-specialist, seo-specialist, performance-optimizer |
32
+ | **Database** | database-architect, backend-specialist, security-auditor |
33
+ | **Full Stack** | project-planner, frontend-specialist, backend-specialist, devops-engineer |
34
+ | **Debug** | debugger, explorer-agent, test-engineer |
35
+ | **Security** | security-auditor, penetration-tester, devops-engineer |
36
+
37
+ ---
38
+
39
+ ## Pre-Flight: Mode Check
40
+
41
+ | Current Mode | Task Type | Action |
42
+ |--------------|-----------|--------|
43
+ | **plan** | Any | ✅ Proceed with planning-first approach |
44
+ | **edit** | Simple execution | ✅ Proceed directly |
45
+ | **edit** | Complex/multi-file | ⚠️ Ask: "This task requires planning. Switch to plan mode?" |
46
+ | **ask** | Any | ⚠️ Ask: "Ready to orchestrate. Switch to edit or plan mode?" |
47
+
48
+ ---
49
+
50
+ ## 🔴 STRICT 2-PHASE ORCHESTRATION
51
+
52
+ ### PHASE 1: PLANNING (Sequential - NO parallel agents)
53
+
54
+ | Step | Agent | Action |
55
+ |------|-------|--------|
56
+ | 1 | `project-planner` | Create docs/PLAN.md |
57
+ | 2 | (optional) `explorer-agent` | Codebase discovery if needed |
58
+
59
+ > 🔴 **NO OTHER AGENTS during planning!** Only project-planner and explorer-agent.
60
+
61
+ ### ⏸️ CHECKPOINT: User Approval
62
+
63
+ ```
64
+ After PLAN.md is complete, ASK:
65
+
66
+ "✅ Plan created: docs/PLAN.md
67
+
68
+ Do you approve? (Y/N)
69
+ - Y: Start implementation
70
+ - N: I'll revise the plan"
71
+ ```
72
+
73
+ > 🔴 **DO NOT proceed to Phase 2 without explicit user approval!**
74
+
75
+ ### PHASE 2: IMPLEMENTATION (Parallel agents after approval)
76
+
77
+ | Parallel Group | Agents |
78
+ |----------------|--------|
79
+ | Foundation | `database-architect`, `security-auditor` |
80
+ | Core | `backend-specialist`, `frontend-specialist` |
81
+ | Polish | `test-engineer`, `devops-engineer` |
82
+
83
+ > ✅ After user approval, invoke multiple agents in PARALLEL.
84
+
85
+ ## Available Agents (17 total)
86
+
87
+ | Agent | Domain | Use When |
88
+ |-------|--------|----------|
89
+ | `project-planner` | Planning | Task breakdown, PLAN.md |
90
+ | `explorer-agent` | Discovery | Codebase mapping |
91
+ | `frontend-specialist` | UI/UX | React, Vue, CSS, HTML |
92
+ | `backend-specialist` | Server | API, Node.js, Python |
93
+ | `database-architect` | Data | SQL, NoSQL, Schema |
94
+ | `security-auditor` | Security | Vulnerabilities, Auth |
95
+ | `penetration-tester` | Security | Active testing |
96
+ | `test-engineer` | Testing | Unit, E2E, Coverage |
97
+ | `devops-engineer` | Ops | CI/CD, Docker, Deploy |
98
+ | `mobile-developer` | Mobile | React Native, Flutter |
99
+ | `performance-optimizer` | Speed | Lighthouse, Profiling |
100
+ | `seo-specialist` | SEO | Meta, Schema, Rankings |
101
+ | `documentation-writer` | Docs | README, API docs |
102
+ | `debugger` | Debug | Error analysis |
103
+ | `game-developer` | Games | Unity, Godot |
104
+ | `orchestrator` | Meta | Coordination |
105
+
106
+ ---
107
+
108
+ ## Orchestration Protocol
109
+
110
+ ### Step 1: Analyze Task Domains
111
+ Identify ALL domains this task touches:
112
+ ```
113
+ □ Security → security-auditor, penetration-tester
114
+ □ Backend/API → backend-specialist
115
+ □ Frontend/UI → frontend-specialist
116
+ □ Database → database-architect
117
+ □ Testing → test-engineer
118
+ □ DevOps → devops-engineer
119
+ □ Mobile → mobile-developer
120
+ □ Performance → performance-optimizer
121
+ □ SEO → seo-specialist
122
+ □ Planning → project-planner
123
+ ```
124
+
125
+ ### Step 2: Phase Detection
126
+
127
+ | If Plan Exists | Action |
128
+ |----------------|--------|
129
+ | NO `docs/PLAN.md` | → Go to PHASE 1 (planning only) |
130
+ | YES `docs/PLAN.md` + user approved | → Go to PHASE 2 (implementation) |
131
+
132
+ ### Step 3: Execute Based on Phase
133
+
134
+ **PHASE 1 (Planning):**
135
+ ```
136
+ Use the project-planner agent to create PLAN.md
137
+ → STOP after plan is created
138
+ → ASK user for approval
139
+ ```
140
+
141
+ **PHASE 2 (Implementation - after approval):**
142
+ ```
143
+ Invoke agents in PARALLEL:
144
+ Use the frontend-specialist agent to [task]
145
+ Use the backend-specialist agent to [task]
146
+ Use the test-engineer agent to [task]
147
+ ```
148
+
149
+ **🔴 CRITICAL: Context Passing (MANDATORY)**
150
+
151
+ When invoking ANY subagent, you MUST include:
152
+
153
+ 1. **Original User Request:** Full text of what user asked
154
+ 2. **Decisions Made:** All user answers to Socratic questions
155
+ 3. **Previous Agent Work:** Summary of what previous agents did
156
+ 4. **Current Plan State:** If plan files exist in workspace, include them
157
+
158
+ **Example with FULL context:**
159
+ ```
160
+ Use the project-planner agent to create PLAN.md:
161
+
162
+ **CONTEXT:**
163
+ - User Request: "A social platform for students, using mock data"
164
+ - Decisions: Tech=Vue 3, Layout=Grid Widgets, Auth=Mock, Design=Youthful & dynamic
165
+ - Previous Work: Orchestrator asked 6 questions, user chose all options
166
+ - Current Plan: playful-roaming-dream.md exists in workspace with initial structure
167
+
168
+ **TASK:** Create detailed PLAN.md based on ABOVE decisions. Do NOT infer from folder name.
169
+ ```
170
+
171
+ > ⚠️ **VIOLATION:** Invoking subagent without full context = subagent will make wrong assumptions!
172
+
173
+
174
+ ### Step 4: Verification (MANDATORY)
175
+ The LAST agent must run appropriate verification scripts:
176
+ ```bash
177
+ python .agent/skills/vulnerability-scanner/scripts/security_scan.py .
178
+ python .agent/skills/lint-and-validate/scripts/lint_runner.py .
179
+ ```
180
+
181
+ ### Step 5: Synthesize Results
182
+ Combine all agent outputs into unified report.
183
+
184
+ ---
185
+
186
+ ## Output Format
187
+
188
+ ```markdown
189
+ ## 🎼 Orchestration Report
190
+
191
+ ### Task
192
+ [Original task summary]
193
+
194
+ ### Mode
195
+ [Current Antigravity Agent mode: plan/edit/ask]
196
+
197
+ ### Agents Invoked (MINIMUM 3)
198
+ | # | Agent | Focus Area | Status |
199
+ |---|-------|------------|--------|
200
+ | 1 | project-planner | Task breakdown | ✅ |
201
+ | 2 | frontend-specialist | UI implementation | ✅ |
202
+ | 3 | test-engineer | Verification scripts | ✅ |
203
+
204
+ ### Verification Scripts Executed
205
+ - [x] security_scan.py → Pass/Fail
206
+ - [x] lint_runner.py → Pass/Fail
207
+
208
+ ### Key Findings
209
+ 1. **[Agent 1]**: Finding
210
+ 2. **[Agent 2]**: Finding
211
+ 3. **[Agent 3]**: Finding
212
+
213
+ ### Deliverables
214
+ - [ ] PLAN.md created
215
+ - [ ] Code implemented
216
+ - [ ] Tests passing
217
+ - [ ] Scripts verified
218
+
219
+ ### Summary
220
+ [One paragraph synthesis of all agent work]
221
+ ```
222
+
223
+ ---
224
+
225
+ ## 🔴 EXIT GATE
226
+
227
+ Before completing orchestration, verify:
228
+
229
+ 1. ✅ **Agent Count:** `invoked_agents >= 3`
230
+ 2. ✅ **Scripts Executed:** At least `security_scan.py` ran
231
+ 3. ✅ **Report Generated:** Orchestration Report with all agents listed
232
+
233
+ > **If any check fails → DO NOT mark orchestration complete. Invoke more agents or run scripts.**
234
+
235
+ ---
236
+
237
+ **Begin orchestration now. Select 3+ agents, execute sequentially, run verification scripts, synthesize results.**