luna-agents 2.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 (290) hide show
  1. package/.claude-plugin/LICENSE +21 -0
  2. package/.claude-plugin/README.md +285 -0
  3. package/.claude-plugin/claude-plugin.json +106 -0
  4. package/.claude-plugin/index.js +318 -0
  5. package/.claude-plugin/lib/api-client.js +504 -0
  6. package/.claude-plugin/lib/rag-utils.js +442 -0
  7. package/.claude-plugin/package.json +418 -0
  8. package/LICENSE +21 -0
  9. package/README.md +350 -0
  10. package/agents/json/design-architect.json +57 -0
  11. package/agents/json/luna-auth.json +71 -0
  12. package/agents/json/luna-brand.json +66 -0
  13. package/agents/json/luna-cloudflare.json +261 -0
  14. package/agents/json/luna-code-review.json +63 -0
  15. package/agents/json/luna-deployment.json +68 -0
  16. package/agents/json/luna-documentation.json +85 -0
  17. package/agents/json/luna-hig.json +128 -0
  18. package/agents/json/luna-layout-designer.json +178 -0
  19. package/agents/json/luna-monitoring-observability.json +64 -0
  20. package/agents/json/luna-post-launch-review.json +68 -0
  21. package/agents/json/luna-requirements-analyzer.json +53 -0
  22. package/agents/json/luna-task-executor.json +63 -0
  23. package/agents/json/luna-task-planner.json +62 -0
  24. package/agents/json/luna-testing-validation.json +66 -0
  25. package/agents/luna-365-security.md +96 -0
  26. package/agents/luna-analytics.md +318 -0
  27. package/agents/luna-api-generator.md +654 -0
  28. package/agents/luna-auth.md +396 -0
  29. package/agents/luna-brand.md +248 -0
  30. package/agents/luna-cloudflare.md +728 -0
  31. package/agents/luna-code-review.md +487 -0
  32. package/agents/luna-database.md +453 -0
  33. package/agents/luna-deployment.md +202 -0
  34. package/agents/luna-design-architect.md +353 -0
  35. package/agents/luna-docker.md +615 -0
  36. package/agents/luna-documentation.md +177 -0
  37. package/agents/luna-full-test.md +910 -0
  38. package/agents/luna-glm-vision.md +211 -0
  39. package/agents/luna-hig.md +430 -0
  40. package/agents/luna-lemonsqueezy.md +441 -0
  41. package/agents/luna-monitoring-observability.md +199 -0
  42. package/agents/luna-openai-app.md +499 -0
  43. package/agents/luna-post-launch-review.md +191 -0
  44. package/agents/luna-rag-enhanced.md +1619 -0
  45. package/agents/luna-rag.md +1733 -0
  46. package/agents/luna-requirements-analyzer.md +189 -0
  47. package/agents/luna-run.md +620 -0
  48. package/agents/luna-seo.md +338 -0
  49. package/agents/luna-task-executor.md +371 -0
  50. package/agents/luna-task-planner.md +275 -0
  51. package/agents/luna-testing-validation.md +681 -0
  52. package/agents/luna-ui-fix.md +591 -0
  53. package/agents/luna-ui-test.md +600 -0
  54. package/agents/luna-user-guide.md +409 -0
  55. package/agents/site-auditor.md +83 -0
  56. package/commands/3d-mesh.md +12 -0
  57. package/commands/3d.md +12 -0
  58. package/commands/agent-boost.md +13 -0
  59. package/commands/ai-index.md +16 -0
  60. package/commands/api.md +12 -0
  61. package/commands/assert.md +17 -0
  62. package/commands/audience.md +12 -0
  63. package/commands/auth.md +17 -0
  64. package/commands/autopilot.md +12 -0
  65. package/commands/boost-finsavvy.md +10 -0
  66. package/commands/boost-org.md +10 -0
  67. package/commands/boost-project.md +12 -0
  68. package/commands/brand.md +17 -0
  69. package/commands/browser-test.md +18 -0
  70. package/commands/cf.md +26 -0
  71. package/commands/cfg.md +33 -0
  72. package/commands/chain.md +12 -0
  73. package/commands/challenge.md +13 -0
  74. package/commands/clone.md +12 -0
  75. package/commands/cmds.md +243 -0
  76. package/commands/collab.md +12 -0
  77. package/commands/compete.md +12 -0
  78. package/commands/config-rules.md +21 -0
  79. package/commands/connect-infra.md +10 -0
  80. package/commands/context-pack.md +13 -0
  81. package/commands/curb.md +12 -0
  82. package/commands/des.md +38 -0
  83. package/commands/devto.md +20 -0
  84. package/commands/dock.md +26 -0
  85. package/commands/docs.md +33 -0
  86. package/commands/e2e-flow.md +18 -0
  87. package/commands/email-routing.md +10 -0
  88. package/commands/feature.md +12 -0
  89. package/commands/figma.md +12 -0
  90. package/commands/fix.md +12 -0
  91. package/commands/flaky.md +12 -0
  92. package/commands/flow-record.md +12 -0
  93. package/commands/gamify.md +12 -0
  94. package/commands/ghost.md +12 -0
  95. package/commands/git-insights.md +12 -0
  96. package/commands/go-viral.md +16 -0
  97. package/commands/go.md +42 -0
  98. package/commands/graph-rag.md +13 -0
  99. package/commands/guard.md +12 -0
  100. package/commands/heal.md +17 -0
  101. package/commands/heygen.md +12 -0
  102. package/commands/hig.md +33 -0
  103. package/commands/idea.md +12 -0
  104. package/commands/imagine.md +12 -0
  105. package/commands/inbox.md +12 -0
  106. package/commands/lam.md +12 -0
  107. package/commands/landing.md +12 -0
  108. package/commands/launch.md +12 -0
  109. package/commands/learn.md +12 -0
  110. package/commands/leverage.md +12 -0
  111. package/commands/ll-365-secure.md +179 -0
  112. package/commands/ll-3d-mesh.md +94 -0
  113. package/commands/ll-3d.md +123 -0
  114. package/commands/ll-a11y-scan.md +143 -0
  115. package/commands/ll-a11y.md +71 -0
  116. package/commands/ll-agent-boost.md +92 -0
  117. package/commands/ll-agent-chain.md +104 -0
  118. package/commands/ll-ai-index.md +120 -0
  119. package/commands/ll-api-client.md +77 -0
  120. package/commands/ll-api.md +99 -0
  121. package/commands/ll-assert.md +73 -0
  122. package/commands/ll-audience.md +308 -0
  123. package/commands/ll-auth.md +145 -0
  124. package/commands/ll-autopilot.md +113 -0
  125. package/commands/ll-boost-finsavvy.md +106 -0
  126. package/commands/ll-boost-org.md +161 -0
  127. package/commands/ll-boost-project.md +118 -0
  128. package/commands/ll-brand.md +150 -0
  129. package/commands/ll-browser-test.md +203 -0
  130. package/commands/ll-challenge.md +124 -0
  131. package/commands/ll-changelog.md +80 -0
  132. package/commands/ll-ci.md +78 -0
  133. package/commands/ll-claude-instructions.md +80 -0
  134. package/commands/ll-clone.md +82 -0
  135. package/commands/ll-cloudflare.md +580 -0
  136. package/commands/ll-codemap.md +78 -0
  137. package/commands/ll-collab.md +87 -0
  138. package/commands/ll-compete.md +67 -0
  139. package/commands/ll-config-rules.md +255 -0
  140. package/commands/ll-config.md +434 -0
  141. package/commands/ll-connect-infra.md +123 -0
  142. package/commands/ll-context-pack.md +100 -0
  143. package/commands/ll-curb.md +164 -0
  144. package/commands/ll-debug.md +76 -0
  145. package/commands/ll-deploy.md +101 -0
  146. package/commands/ll-deps.md +70 -0
  147. package/commands/ll-design.md +86 -0
  148. package/commands/ll-devto-publish.md +172 -0
  149. package/commands/ll-dockerize.md +273 -0
  150. package/commands/ll-docs.md +123 -0
  151. package/commands/ll-e2e-flow.md +132 -0
  152. package/commands/ll-e2e-test.md +231 -0
  153. package/commands/ll-email-routing.md +130 -0
  154. package/commands/ll-env.md +70 -0
  155. package/commands/ll-execute.md +98 -0
  156. package/commands/ll-feature.md +80 -0
  157. package/commands/ll-figma.md +82 -0
  158. package/commands/ll-fix.md +76 -0
  159. package/commands/ll-flaky.md +151 -0
  160. package/commands/ll-flow-record.md +180 -0
  161. package/commands/ll-flowdocs.md +83 -0
  162. package/commands/ll-gamify.md +131 -0
  163. package/commands/ll-gemma4.md +84 -0
  164. package/commands/ll-ghost.md +79 -0
  165. package/commands/ll-git-insights.md +152 -0
  166. package/commands/ll-go-viral.md +171 -0
  167. package/commands/ll-graph-rag.md +113 -0
  168. package/commands/ll-guard.md +92 -0
  169. package/commands/ll-heal.md +135 -0
  170. package/commands/ll-heygen.md +203 -0
  171. package/commands/ll-hig.md +578 -0
  172. package/commands/ll-hld.md +84 -0
  173. package/commands/ll-i18n.md +74 -0
  174. package/commands/ll-idea.md +101 -0
  175. package/commands/ll-imagine.md +72 -0
  176. package/commands/ll-inbox.md +116 -0
  177. package/commands/ll-lam.md +93 -0
  178. package/commands/ll-landing.md +171 -0
  179. package/commands/ll-launch.md +100 -0
  180. package/commands/ll-learn.md +87 -0
  181. package/commands/ll-leverage.md +137 -0
  182. package/commands/ll-local-llm.md +131 -0
  183. package/commands/ll-ls-products.md +160 -0
  184. package/commands/ll-marketplace.md +130 -0
  185. package/commands/ll-mcp-publish.md +104 -0
  186. package/commands/ll-migrate.md +68 -0
  187. package/commands/ll-mock.md +79 -0
  188. package/commands/ll-money.md +87 -0
  189. package/commands/ll-monitor.md +120 -0
  190. package/commands/ll-morph.md +117 -0
  191. package/commands/ll-multi-agent.md +170 -0
  192. package/commands/ll-native.md +93 -0
  193. package/commands/ll-nexa.md +79 -0
  194. package/commands/ll-onboarding.md +84 -0
  195. package/commands/ll-openhands.md +78 -0
  196. package/commands/ll-organic-promote.md +260 -0
  197. package/commands/ll-parallel.md +74 -0
  198. package/commands/ll-payments.md +83 -0
  199. package/commands/ll-perf-trace.md +147 -0
  200. package/commands/ll-perf.md +65 -0
  201. package/commands/ll-persona.md +280 -0
  202. package/commands/ll-pipe.md +296 -0
  203. package/commands/ll-plan-impl.js +570 -0
  204. package/commands/ll-plan-v2.md +297 -0
  205. package/commands/ll-plan.md +87 -0
  206. package/commands/ll-postlaunch.md +109 -0
  207. package/commands/ll-pr.md +84 -0
  208. package/commands/ll-present.md +110 -0
  209. package/commands/ll-product-map.md +152 -0
  210. package/commands/ll-promote.md +352 -0
  211. package/commands/ll-publish.md +124 -0
  212. package/commands/ll-pulse.md +96 -0
  213. package/commands/ll-rag-guided.md +345 -0
  214. package/commands/ll-rag-upgrade.md +504 -0
  215. package/commands/ll-rag.md +343 -0
  216. package/commands/ll-record.md +114 -0
  217. package/commands/ll-refactor.md +71 -0
  218. package/commands/ll-requirements.md +71 -0
  219. package/commands/ll-review.md +92 -0
  220. package/commands/ll-rollback.md +66 -0
  221. package/commands/ll-routemap.md +79 -0
  222. package/commands/ll-rules.md +90 -0
  223. package/commands/ll-shortcuts.md +229 -0
  224. package/commands/ll-sing.md +99 -0
  225. package/commands/ll-site-audit.md +228 -0
  226. package/commands/ll-smart-route.md +92 -0
  227. package/commands/ll-smart-search.md +58 -0
  228. package/commands/ll-storybook.md +86 -0
  229. package/commands/ll-swarm.md +101 -0
  230. package/commands/ll-test.md +97 -0
  231. package/commands/ll-time-machine.md +72 -0
  232. package/commands/ll-ui-convert.md +433 -0
  233. package/commands/ll-video.md +108 -0
  234. package/commands/ll-vision-pipeline.md +247 -0
  235. package/commands/ll-vision.md +74 -0
  236. package/commands/ll-visual-diff.md +118 -0
  237. package/commands/ll-visual-qa.md +204 -0
  238. package/commands/ll-visual-regression.md +96 -0
  239. package/commands/ll-voice.md +138 -0
  240. package/commands/ll-watch.md +65 -0
  241. package/commands/ll-workflow.md +108 -0
  242. package/commands/ll-zen.md +98 -0
  243. package/commands/local-llm.md +12 -0
  244. package/commands/marketplace.md +13 -0
  245. package/commands/mcp-publish.md +16 -0
  246. package/commands/migrate.md +12 -0
  247. package/commands/money.md +12 -0
  248. package/commands/morph.md +12 -0
  249. package/commands/multi-agent.md +12 -0
  250. package/commands/native.md +12 -0
  251. package/commands/nexa.md +12 -0
  252. package/commands/oh.md +12 -0
  253. package/commands/organic-promote.md +16 -0
  254. package/commands/perf-trace.md +12 -0
  255. package/commands/perf.md +12 -0
  256. package/commands/persona.md +12 -0
  257. package/commands/pipe.md +21 -0
  258. package/commands/plan.md +38 -0
  259. package/commands/pr.md +12 -0
  260. package/commands/present.md +12 -0
  261. package/commands/product-map.md +13 -0
  262. package/commands/promote.md +16 -0
  263. package/commands/publish.md +12 -0
  264. package/commands/pulse.md +12 -0
  265. package/commands/q.md +35 -0
  266. package/commands/record.md +12 -0
  267. package/commands/refactor.md +12 -0
  268. package/commands/req.md +40 -0
  269. package/commands/retro.md +33 -0
  270. package/commands/rev.md +39 -0
  271. package/commands/rules.md +19 -0
  272. package/commands/search.md +12 -0
  273. package/commands/sec.md +34 -0
  274. package/commands/ship.md +39 -0
  275. package/commands/sing.md +12 -0
  276. package/commands/site-audit.md +12 -0
  277. package/commands/smart-route.md +13 -0
  278. package/commands/swarm.md +12 -0
  279. package/commands/test.md +39 -0
  280. package/commands/time-machine.md +12 -0
  281. package/commands/ui.md +33 -0
  282. package/commands/video.md +12 -0
  283. package/commands/vision.md +12 -0
  284. package/commands/voice.md +12 -0
  285. package/commands/vr.md +18 -0
  286. package/commands/watch.md +39 -0
  287. package/commands/workflow.md +19 -0
  288. package/commands/zen.md +12 -0
  289. package/package.json +76 -0
  290. package/setup.sh +382 -0
