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,113 @@
1
+ ---
2
+ name: ll-autopilot
3
+ displayName: Luna Autopilot
4
+ description: Fully autonomous development — give Luna a goal, it plans, codes, tests, reviews, fixes, and ships without intervention
5
+ version: 1.0.0
6
+ category: orchestration
7
+ agent: luna-task-executor
8
+ parameters:
9
+ - name: goal
10
+ type: string
11
+ description: What you want built, fixed, or shipped — in plain English
12
+ required: true
13
+ prompt: true
14
+ - name: budget
15
+ type: number
16
+ description: "Max iterations before stopping for human review (default: 20)"
17
+ required: false
18
+ default: 20
19
+ - name: auto_ship
20
+ type: boolean
21
+ description: "Auto-deploy when done? (default: false — stops for approval)"
22
+ required: false
23
+ default: false
24
+ mcp_servers:
25
+ - ruflo
26
+ - git
27
+ - memory
28
+ - sequential-thinking
29
+ - playwright
30
+ - zai-mcp-server
31
+ - accessibility-scanner
32
+ - fetch
33
+ ---
34
+
35
+ # /autopilot — Set the Goal, Walk Away
36
+
37
+ The most powerful command in Luna. Give it a goal in plain English. Luna autonomously plans, implements, tests, reviews, fixes, and optionally ships — learning from each iteration.
38
+
39
+ ## Autonomous Loop
40
+
41
+ ```
42
+ /autopilot "Add Stripe billing with free trial, pro plan, and team plan"
43
+
44
+
45
+ ┌─── THINK ──────────┐
46
+ │ Analyze the goal │
47
+ │ Break into tasks │
48
+ │ Identify risks │
49
+ │ Plan approach │
50
+ │ (sequential-thinking)│
51
+ └────────┬────────────┘
52
+
53
+ ┌─── EXECUTE ────────┐
54
+ │ For each task: │
55
+ │ ├── Code it │
56
+ │ ├── Test it │
57
+ │ ├── Review it │
58
+ │ ├── Fix issues │
59
+ │ └── Mark complete │
60
+ │ (ruflo swarm) │
61
+ └────────┬────────────┘
62
+
63
+ ┌─── VERIFY ─────────┐
64
+ │ Run full test suite │
65
+ │ Visual QA check │
66
+ │ Security scan │
67
+ │ A11y compliance │
68
+ │ Performance check │
69
+ └────────┬────────────┘
70
+
71
+ PASS? ──NO──→ FIX ──→ back to EXECUTE
72
+
73
+ YES
74
+
75
+ ┌─── DELIVER ────────┐
76
+ │ Generate changelog │
77
+ │ Create PR or deploy │
78
+ │ Update docs │
79
+ │ Store learnings │
80
+ └─────────────────────┘
81
+ ```
82
+
83
+ ## The Difference
84
+
85
+ | Traditional | Luna Autopilot |
86
+ |------------|---------------|
87
+ | You plan tasks | Luna plans tasks |
88
+ | You code each one | Luna codes each one |
89
+ | You run tests manually | Luna runs tests automatically |
90
+ | You fix failures | Luna fixes failures |
91
+ | You request review | Luna reviews its own code |
92
+ | You deploy manually | Luna deploys with confidence |
93
+ | **Hours of work** | **One command, walk away** |
94
+
95
+ ## Usage
96
+
97
+ ```bash
98
+ /autopilot "Add user authentication with email, Google OAuth, and magic links"
99
+ /autopilot "Refactor the API from REST to GraphQL" --budget 30
100
+ /autopilot "Fix all accessibility violations" --budget 15
101
+ /autopilot "Add dark mode to the entire dashboard" --auto-ship
102
+ /autopilot "Build a CLI that generates reports from our API"
103
+ /autopilot "Migrate from Prisma to Drizzle ORM"
104
+ ```
105
+
106
+ ## Safety
107
+
108
+ - **Budget limit**: Stops after N iterations (default 20) for human review
109
+ - **Auto-ship disabled by default**: Always asks before deploying
110
+ - **Checkpoint commits**: Every successful task gets its own git commit
111
+ - **Rollback ready**: Can undo any autopilot session with one command
112
+ - **Learning**: Each autopilot run makes the next one smarter
113
+ ```
@@ -0,0 +1,106 @@
1
+ ---
2
+ name: ll-boost-finsavvy
3
+ displayName: Luna Boost FinsavvyAI Projects
4
+ description: Analyze and boost any FinsavvyAI portfolio project using shared libraries, Claw Gateway, and cross-project synergies
5
+ version: 1.0.0
6
+ category: infrastructure
7
+ agent: luna-task-executor
8
+ parameters:
9
+ - name: path
10
+ type: string
11
+ description: "Project path"
12
+ required: false
13
+ default: "."
14
+ prompt: true
15
+ - name: action
16
+ type: string
17
+ description: "analyze (assess + plan), connect (register on gateway), sync (apply shared libs)"
18
+ required: false
19
+ default: analyze
20
+ prerequisites: []
21
+ ---
22
+
23
+ # Luna Boost FinsavvyAI Projects
24
+
25
+ Analyze any project in the FinsavvyAI portfolio and generate a plan using shared private infrastructure, @finsavvyai libraries, and cross-project synergies.
26
+
27
+ ## What This Knows About
28
+
29
+ ### Shared Infrastructure (Deployed)
30
+ - **Claw Gateway** — shared AI proxy at claw-gateway.workers.dev (8 projects connected)
31
+ - **ReasoningBank** — KV prompt cache (30% token savings)
32
+ - **Agent Booster** — skip LLM for simple transforms (<1ms, $0)
33
+ - **Context Packing** — trim context (40-60% savings)
34
+ - **Smart Router** — self-learning model selection
35
+ - **Hybrid Search** — sparse+dense RRF fusion
36
+ - **Credit System** — gamification with achievements
37
+ - **Queen-Led Swarm** — multi-agent task decomposition (OpenSyber)
38
+ - **Self-Learning SDK** — client-side caching + outcome tracking
39
+
40
+ ### @finsavvyai Shared Libraries (Master Ship Plan)
41
+ - **@finsavvyai/pay** — Stripe + LemonSqueezy unified payments
42
+ - **@finsavvyai/auth** — Clerk, Supabase, CF Access, JWT middleware
43
+ - **@finsavvyai/test-config** — Vitest/Playwright presets, 95%+ coverage
44
+ - **@finsavvyai/llm** — Multi-provider AI client with fallback chains
45
+ - **@finsavvyai/monitor** — Sentry + Prometheus + structured logging
46
+ - **@finsavvyai/cf-stack** — Cloudflare Workers toolkit (Hono + D1 + KV)
47
+ - **@finsavvyai/db** — Drizzle schema templates + migration helpers
48
+ - **@finsavvyai/ui** — Apple HIG design system components
49
+
50
+ ### Portfolio Projects (44 total, 8 on gateway)
51
+ Connected: LunaOS, CodeRailFlow, Aegis, OpenSyber, Push-CI, PipeWarden, QueryFlux, Qestro
52
+
53
+ ### Revenue Bundles (Master Ship Plan)
54
+ - **Security Suite** — OpenSyber + PipeWarden + Coderail.dev
55
+ - **DevX Platform** — QueryFlux + MCPOverflow + AutoBoot
56
+ - **FinTech Bundle** — FinTech Suite + PipeWarden
57
+ - **Israeli Market** — YallaBye + Moneh Hacham + Hashmal
58
+ - **AI Agents** — LunaOS + FinSavvyAI + A2A + Skill Seekers
59
+
60
+ ### Shipping Waves
61
+ - Wave 1 (ship now): Luna-OS, FinSavvyAI, FinTech Suite, Skill Seekers, SubsForge, CoderailFlow, OpenSyber, AutoBoot
62
+ - Wave 2 (quick builds): PipeWarden, TenantIQ, Qestro, DevWrapped, UPM, ViralSplit, ScanGenie
63
+ - Wave 3-5: remaining 24 projects
64
+
65
+ ## Analysis Steps
66
+
67
+ 1. **Identify** — what is this project, what stack, what wave
68
+ 2. **Check gateway** — is it registered on Claw? If not, register it
69
+ 3. **Check shared libs** — which @finsavvyai packages does it need
70
+ 4. **Check intelligence features** — which of the 9 features apply
71
+ 5. **Check synergies** — which other projects does it complement
72
+ 6. **Check bundle** — which revenue bundle does it belong to
73
+ 7. **Generate plan** — prioritized steps with effort estimates
74
+
75
+ ## Usage
76
+
77
+ ```bash
78
+ # Analyze current project
79
+ /boost-finsavvy
80
+
81
+ # Register on gateway + apply shared libs
82
+ /boost-finsavvy . connect
83
+
84
+ # Sync shared library versions
85
+ /boost-finsavvy . sync
86
+ ```
87
+
88
+ ## Output
89
+
90
+ ```
91
+ .luna/{project}/boost-finsavvy/
92
+ status.md # Gateway connection, shared lib usage
93
+ plan.md # Integration steps
94
+ synergies.md # Cross-project opportunities
95
+ bundle.md # Revenue bundle position
96
+ ```
97
+
98
+ ## In Pipes
99
+
100
+ ```bash
101
+ # Full portfolio boost
102
+ /pipe boost-finsavvy /path/to/project >> connect-infra . >> boost-project .
103
+
104
+ # Prepare for shipping
105
+ /pipe boost-finsavvy . >> site-audit https://myapp.com >> fix >> ship
106
+ ```
@@ -0,0 +1,161 @@
1
+ ---
2
+ name: ll-boost-org
3
+ displayName: Luna Boost Organization
4
+ description: Scan a GitHub org/user's repos, find cross-repo synergies, and map open-source tools to boost the entire portfolio
5
+ version: 1.0.0
6
+ category: analysis
7
+ agent: luna-task-executor
8
+ parameters:
9
+ - name: org
10
+ type: string
11
+ description: "GitHub org or username (e.g., 'finsavvyai', 'lunaos-ai', 'vercel')"
12
+ required: true
13
+ prompt: true
14
+ - name: depth
15
+ type: string
16
+ description: "quick (README only), full (+ key files), deep (+ code analysis)"
17
+ required: false
18
+ default: full
19
+ - name: boost
20
+ type: string
21
+ description: "What to optimize: synergies, open-source, shared-libs, all"
22
+ required: false
23
+ default: all
24
+ prerequisites: []
25
+ ---
26
+
27
+ # Luna Boost Organization
28
+
29
+ Give it any GitHub org or user — it scans every repo, discovers how they relate, finds shared patterns, and maps open-source tools to supercharge the entire portfolio.
30
+
31
+ ## What It Does
32
+
33
+ ### Phase 1: Scan
34
+ - Fetches all repos via `gh api users/{org}/repos`
35
+ - For each repo: reads README, package.json/go.mod, key source files
36
+ - Classifies: stack, domain, maturity, stars, activity
37
+
38
+ ### Phase 2: Correlate
39
+ - Detects shared dependencies across repos
40
+ - Identifies duplicate code patterns (same auth, billing, logging)
41
+ - Finds repos that should share a library but don't
42
+ - Maps which repos complement each other (e.g., API + frontend)
43
+ - Identifies orphan repos (no relation to anything)
44
+
45
+ ### Phase 3: Map Open Source
46
+ For each repo AND for cross-repo opportunities:
47
+
48
+ **AI / LLM layer:**
49
+ - [llamafile](https://github.com/mozilla-ai/llamafile) — any repo doing AI can run offline
50
+ - [any-llm](https://github.com/mozilla-ai/any-llm) — Python repos with multiple LLM providers
51
+
52
+ **Search / Data:**
53
+ - [RuVector](https://github.com/ruvnet/RuVector) — any repo with vector search or RAG
54
+ - Hybrid search pattern — combine keyword + semantic
55
+
56
+ **Voice / Media:**
57
+ - [Voicebox](https://github.com/jamiepine/voicebox) — any repo generating content
58
+ - [LLaMA-Mesh](https://github.com/nv-tlabs/LLaMA-Mesh) — marketing 3D heroes
59
+
60
+ **Testing / Quality:**
61
+ - [flakestress](https://github.com/bradfitz/flakestress) — any repo with tests
62
+ - [Perfetto](https://github.com/google/perfetto) — any web app or API
63
+
64
+ **UI / Charts:**
65
+ - [Victory](https://github.com/FormidableLabs/victory) — any repo with a dashboard
66
+
67
+ **Networking:**
68
+ - [Tailscale](https://github.com/tailscale/tailscale) — repos that talk to each other
69
+
70
+ **Architecture patterns:**
71
+ - ruflo patterns — any repo doing AI agent orchestration
72
+ - Dossier patterns — any repo needing visual planning
73
+ - flow-nexus patterns — any repo that could benefit from gamification
74
+
75
+ ### Phase 4: Shared Library Plan
76
+ Identifies what should be extracted into shared packages:
77
+ - Common auth patterns → `@{org}/auth`
78
+ - Common payment logic → `@{org}/pay`
79
+ - Common test config → `@{org}/test-config`
80
+ - Common UI components → `@{org}/ui`
81
+ - Common LLM client → `@{org}/llm`
82
+
83
+ ### Phase 5: Revenue Bundles
84
+ Groups repos into complementary product bundles:
85
+ - Security suite (monitoring + scanning + compliance)
86
+ - Developer toolkit (CLI + IDE + testing)
87
+ - AI platform (agents + orchestration + marketplace)
88
+
89
+ ## Usage
90
+
91
+ ```bash
92
+ # Scan your own org
93
+ /boost-org finsavvyai
94
+
95
+ # Scan any GitHub org
96
+ /boost-org vercel
97
+ /boost-org anthropics
98
+
99
+ # Scan a user
100
+ /boost-org karpathy
101
+
102
+ # Quick scan (READMEs only)
103
+ /boost-org finsavvyai quick
104
+
105
+ # Focus on open-source mapping only
106
+ /boost-org finsavvyai full open-source
107
+ ```
108
+
109
+ ## Output
110
+
111
+ ```
112
+ .luna/boost-org/{org}/
113
+ repos.md # All repos classified
114
+ correlation-map.md # How repos relate to each other
115
+ duplicates.md # Shared patterns that should be libraries
116
+ open-source-map.md # Which tools apply to which repos
117
+ shared-lib-plan.md # Proposed shared packages
118
+ bundles.md # Revenue bundle groupings
119
+ roadmap.md # Prioritized cross-repo improvements
120
+ orphans.md # Repos with no clear connection
121
+ ```
122
+
123
+ ## Example Output (for an org with 10+ repos)
124
+
125
+ ```markdown
126
+ # finsavvyai — 39 Repos Analyzed
127
+
128
+ ## Correlation Clusters
129
+ Cluster 1: AI Platform (5 repos)
130
+ luna-os ←→ finsavvyai ←→ skill-seekers ←→ a2a-framework
131
+ Shared: LLM calls, agent orchestration, MCP protocol
132
+
133
+ Cluster 2: Security (3 repos)
134
+ opensyber ←→ pipewarden ←→ coderail-dev
135
+ Shared: security scanning, compliance, monitoring
136
+
137
+ Cluster 3: Fintech (3 repos)
138
+ fintech-suite ←→ global-remit ←→ hashmal
139
+ Shared: payment processing, KYC, compliance
140
+
141
+ ## Shared Library Candidates
142
+ 1. LLM Client (used in 12 repos) → @finsavvyai/llm
143
+ 2. Auth Middleware (used in 9 repos) → @finsavvyai/auth
144
+ 3. Payment SDK (used in 11 repos) → @finsavvyai/pay
145
+
146
+ ## Open Source Boost Map
147
+ llamafile → 8 repos (any with AI)
148
+ Victory → 6 repos (any with dashboard)
149
+ flakestress → all 39 repos (testing)
150
+ Perfetto → 12 repos (web apps)
151
+ ```
152
+
153
+ ## In Pipes
154
+
155
+ ```bash
156
+ # Scan org then boost individual projects
157
+ /pipe boost-org finsavvyai >> boost-project /path/to/top-priority
158
+
159
+ # Full portfolio optimization
160
+ /pipe boost-org myorg >> leverage user:competitor
161
+ ```
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: ll-boost-project
3
+ displayName: Luna Boost Project
4
+ description: Analyze any project and generate an integration plan using open-source tools from GitHub
5
+ version: 2.0.0
6
+ category: analysis
7
+ agent: luna-task-executor
8
+ parameters:
9
+ - name: path
10
+ type: string
11
+ description: "Project path (e.g., '.' for current)"
12
+ required: false
13
+ default: "."
14
+ prompt: true
15
+ - name: depth
16
+ type: string
17
+ description: "quick, full, deep"
18
+ required: false
19
+ default: full
20
+ prerequisites: []
21
+ ---
22
+
23
+ # Luna Boost Project — Leverage Open Source to Supercharge Any Project
24
+
25
+ Scans your codebase, classifies what it does, and maps it against 20+ curated open-source tools to generate a specific integration plan.
26
+
27
+ ## Open-Source Tool Library
28
+
29
+ ### AI / LLM
30
+ - [llamafile](https://github.com/mozilla-ai/llamafile) — Run LLMs as single executables, free, offline
31
+ - [any-llm](https://github.com/mozilla-ai/any-llm) — Unified Python SDK for multiple LLM providers
32
+ - [nanoGPT](https://github.com/karpathy/nanoGPT) — Minimal GPT training (~300 lines)
33
+ - [llm.c](https://github.com/karpathy/llm.c) — Train GPT-2/3 in raw C/CUDA
34
+
35
+ ### 3D / Visual
36
+ - [LLaMA-Mesh](https://github.com/nv-tlabs/LLaMA-Mesh) — Text-to-3D mesh generation
37
+ - [3DGRUT](https://github.com/nv-tlabs/3dgrut) — 3D Gaussian ray tracing renderer
38
+ - [PPISP](https://github.com/nv-tlabs/ppisp) — Camera correction for 3D renders
39
+
40
+ ### Voice
41
+ - [Voicebox](https://github.com/jamiepine/voicebox) — Free local TTS + voice cloning, 23 languages
42
+
43
+ ### Performance / Testing
44
+ - [Perfetto](https://github.com/google/perfetto) — Performance tracing + SQL analysis
45
+ - [flakestress](https://github.com/bradfitz/flakestress) — Detect flaky tests under stress
46
+
47
+ ### Networking
48
+ - [Tailscale](https://github.com/tailscale/tailscale) — Zero-config WireGuard mesh VPN
49
+
50
+ ### UI
51
+ - [Victory](https://github.com/FormidableLabs/victory) — Composable React charts
52
+ - [Spacedrive](https://github.com/spacedriveapp/spacedrive) — Rust + Tauri desktop reference
53
+
54
+ ### Agents
55
+ - [Agent of Empires](https://github.com/njbrake/agent-of-empires) — Parallel AI agents with git worktrees
56
+
57
+ ### Search / Database
58
+ - [RuVector](https://github.com/ruvnet/RuVector) — Self-learning vector DB, hybrid search, graph RAG
59
+
60
+ ### Reference Architectures
61
+ - [ruflo](https://github.com/ruvnet/ruflo) — Self-learning agent orchestration patterns
62
+ - [flow-nexus](https://github.com/ruvnet/flow-nexus) — Gamified agentic platform patterns
63
+ - [Dossier](https://github.com/ruvnet/Dossier) — Visual planning + context control patterns
64
+
65
+ ### Community
66
+ - [KarpathyTalk](https://github.com/karpathy/KarpathyTalk) — Dev social platform (Go + SQLite + htmx)
67
+ - [Inbox Zero](https://github.com/elie222/inbox-zero) — AI email management
68
+ - [GitNexus](https://github.com/abhigyanpatwari/GitNexus) — Repo analytics
69
+
70
+ ## Matching Logic
71
+
72
+ ### By Stack
73
+ - **Go** → llamafile, Perfetto, flakestress, Tailscale
74
+ - **TypeScript/React** → Victory, Voicebox, any-llm
75
+ - **Python** → any-llm, llamafile, nanoGPT, llm.c
76
+ - **Rust** → Spacedrive patterns, 3DGRUT
77
+
78
+ ### By Domain
79
+ - **SaaS** → Victory, Voicebox, Inbox Zero patterns
80
+ - **DevTool** → llamafile, Perfetto, flakestress, Agent of Empires
81
+ - **FinTech** → RuVector hybrid search, Tailscale
82
+ - **AI/ML** → llamafile, nanoGPT, llm.c, LLaMA-Mesh
83
+ - **Testing** → flakestress, Perfetto
84
+ - **Marketing** → LLaMA-Mesh, Voicebox, Victory
85
+
86
+ ### By Gap
87
+ - No charts → Victory
88
+ - No tests → flakestress
89
+ - No voice → Voicebox
90
+ - No offline AI → llamafile
91
+ - No search → RuVector
92
+ - No perf monitoring → Perfetto
93
+ - No 3D → LLaMA-Mesh
94
+
95
+ ## Usage
96
+
97
+ ```bash
98
+ /boost-project
99
+ /boost-project /path/to/project
100
+ /boost-project . deep
101
+ ```
102
+
103
+ ## Output
104
+
105
+ ```
106
+ .luna/{project}/boost/
107
+ analysis.md # Project classification
108
+ tool-mapping.md # Which tools apply and why
109
+ integration-plan.md # Prioritized steps with links
110
+ quick-wins.md # < 1 hour improvements
111
+ ```
112
+
113
+ ## In Pipes
114
+
115
+ ```bash
116
+ /pipe boost-project . >> go
117
+ /pipe boost-project . >> site-audit https://myapp.com
118
+ ```
@@ -0,0 +1,150 @@
1
+ ---
2
+ name: ll-brand
3
+ displayName: Luna Brand Builder
4
+ description: Generate complete brand identity from codebase — colors, logo, vision, and style guide
5
+ version: 1.0.0
6
+ category: branding
7
+ agent: luna-brand
8
+ parameters:
9
+ - name: scope
10
+ type: string
11
+ description: Project or feature scope for brand generation
12
+ required: true
13
+ prompt: true
14
+ - name: style
15
+ type: string
16
+ description: Brand style preference (modern, minimal, playful, corporate, bold, elegant)
17
+ required: false
18
+ prompt: true
19
+ workflow:
20
+ - analyze_codebase_identity
21
+ - extract_existing_colors_and_styles
22
+ - generate_brand_foundation
23
+ - create_color_system
24
+ - generate_logo_specifications
25
+ - create_typography_system
26
+ - build_visual_identity_guide
27
+ - generate_ai_logo_prompts
28
+ - create_brand_report
29
+ output:
30
+ - .luna/{current-project}/brand/
31
+ - .luna/{current-project}/brand/brand-guide.html
32
+ - .luna/{current-project}/brand/brand-report.md
33
+ prerequisites: []
34
+ ---
35
+
36
+ # Luna Brand Builder
37
+
38
+ Generate a complete brand identity from your codebase — analyzes your project to create colors, logo specs, typography, vision statement, and a comprehensive visual identity guide.
39
+
40
+ ## What This Command Does
41
+
42
+ 1. **Analyzes your codebase** to extract existing visual identity signals:
43
+ - Tailwind/CSS color tokens, design variables
44
+ - Existing logos, favicons, icons
45
+ - Product name, tagline, description from package.json/README
46
+ - UI patterns, component library usage
47
+ - Target audience from docs and marketing copy
48
+ 2. **Generates brand foundation**:
49
+ - Mission statement
50
+ - Vision statement
51
+ - Brand values (3-5 core values)
52
+ - Brand voice and tone guidelines
53
+ - Elevator pitch (30-second, 60-second)
54
+ - Tagline options (3-5 variants)
55
+ 3. **Creates complete color system**:
56
+ - Primary, secondary, accent colors with hex/RGB/HSL
57
+ - Semantic colors (success, warning, error, info)
58
+ - Light and dark mode palettes
59
+ - Contrast-checked accessibility (WCAG AA/AAA)
60
+ - CSS custom properties and Tailwind config
61
+ 4. **Generates logo specifications**:
62
+ - Logo concept description and rationale
63
+ - Symbol/mark guidelines
64
+ - Wordmark typography
65
+ - Logo variations (full, icon-only, horizontal, vertical)
66
+ - Clear space and minimum size rules
67
+ - Usage on light/dark backgrounds
68
+ - AI generation prompts for DALL-E, Midjourney, and Stable Diffusion
69
+ 5. **Creates typography system**:
70
+ - Primary font (headings) and secondary font (body)
71
+ - Font scale with rem/px values
72
+ - Line height and letter spacing
73
+ - Font weight usage guidelines
74
+ 6. **Builds visual identity guide** (standalone HTML):
75
+ - Interactive color swatches with copy-to-clipboard
76
+ - Typography specimens
77
+ - Logo usage examples
78
+ - Spacing and layout grid
79
+ - Component style preview
80
+ - Do's and don'ts section
81
+
82
+ ## Prerequisites
83
+
84
+ No prerequisites required. This command works on any codebase.
85
+
86
+ If you have existing Luna docs, they will enrich the analysis:
87
+ - `.luna/{current-project}/requirements.md`
88
+ - `.luna/{current-project}/design.md`
89
+
90
+ ## Usage Instructions
91
+
92
+ When you run this command:
93
+ - **Scope**: Press ENTER for project-level brand or type product name
94
+ - **Style**: Choose a direction or press ENTER for auto-detect:
95
+ - `modern` — clean lines, gradient accents, SF Pro / Inter
96
+ - `minimal` — monochrome-forward, generous whitespace
97
+ - `playful` — rounded shapes, vibrant palette, friendly tone
98
+ - `corporate` — structured, trustworthy, serif + sans-serif
99
+ - `bold` — high contrast, large type, statement colors
100
+ - `elegant` — refined palette, thin weights, luxury feel
101
+
102
+ ## Execution Steps
103
+
104
+ 1. **Codebase Scan**: Reads package.json, README, CSS/Tailwind configs, existing assets
105
+ 2. **Identity Extraction**: Pulls product name, description, existing colors, fonts, logos
106
+ 3. **Brand Foundation**: Generates mission, vision, values, voice, taglines
107
+ 4. **Color System**: Creates harmonious palette from existing colors or generates new one
108
+ 5. **Logo Specs**: Defines logo concept, variations, clear space, and AI generation prompts
109
+ 6. **Typography**: Selects font pairing, defines scale, weights, and spacing
110
+ 7. **HTML Guide**: Builds interactive standalone brand guide page
111
+ 8. **AI Prompts**: Creates detailed prompts for generating logo with DALL-E/Midjourney/SD
112
+ 9. **Brand Report**: Summary document with all brand assets and usage guidelines
113
+
114
+ ## Output Files
115
+
116
+ Creates in your current project:
117
+ ```
118
+ .luna/{current-project}/brand/
119
+ brand-foundation.md # Mission, vision, values, voice
120
+ color-system.md # Full color palette with codes
121
+ color-tokens.css # CSS custom properties
122
+ tailwind-brand.config.ts # Tailwind color/font config
123
+ logo-specifications.md # Logo concept, rules, variations
124
+ logo-prompts.md # AI image generation prompts (DALL-E, MJ, SD)
125
+ typography-system.md # Font pairing, scale, spacing
126
+ brand-guide.html # Interactive standalone HTML brand guide
127
+ brand-assets/
128
+ color-palette.svg # Visual color palette export
129
+ brand-report.md # Complete brand summary
130
+ ```
131
+
132
+ ## Next Steps in Workflow
133
+
134
+ After brand generation:
135
+ ```bash
136
+ /luna-design # Use brand tokens in technical design
137
+ /luna-hig # Apply Apple HIG with your brand colors
138
+ /luna-auth # Generate auth UI matching your brand
139
+ /luna-docs # Style documentation with brand identity
140
+ ```
141
+
142
+ ## Tips
143
+
144
+ - Run early in the project lifecycle to establish visual consistency
145
+ - The HTML brand guide is shareable — send it to designers and stakeholders
146
+ - AI logo prompts are tuned per platform (DALL-E vs Midjourney have different syntax)
147
+ - Color system auto-checks WCAG contrast ratios for accessibility
148
+ - Tailwind config output can be dropped directly into your project
149
+ - Re-run after major design changes to keep brand guide current
150
+ - Works best when package.json has `name`, `description`, and `keywords` fields