@@ -0,0 +1,261 @@
1
+ {
2
+ "name": "luna-cloudflare",
3
+ "displayName": "Luna Cloudflare Deployment Specialist",
4
+ "description": "Comprehensive Cloudflare deployment agent that converts and deploys complete projects including D1 database, R2 storage, Workers backend, Pages frontend, and domain configuration",
5
+ "version": "1.0.0",
6
+ "category": "deployment",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "infrastructure-migration",
10
+ "cloudflare-workers-deployment",
11
+ "d1-database-setup",
12
+ "r2-storage-configuration",
13
+ "pages-frontend-deployment",
14
+ "domain-configuration",
15
+ "cdn-setup",
16
+ "edge-computing-optimization"
17
+ ],
18
+ "parameters": [
19
+ {
20
+ "name": "project_type",
21
+ "type": "string",
22
+ "description": "Type of project to deploy",
23
+ "required": true,
24
+ "options": ["web-app", "api-only", "static-site", "full-stack", "saas", "e-commerce", "blog", "portfolio"],
25
+ "prompt": true
26
+ },
27
+ {
28
+ "name": "deployment_scope",
29
+ "type": "string",
30
+ "description": "Deployment scope and configuration",
31
+ "required": true,
32
+ "options": ["full-migration", "infrastructure-only", "frontend-only", "backend-only", "database-only", "domain-only"],
33
+ "default": "full-migration"
34
+ },
35
+ {
36
+ "name": "domain_name",
37
+ "type": "string",
38
+ "description": "Custom domain name (optional)",
39
+ "required": false,
40
+ "prompt": "Enter custom domain (or press ENTER to use Cloudflare Pages domain):"
41
+ },
42
+ {
43
+ "name": "database_schema",
44
+ "type": "string",
45
+ "description": "Database schema file path (optional)",
46
+ "required": false,
47
+ "prompt": "Enter database schema file path (or press ENTER for auto-detection):"
48
+ }
49
+ ],
50
+ "prompts": {
51
+ "system": "You are an expert Cloudflare deployment specialist and DevOps engineer. Your task is to analyze projects and deploy them comprehensively to Cloudflare's global edge platform, including Workers, D1, R2, Pages, and domain configuration.",
52
+ "execution": "☁️ Cloudflare Deployment Scope\nPlease specify your project type:\n- web-app: Full-stack web application\n- api-only: API backend service\n- static-site: Static website/blog\n- full-stack: Complete application with database\n- saas: SaaS platform with multi-tenancy\n- e-commerce: E-commerce platform\n- blog: Blog or content site\n- portfolio: Portfolio website\n\nProject type:",
53
+ "followup": "🚀 Deployment Configuration\nWhat deployment scope would you like?\n- full-migration: Complete project migration to Cloudflare\n- infrastructure-only: Cloudflare infrastructure setup only\n- frontend-only: Frontend deployment to Pages\n- backend-only: Backend deployment to Workers\n- database-only: D1 database setup and migration\n- domain-only: Domain and DNS configuration\n\nDeployment scope (default: full-migration):"
54
+ },
55
+ "workflow": [
56
+ "Analyze current project structure and technology stack",
57
+ "Detect existing databases, storage, and deployment configurations",
58
+ "Create Cloudflare Workers architecture for backend services",
59
+ "Configure D1 database with schema migration",
60
+ "Set up R2 storage for static assets and files",
61
+ "Deploy frontend to Cloudflare Pages with build optimization",
62
+ "Configure domain, DNS, and SSL certificates",
63
+ "Set up CDN and edge caching strategies",
64
+ "Create CI/CD pipeline for automatic deployments",
65
+ "Configure monitoring and analytics",
66
+ "Generate deployment documentation and runbooks"
67
+ ],
68
+ "output": {
69
+ "files": [
70
+ {
71
+ "path": ".luna/{project_folder_name}/cloudflare-deployment.md",
72
+ "description": "Comprehensive Cloudflare deployment configuration"
73
+ },
74
+ {
75
+ "path": ".luna/{project_folder_name}/cloudflare/workers/",
76
+ "description": "Cloudflare Workers source code and configuration"
77
+ },
78
+ {
79
+ "path": ".luna/{project_folder_name}/cloudflare/d1/",
80
+ "description": "D1 database schemas and migration scripts"
81
+ },
82
+ {
83
+ "path": ".luna/{project_folder_name}/cloudflare/pages/",
84
+ "description": "Cloudflare Pages configuration and build setup"
85
+ },
86
+ {
87
+ "path": ".luna/{project_folder_name}/cloudflare/r2/",
88
+ "description": "R2 storage configuration and upload scripts"
89
+ },
90
+ {
91
+ "path": ".luna/{project_folder_name}/cloudflare/domain/",
92
+ "description": "Domain and DNS configuration files"
93
+ },
94
+ {
95
+ "path": ".luna/{project_folder_name}/cloudflare/monitoring/",
96
+ "description": "Monitoring and analytics configuration"
97
+ }
98
+ ]
99
+ },
100
+ "dependencies": [
101
+ "luna-requirements-analyzer",
102
+ "luna-design-architect",
103
+ "luna-deployment"
104
+ ],
105
+ "prerequisites": [
106
+ "Cloudflare account with Workers, D1, R2, and Pages access",
107
+ "Wrangler CLI installed and configured",
108
+ "Project structure analysis",
109
+ "Domain access (if using custom domain)"
110
+ ],
111
+ "cloudflare_stack": {
112
+ "workers": {
113
+ "runtime": "Node.js 20+ with compatibility dates",
114
+ "compatibility_date": "2024-01-01",
115
+ "compatibility_flags": ["nodejs_compat"],
116
+ "services": ["api", "auth", "middleware", "background"],
117
+ "durable_objects": ["sessions", "cache", "queues"],
118
+ "kv_namespaces": ["config", "cache", "analytics"]
119
+ },
120
+ "d1": {
121
+ "database_name": "{project_name}_db",
122
+ "backup_retention": "7 days",
123
+ "query_timeout": "30 seconds",
124
+ "max_connections": "100",
125
+ "migration_strategy": "blue-green"
126
+ },
127
+ "r2": {
128
+ "bucket_name": "{project_name}_storage",
129
+ "public_access": false,
130
+ "cors_configuration": "enabled",
131
+ "lifecycle_rules": "30 days cleanup",
132
+ "multipart_upload": "enabled"
133
+ },
134
+ "pages": {
135
+ "build_command": "npm run build",
136
+ "build_output": "dist",
137
+ "node_version": "20",
138
+ "environment_variables": "production",
139
+ "functions": "edge middleware",
140
+ "redirects": "configured",
141
+ "headers": "security optimized"
142
+ },
143
+ "domain": {
144
+ "ssl": "strict",
145
+ "tls_version": "1.3",
146
+ "http2": "enabled",
147
+ "compression": "enabled",
148
+ "minify": "enabled",
149
+ "cache_level": "standard"
150
+ }
151
+ },
152
+ "project_types": {
153
+ "web-app": {
154
+ "description": "Full-stack web application with database",
155
+ "components": ["workers-backend", "d1-database", "r2-storage", "pages-frontend", "custom-domain"],
156
+ "build_tools": ["vite", "webpack", "rollup"],
157
+ "frameworks": ["react", "vue", "svelte", "angular", "next.js", "nuxt"]
158
+ },
159
+ "api-only": {
160
+ "description": "API backend service with database",
161
+ "components": ["workers-api", "d1-database", "r2-storage", "custom-domain"],
162
+ "protocols": ["rest", "graphql", "websocket"],
163
+ "authentication": ["jwt", "oauth", "api-key"]
164
+ },
165
+ "static-site": {
166
+ "description": "Static website or blog",
167
+ "components": ["pages-frontend", "r2-storage", "custom-domain"],
168
+ "generators": ["vitepress", "next-static", "hugo", "jekyll", "gatsby"],
169
+ "optimization": ["image-optimization", "css-minification", "js-minification"]
170
+ },
171
+ "full-stack": {
172
+ "description": "Complete application with all services",
173
+ "components": ["workers-backend", "d1-database", "r2-storage", "pages-frontend", "custom-domain", "analytics"],
174
+ "features": ["authentication", "authorization", "file-uploads", "real-time", "caching"]
175
+ },
176
+ "saas": {
177
+ "description": "SaaS platform with multi-tenancy",
178
+ "components": ["workers-backend", "d1-database", "r2-storage", "pages-frontend", "custom-domain", "billing"],
179
+ "features": ["multi-tenancy", "subscription-management", "analytics", "monitoring", "api-rate-limiting"]
180
+ },
181
+ "e-commerce": {
182
+ "description": "E-commerce platform with payment processing",
183
+ "components": ["workers-backend", "d1-database", "r2-storage", "pages-frontend", "custom-domain", "payment"],
184
+ "features": ["product-catalog", "shopping-cart", "payment-processing", "inventory", "analytics"]
185
+ },
186
+ "blog": {
187
+ "description": "Blog or content platform",
188
+ "components": ["pages-frontend", "r2-storage", "custom-domain", "analytics"],
189
+ "features": ["content-management", "seo-optimization", "comments", "analytics", "search"]
190
+ },
191
+ "portfolio": {
192
+ "description": "Portfolio or showcase website",
193
+ "components": ["pages-frontend", "r2-storage", "custom-domain"],
194
+ "features": ["image-gallery", "contact-form", "analytics", "seo-optimization"]
195
+ }
196
+ },
197
+ "migration_strategies": {
198
+ "database_migration": {
199
+ "source_analysis": "Analyze existing database structure",
200
+ "schema_conversion": "Convert to D1 compatible SQL",
201
+ "data_migration": "Migrate data with zero downtime",
202
+ "validation": "Verify data integrity post-migration"
203
+ },
204
+ "storage_migration": {
205
+ "asset_analysis": "Analyze existing storage needs",
206
+ "upload_strategy": "Batch upload to R2 with resume capability",
207
+ "cdn_configuration": "Configure R2 CDN distribution",
208
+ "fallback_setup": "Configure backup storage strategy"
209
+ },
210
+ "domain_migration": {
211
+ "dns_analysis": "Analyze current DNS configuration",
212
+ "ssl_setup": "Configure SSL certificates",
213
+ "redirects": "Set up proper redirects",
214
+ "testing": "Test domain configuration thoroughly"
215
+ }
216
+ },
217
+ "deployment_checklist": {
218
+ "pre_deployment": [
219
+ "Cloudflare account verification",
220
+ "Domain ownership confirmation",
221
+ "API token configuration",
222
+ "Project structure analysis",
223
+ "Dependency compatibility check"
224
+ ],
225
+ "deployment": [
226
+ "Workers deployment and testing",
227
+ "D1 database creation and migration",
228
+ "R2 bucket setup and configuration",
229
+ "Pages site creation and build",
230
+ "Domain and DNS configuration",
231
+ "SSL certificate verification"
232
+ ],
233
+ "post_deployment": [
234
+ "Functionality testing",
235
+ "Performance monitoring setup",
236
+ "Analytics configuration",
237
+ "Backup verification",
238
+ "Documentation generation"
239
+ ]
240
+ },
241
+ "optimization_strategies": {
242
+ "edge_caching": {
243
+ "static_assets": "Cache static assets at edge",
244
+ "api_responses": "Cache API responses with proper TTL",
245
+ "database_queries": "Cache frequent database queries",
246
+ "user_sessions": "Store sessions at edge for performance"
247
+ },
248
+ "image_optimization": {
249
+ "format_conversion": "Convert images to WebP format",
250
+ "responsive_images": "Generate responsive image variants",
251
+ "compression": "Compress images without quality loss",
252
+ "cdn_distribution": "Distribute images via R2 CDN"
253
+ },
254
+ "code_optimization": {
255
+ "minification": "Minify JavaScript and CSS",
256
+ "tree_shaking": "Remove unused code",
257
+ "code_splitting": "Split code for optimal loading",
258
+ "bundle_analysis": "Analyze bundle sizes and optimize"
259
+ }
260
+ }
261
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "luna-code-review",
3
+ "displayName": "Luna Code Review Agent",
4
+ "description": "Perform comprehensive code reviews of implemented features, identifying issues, suggesting improvements, and ensuring code meets project standards",
5
+ "version": "1.0.0",
6
+ "category": "quality",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "code-quality-analysis",
10
+ "security-review",
11
+ "performance-analysis",
12
+ "test-coverage-review",
13
+ "compliance-validation"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a senior software engineer and code reviewer with expertise in code quality, security, performance, and best practices. Your task is to perform comprehensive code reviews of implemented features, identifying issues, suggesting improvements, and ensuring code meets project standards.",
26
+ "execution": "Please specify the scope for code review:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist in .luna/{project}/{feature}/",
32
+ "Review implementation-plan.md for completed tasks",
33
+ "Identify all modified and new files (scope to feature if applicable)",
34
+ "Review git diff for changes since last review",
35
+ "Check against design specifications and requirements from same directory",
36
+ "Run automated analysis tools if available",
37
+ "Document all findings with severity levels",
38
+ "Provide specific, actionable recommendations",
39
+ "Generate comprehensive review report",
40
+ "Save to .luna/{project}/{feature}/code-review-report.md",
41
+ "Provide summary to user with critical issues highlighted"
42
+ ],
43
+ "output": {
44
+ "files": [
45
+ {
46
+ "path": ".luna/{project_folder_name}/code-review-report.md",
47
+ "description": "Comprehensive code review report with findings and recommendations"
48
+ },
49
+ {
50
+ "path": ".luna/{project_folder_name}/{feature_name}/code-review-report.md",
51
+ "description": "Feature-specific code review report"
52
+ }
53
+ ]
54
+ },
55
+ "dependencies": [
56
+ "luna-task-executor"
57
+ ],
58
+ "prerequisites": [
59
+ ".luna/{project_folder_name}/implementation-plan.md",
60
+ ".luna/{project_folder_name}/design.md",
61
+ ".luna/{project_folder_name}/requirements.md"
62
+ ]
63
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "luna-deployment",
3
+ "displayName": "Luna Deployment Agent",
4
+ "description": "Deploy applications to production environments safely, configure infrastructure, set up monitoring, and ensure successful production launches with rollback capabilities",
5
+ "version": "1.0.0",
6
+ "category": "deployment",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "production-deployment",
10
+ "infrastructure-setup",
11
+ "monitoring-configuration",
12
+ "ci-cd-pipeline",
13
+ "rollback-procedures"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a senior DevOps engineer and site reliability engineer. Your task is to deploy applications to production environments safely, configure infrastructure, set up monitoring, and ensure successful production launches with rollback capabilities.",
26
+ "execution": "Please specify the scope for this deployment:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist in .luna/{project}/{feature}/",
32
+ "Verify all pre-deployment checks pass",
33
+ "Configure production infrastructure",
34
+ "Set up monitoring and alerts",
35
+ "Execute deployment to staging",
36
+ "Run smoke tests on staging",
37
+ "Deploy to production",
38
+ "Run health checks and validations",
39
+ "Monitor application for issues",
40
+ "Document deployment process",
41
+ "Generate comprehensive deployment report",
42
+ "Save to .luna/{project}/{feature}/deployment-report.md",
43
+ "Provide deployment summary to user"
44
+ ],
45
+ "output": {
46
+ "files": [
47
+ {
48
+ "path": ".luna/{project_folder_name}/deployment-report.md",
49
+ "description": "Comprehensive deployment report with timeline and validation results"
50
+ },
51
+ {
52
+ "path": ".luna/{project_folder_name}/{feature_name}/deployment-report.md",
53
+ "description": "Feature-specific deployment report"
54
+ }
55
+ ]
56
+ },
57
+ "dependencies": [
58
+ "luna-task-executor",
59
+ "luna-code-review",
60
+ "luna-testing-validation"
61
+ ],
62
+ "prerequisites": [
63
+ ".luna/{project_folder_name}/implementation-plan.md",
64
+ ".luna/{project_folder_name}/code-review-report.md",
65
+ ".luna/{project_folder_name}/test-validation-report.md",
66
+ ".luna/{project_folder_name}/design.md"
67
+ ]
68
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "luna-documentation",
3
+ "displayName": "Luna Documentation Agent",
4
+ "description": "Create comprehensive, user-friendly documentation for the application, including API documentation, user guides, deployment guides, and developer documentation",
5
+ "version": "1.0.0",
6
+ "category": "documentation",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "technical-writing",
10
+ "api-documentation",
11
+ "user-guides",
12
+ "developer-docs",
13
+ "documentation-structure"
14
+ ],
15
+ "parameters": [
16
+ {
17
+ "name": "scope",
18
+ "type": "string",
19
+ "description": "Project scope - press ENTER for entire project or enter a feature name",
20
+ "required": true,
21
+ "prompt": true
22
+ }
23
+ ],
24
+ "prompts": {
25
+ "system": "You are a technical writer and documentation specialist. Your task is to create comprehensive, user-friendly documentation for the application, including API documentation, user guides, deployment guides, and developer documentation.",
26
+ "execution": "Please specify the scope for this documentation:\n- Press ENTER for entire project (will use project folder name)\n- Or enter a feature name (e.g., \"user-authentication\", \"payment-integration\")\n\nFeature name:"
27
+ },
28
+ "workflow": [
29
+ "Prompt user for feature/project scope and wait for input",
30
+ "Determine project folder name from current directory",
31
+ "Validate required files exist in .luna/{project}/{feature}/",
32
+ "Review all project documentation needs",
33
+ "Read requirements, design, and implementation plans from .luna/{project}/{feature}/",
34
+ "Analyze existing documentation",
35
+ "Identify gaps and outdated content",
36
+ "Create documentation structure",
37
+ "Write user-facing documentation",
38
+ "Write developer documentation",
39
+ "Generate API reference documentation",
40
+ "Create operations documentation",
41
+ "Test all examples and procedures",
42
+ "Review for clarity and completeness",
43
+ "Generate final documentation set",
44
+ "Provide documentation summary with references to .luna/ specs"
45
+ ],
46
+ "output": {
47
+ "files": [
48
+ {
49
+ "path": "docs/README.md",
50
+ "description": "Main documentation index referencing Luna specifications"
51
+ },
52
+ {
53
+ "path": "docs/getting-started.md",
54
+ "description": "User getting started guide"
55
+ },
56
+ {
57
+ "path": "docs/api-reference.md",
58
+ "description": "Complete API documentation"
59
+ },
60
+ {
61
+ "path": "docs/developer-guide.md",
62
+ "description": "Developer setup and contribution guide"
63
+ },
64
+ {
65
+ "path": "docs/deployment-guide.md",
66
+ "description": "Production deployment documentation"
67
+ },
68
+ {
69
+ "path": "docs/troubleshooting.md",
70
+ "description": "Troubleshooting and FAQ"
71
+ }
72
+ ]
73
+ },
74
+ "dependencies": [
75
+ "luna-deployment",
76
+ "luna-task-executor",
77
+ "luna-design-architect"
78
+ ],
79
+ "prerequisites": [
80
+ ".luna/{project_folder_name}/requirements.md",
81
+ ".luna/{project_folder_name}/design.md",
82
+ ".luna/{project_folder_name}/implementation-plan.md",
83
+ ".luna/{project_folder_name}/deployment-report.md"
84
+ ]
85
+ }
@@ -0,0 +1,128 @@
1
+ {
2
+ "name": "luna-hig",
3
+ "displayName": "Luna Apple HIG Designer",
4
+ "description": "Comprehensive Apple Human Interface Guidelines compliance analysis and design system implementation for creating polished, professional user experiences on Apple platforms",
5
+ "version": "1.0.0",
6
+ "category": "design",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "hig-compliance-analysis",
10
+ "design-system-generation",
11
+ "ui-component-creation",
12
+ "accessibility-validation",
13
+ "apple-design-principles",
14
+ "responsive-layout-design",
15
+ "motion-animation-design",
16
+ "color-typography-systems"
17
+ ],
18
+ "parameters": [
19
+ {
20
+ "name": "scope",
21
+ "type": "string",
22
+ "description": "Design scope - press ENTER for entire project or enter a component/feature name",
23
+ "required": true,
24
+ "prompt": true
25
+ },
26
+ {
27
+ "name": "analysis_type",
28
+ "type": "string",
29
+ "description": "Type of HIG analysis to perform",
30
+ "required": false,
31
+ "options": ["compliance", "design-system", "components", "accessibility", "colors", "typography", "layout", "motion"],
32
+ "default": "compliance"
33
+ }
34
+ ],
35
+ "prompts": {
36
+ "system": "You are an expert Apple Human Interface Guidelines specialist and UI/UX designer. Your task is to analyze projects for HIG compliance and create comprehensive design system implementations following Apple's design principles.",
37
+ "execution": "🎨 Apple HIG Design Scope\nPlease specify the scope for this HIG analysis:\n- Press ENTER for entire project analysis\n- Or enter a component/feature name (e.g., \"navigation\", \"buttons\", \"cards\")\n\nDesign scope:",
38
+ "followup": "🔍 Analysis Type\nWhat type of HIG analysis would you like?\n- compliance: Full HIG compliance review\n- design-system: Complete design system generation\n- components: Component-specific analysis\n- accessibility: Accessibility compliance review\n- colors: Color palette analysis\n- typography: Typography guidelines\n- layout: Layout and spacing analysis\n- motion: Animation and motion design\n\nAnalysis type (default: compliance):"
39
+ },
40
+ "workflow": [
41
+ "Determine project folder name from current directory",
42
+ "Analyze existing UI components and design patterns",
43
+ "Review current design against Apple HIG principles",
44
+ "Identify compliance gaps and improvement opportunities",
45
+ "Generate comprehensive HIG compliance report",
46
+ "Create design system specifications and components",
47
+ "Provide implementation-ready code examples",
48
+ "Generate accessibility compliance guidelines",
49
+ "Create visual design documentation"
50
+ ],
51
+ "output": {
52
+ "files": [
53
+ {
54
+ "path": ".luna/{project_folder_name}/hig-analysis.md",
55
+ "description": "Comprehensive HIG compliance analysis report"
56
+ },
57
+ {
58
+ "path": ".luna/{project_folder_name}/{feature_name}/hig-analysis.md",
59
+ "description": "Feature-specific HIG analysis"
60
+ },
61
+ {
62
+ "path": ".luna/{project_folder_name}/design-system/hig-tokens.md",
63
+ "description": "Apple HIG design tokens and specifications"
64
+ },
65
+ {
66
+ "path": ".luna/{project_folder_name}/design-system/components.md",
67
+ "description": "HIG-compliant component library"
68
+ }
69
+ ]
70
+ },
71
+ "dependencies": [
72
+ "luna-requirements-analyzer",
73
+ "luna-design-architect"
74
+ ],
75
+ "prerequisites": [
76
+ "Existing UI components or design files",
77
+ "Project structure with frontend code"
78
+ ],
79
+ "apple_hig_principles": {
80
+ "clarity": {
81
+ "typography": "Text is legible at all sizes, use system fonts",
82
+ "icons": "Precise, simple, and immediately recognizable",
83
+ "negative_space": "Ample padding makes content breathable",
84
+ "contrast": "Sufficient contrast for readability (WCAG AA minimum)"
85
+ },
86
+ "deference": {
87
+ "content_first": "UI should never compete with content",
88
+ "translucency": "Blur effects provide context without distraction",
89
+ "minimal_chrome": "Reduce UI elements to essentials",
90
+ "full_screen": "Content fills the entire screen"
91
+ },
92
+ "depth": {
93
+ "layering": "Use shadows and elevation to show hierarchy",
94
+ "motion": "Realistic animations convey spatial relationships",
95
+ "transitions": "Maintain context during navigation",
96
+ "z_axis": "Stack elements naturally"
97
+ }
98
+ },
99
+ "design_system_elements": {
100
+ "typography": {
101
+ "font_family": "San Francisco (SF Pro), system fonts",
102
+ "scale": [11, 13, 15, 17, 20, 24, 28, 34, 48, 60],
103
+ "weights": ["Regular (400)", "Medium (500)", "Semibold (600)", "Bold (700)"],
104
+ "line_height": "1.2–1.5 for body text",
105
+ "letter_spacing": "Tight for large headings, normal for body"
106
+ },
107
+ "colors": {
108
+ "system_colors": {
109
+ "blue": "#007AFF (Primary action)",
110
+ "green": "#34C759 (Success)",
111
+ "red": "#FF3B30 (Destructive)",
112
+ "orange": "#FF9500 (Warning)",
113
+ "gray": "#8E8E93 (Secondary text)"
114
+ }
115
+ },
116
+ "spacing": {
117
+ "base_unit": "4px or 8px",
118
+ "common_spacings": [4, 8, 12, 16, 20, 24, 32, 40, 48, 64],
119
+ "padding": "16px standard, 20-24px for comfortable spacing",
120
+ "margins": "8-16px between related elements"
121
+ },
122
+ "touch_targets": {
123
+ "minimum_size": "44x44pt (iOS), 48x48dp (Android)",
124
+ "comfortable_size": "48x48pt or larger",
125
+ "spacing": "8px minimum between interactive elements"
126
+ }
127
+ }
128
+ }