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
package/README.md ADDED
@@ -0,0 +1,350 @@
1
+ <p align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://img.shields.io/badge/🌙_Luna_Agents-AI_SDLC-a855f7?style=for-the-badge&labelColor=0a0a1a">
4
+ <img alt="Luna Agents" src="https://img.shields.io/badge/🌙_Luna_Agents-AI_SDLC-a855f7?style=for-the-badge&labelColor=0a0a1a">
5
+ </picture>
6
+ </p>
7
+
8
+ <p align="center">
9
+ <strong>28 specialized AI agents · 70+ commands for every stage of your software development lifecycle.</strong>
10
+ <br>
11
+ One CLI. One API. From requirements to production.
12
+ </p>
13
+
14
+ <p align="center">
15
+ <a href="https://www.npmjs.com/package/@luna-agents/cli"><img src="https://img.shields.io/npm/v/@luna-agents/cli?color=a855f7&label=CLI" alt="npm"></a>
16
+ <a href="https://lunaos.ai"><img src="https://img.shields.io/badge/website-lunaos.ai-3b82f6" alt="Website"></a>
17
+ <a href="https://docs.lunaos.ai"><img src="https://img.shields.io/badge/docs-docs.lunaos.ai-10b981" alt="Docs"></a>
18
+ <a href="https://status.lunaos.ai"><img src="https://img.shields.io/badge/status-operational-10b981" alt="Status"></a>
19
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-888" alt="License"></a>
20
+ </p>
21
+
22
+ ---
23
+
24
+ ## ⚡ Start in 30 Seconds
25
+
26
+ ```bash
27
+ # No install needed — run directly
28
+ npx @luna-agents/cli run code-review
29
+
30
+ # Or install globally
31
+ npm i -g @luna-agents/cli
32
+ luna run code-review
33
+ ```
34
+
35
+ That's it. The CLI reads your codebase, sends it to a specialized AI agent, and streams the results back.
36
+
37
+ ---
38
+
39
+ ## 🎯 What It Does
40
+
41
+ Luna Agents replaces manual workflows at every stage of the SDLC:
42
+
43
+ | Phase | Agent | What It Does |
44
+ |:------|:------|:-------------|
45
+ | 📋 **Plan** | `requirements-analyzer` | Analyzes codebase → generates requirements spec |
46
+ | 🏗️ **Design** | `design-architect` | Creates architecture docs, component diagrams, API contracts |
47
+ | 📝 **Plan Tasks** | `task-planner` | Breaks design into dependency-ordered implementation tasks |
48
+ | 💻 **Build** | `task-executor` | Implements code following your specs + standards |
49
+ | 🔍 **Review** | `code-review` | Security audit, performance check, best practices review |
50
+ | 🧪 **Test** | `testing-validation` | Generates test suites, validates requirements coverage |
51
+ | 🎨 **UI Testing** | `ui-test` | E2E visual testing with Playwright: accessibility + responsiveness |
52
+ | 🔧 **UI Fix** | `ui-fix` | Auto-fixes accessibility, responsive, and design system issues |
53
+ | 🚀 **Deploy** | `deployment` | Production configs, CI/CD pipelines, infrastructure setup |
54
+ | 📚 **Document** | `documentation` | API docs, user guides, changelogs |
55
+ | 📊 **Monitor** | `monitoring` | Logging, alerting, health checks, dashboards |
56
+ | 📈 **Review** | `post-launch-review` | Performance analysis, optimization recommendations |
57
+ | 🔐 **Security** | `365-security` | Continuous security scanning and compliance |
58
+ | 🗄️ **Database** | `database` | Schema design, migrations, query optimization |
59
+ | 🔌 **API** | `api-generator` | RESTful API scaffolding from specifications |
60
+ | 🐳 **Docker** | `docker` | Containerization, multi-stage builds, Compose configs |
61
+ | ☁️ **Cloud** | `cloudflare` | Workers, Pages, D1, R2 deployment automation |
62
+ | 🍋 **Billing** | `lemonsqueezy` | Payment integration and subscription management |
63
+ | 🔒 **Auth** | `auth` | JWT, OAuth, RBAC implementation |
64
+ | 📈 **Analytics** | `analytics` | Usage tracking, event pipelines, insight dashboards |
65
+ | 🔎 **SEO** | `seo` | Meta tags, schema markup, performance optimization |
66
+ | 🎨 **HIG** | `hig` | Apple Human Interface Guidelines compliance |
67
+ | 🧠 **RAG** | `rag` | Semantic code search across your entire codebase |
68
+ | 👁️ **Vision** | `glm-vision` | Screenshot-to-code analysis and GUI testing |
69
+ | 📱 **OpenAI App** | `openai-app` | OpenAI integration patterns and app scaffolding |
70
+ | 🏃 **Runner** | `run` | Pipeline orchestration and multi-agent workflows |
71
+ | 📖 **User Guide** | `user-guide` | End-user documentation generation |
72
+ | 🔍 **RAG Enhanced** | `rag-enhanced` | Advanced RAG with hybrid search + re-ranking |
73
+
74
+ ---
75
+
76
+ ## 🚀 Usage
77
+
78
+ ### CLI
79
+
80
+ ```bash
81
+ # Run a specific agent
82
+ luna run code-review
83
+ luna run testing-validation
84
+ luna run deployment
85
+
86
+ # Run a full pipeline
87
+ luna chain full-review # code-review → testing → security
88
+
89
+ # List all available agents
90
+ luna agents list
91
+
92
+ # Search your codebase with AI
93
+ luna rag search "How does authentication work?"
94
+ ```
95
+
96
+ ### Claude Code Commands (70+)
97
+
98
+ Luna Agents includes 70+ slash commands for Claude Code. Type `/cmds` to see all.
99
+
100
+ #### Dev Workflow (sequential)
101
+
102
+ | Shortcut | Command | What It Does |
103
+ |:---------|:--------|:-------------|
104
+ | `/req` | `/ll-requirements` | Analyze codebase, generate requirements |
105
+ | `/des` | `/ll-design` | Transform requirements into technical design |
106
+ | `/plan` | `/ll-plan` | Break design into ordered tasks |
107
+ | `/go` | `/ll-execute` | Implement next task from plan |
108
+ | `/rev` | `/ll-review` | Comprehensive code review |
109
+ | `/test` | `/ll-test` | Create test suites, validate coverage |
110
+ | `/ship` | `/ll-deploy` | Deploy to staging and production |
111
+ | `/watch` | `/ll-monitor` | Set up monitoring and alerts |
112
+ | `/retro` | `/ll-postlaunch` | Analyze launch metrics |
113
+
114
+ #### Autopilot & Automation
115
+
116
+ | Shortcut | Command | What It Does |
117
+ |:---------|:--------|:-------------|
118
+ | `/feature` | `/ll-feature` | Full feature lifecycle — plan, implement, test, review, fix in a loop until done |
119
+ | `/parallel` | `/ll-parallel` | Run multiple agents simultaneously (build + test + lint) |
120
+ | `/fix` | `/ll-fix` | Systematic bug fix: failing test → bisect → fix → verify |
121
+ | `/debug` | `/ll-debug` | Scientific debugging with persistent state across resets |
122
+ | `/refactor` | `/ll-refactor` | Split oversized files, extract logic, rename across codebase |
123
+ | `/pr` | `/ll-pr` | Generate PR with summary, test plan, linked issues |
124
+
125
+ #### Quality & Testing
126
+
127
+ | Shortcut | Command | What It Does |
128
+ |:---------|:--------|:-------------|
129
+ | `/rules` | `/ll-rules` | Apply session rules: 100-line cap, full tests, Playwright e2e |
130
+ | `/perf` | `/ll-perf` | Performance profiling (bundle, queries, Web Vitals) |
131
+ | `/a11y` | `/ll-a11y` | WCAG 2.2 accessibility audit |
132
+ | `/deps` | `/ll-deps` | Dependency audit, cleanup, license check |
133
+ | `/mock` | `/ll-mock` | Generate test fixtures, factories, MSW handlers |
134
+ | `/storybook` | `/ll-storybook` | Generate component stories catalog |
135
+
136
+ #### Code Generation
137
+
138
+ | Shortcut | Command | What It Does |
139
+ |:---------|:--------|:-------------|
140
+ | `/auth` | `/ll-auth` | Auth.js v5 with 7 social OAuth providers + HTML setup guide |
141
+ | `/brand` | `/ll-brand` | Generate brand identity from codebase (colors, logo, typography) |
142
+ | `/api-client` | `/ll-api-client` | Generate typed API client SDK from routes/OpenAPI |
143
+ | `/migrate` | `/ll-migrate` | Database migration generator with up/down SQL |
144
+ | `/i18n` | `/ll-i18n` | Internationalization with RTL support |
145
+ | `/ci` | `/ll-ci` | CI/CD pipeline generator (GitHub Actions / GitLab) |
146
+ | `/changelog` | `/ll-changelog` | Auto changelog from git history |
147
+
148
+ #### AI & Intelligence
149
+
150
+ | Shortcut | Command | What It Does |
151
+ |:---------|:--------|:-------------|
152
+ | `/nexa` | `/ll-nexa` | Nexa semantic code analysis (review, bugs, explain, debt) |
153
+ | `/lam` | `/ll-lam` | Large Action Model — goal-driven autonomous actions |
154
+ | `/oh` | `/ll-openhands` | Delegate to OpenHands autonomous coding agent |
155
+ | `/chain` | `/ll-agent-chain` | Chain agents: `rag→nexa→openhands→test` |
156
+ | `/vision` | `/ll-vision` | Screenshot-to-code, UI comparison, visual diff |
157
+ | `/search` | `/ll-smart-search` | Multi-engine search (RAG + Nexa + grep) |
158
+ | `/q` | `/ll-rag` | RAG codebase search |
159
+
160
+ #### Infrastructure & DevOps
161
+
162
+ | Shortcut | Command | What It Does |
163
+ |:---------|:--------|:-------------|
164
+ | `/env` | `/ll-env` | Validate and manage .env files |
165
+ | `/rollback` | `/ll-rollback` | Generate rollback procedures and runbooks |
166
+ | `/dock` | `/ll-dockerize` | Containerize your app |
167
+ | `/cf` | `/ll-cloudflare` | Cloudflare deployment automation |
168
+ | `/sec` | `/ll-365-secure` | OWASP security audit |
169
+
170
+ #### Tools
171
+
172
+ | Shortcut | Command | What It Does |
173
+ |:---------|:--------|:-------------|
174
+ | `/hig` | `/ll-hig` | Apple HIG compliance audit |
175
+ | `/ui` | `/ll-ui-convert` | Convert UI to Apple HIG design |
176
+ | `/docs` | `/ll-docs` | Generate user, developer, API docs |
177
+ | `/cfg` | `/ll-config` | Configure Luna plugin |
178
+
179
+ ### Pipeline Runner — Combine Commands
180
+
181
+ Use `/pipe` to chain commands with operators:
182
+
183
+ ```bash
184
+ # >> sequential (one after another)
185
+ /pipe req >> des >> plan >> go >> rev >> test >> ship
186
+
187
+ # ~~ parallel (Luna quality checks at once)
188
+ /pipe rev ~~ test ~~ sec ~~ a11y
189
+
190
+ # () group + mix
191
+ /pipe (rev ~~ test ~~ sec) >> ship
192
+
193
+ # ?>> conditional (ship only if tests pass)
194
+ /pipe test ?>> ship
195
+
196
+ # !>> fail branch (fix if tests fail)
197
+ /pipe test ?>> ship !>> fix
198
+
199
+ # AI-powered pipeline
200
+ /pipe search "auth" >> nexa review >> lam "improve auth" >> test >> pr
201
+
202
+ # Implement 5 tasks, quality gate, ship
203
+ /pipe go *5 >> (rev ~~ test ~~ sec) >> ship
204
+
205
+ # Auto-fix loop (try 3 times until tests pass)
206
+ /pipe (fix "bug" >> test) *3? >> pr
207
+
208
+ # Apply rules before + test after every step
209
+ /pipe @before:rules @after:test go *5 >> ship
210
+
211
+ # Feature autopilot with quality gate
212
+ /pipe feature "add billing" >> (rev ~~ test) ?>> pr
213
+
214
+ # Full project from scratch
215
+ /pipe req >> des >> plan >> @before:rules @after:test go *10! >> rev >> sec >> ship >> docs >> watch
216
+ ```
217
+
218
+ | Operator | Meaning | Example |
219
+ |:---------|:--------|:--------|
220
+ | `>>` | Sequential — left finishes, then right starts | `req >> des >> plan` |
221
+ | `~~` | Parallel — all run simultaneously | `rev ~~ test ~~ sec` |
222
+ | `( )` | Group — treated as a single unit | `(rev ~~ test) >> ship` |
223
+ | `?>>` | Success gate — next only if previous passed | `test ?>> ship` |
224
+ | `!>>` | Fail branch — next only if previous failed | `test !>> fix` |
225
+ | `*N` | Loop N times | `go *5` |
226
+ | `*N?` | Loop up to N times, stop on success | `(fix >> test) *3?` |
227
+ | `*N!` | Loop up to N times, stop on failure | `go *10!` |
228
+ | `*?` | Loop until success (max 10) | `(fix >> test) *?` |
229
+ | `@before:CMD` | Run before each step | `@before:rules` |
230
+ | `@after:CMD` | Run after each step | `@after:test` |
231
+ | `@each:CMD` | Run before + after each step | `@each:rev` |
232
+
233
+ ### API
234
+
235
+ ```bash
236
+ curl https://api.lunaos.ai/agents/execute \
237
+ -H "Authorization: Bearer YOUR_TOKEN" \
238
+ -H "Content-Type: application/json" \
239
+ -d '{
240
+ "agent": "code-review",
241
+ "context": "Review this Express middleware for security issues..."
242
+ }'
243
+ ```
244
+
245
+ ### MCP Integration
246
+
247
+ Luna works with any MCP-compatible platform — Claude Desktop, Windsurf, Cline, Zed, and more.
248
+
249
+ ```json
250
+ {
251
+ "mcpServers": {
252
+ "luna-vision-rag": {
253
+ "url": "https://luna-vision-rag-mcp.workers.dev/mcp",
254
+ "headers": {
255
+ "X-API-Key": "luna_YOUR_API_KEY"
256
+ }
257
+ }
258
+ }
259
+ }
260
+ ```
261
+
262
+ ---
263
+
264
+ ## 🏗️ Architecture
265
+
266
+ ```
267
+ ┌─────────────────────────────────────────────────────────────┐
268
+ │ CLI / Dashboard │
269
+ │ luna run code-review · agents.lunaos.ai │
270
+ ├─────────────────────────────────────────────────────────────┤
271
+ │ API Gateway (Hono) │
272
+ │ api.lunaos.ai — Cloudflare Workers (Edge) │
273
+ ├──────────┬──────────┬──────────┬──────────┬─────────────────┤
274
+ │ D1 │ KV │ Vectorize│ Workers │ Stripe │
275
+ │ Database │ Cache │ RAG │ AI │ Billing │
276
+ └──────────┴──────────┴──────────┴──────────┴─────────────────┘
277
+ │ │
278
+ ┌──────┴──────┐ ┌─────────┴─────────┐
279
+ │ 28 AI Agents │ │ LLM Providers │
280
+ │ Personas │ │ DeepSeek·Claude· │
281
+ │ + Context │ │ OpenAI·Workers AI │
282
+ └─────────────┘ └───────────────────┘
283
+ ```
284
+
285
+ - **Edge-native** — API runs on Cloudflare Workers (200+ PoPs, <10ms cold start)
286
+ - **Multi-provider** — DeepSeek R1, Claude, GPT-4, Workers AI
287
+ - **Streaming** — SSE responses for real-time agent output
288
+ - **Composable** — Chain agents into pipelines (code-review → testing → deploy)
289
+
290
+ ---
291
+
292
+ ## 💎 Pricing
293
+
294
+ | | Free | Pro | Team |
295
+ |:---|:---:|:---:|:---:|
296
+ | **Price** | $0/mo | $29/mo | $79/mo |
297
+ | **Agents** | 10 core | All 28 | All 28 |
298
+ | **Executions** | 50/mo | Unlimited | Unlimited |
299
+ | **RAG Search** | 100 queries | Unlimited | Unlimited |
300
+ | **Chain Pipelines** | — | ✅ | ✅ |
301
+ | **Vision & GUI Testing** | — | ✅ | ✅ |
302
+ | **Team Members** | 1 | 1 | 10 |
303
+ | **Support** | Community | Priority | Dedicated |
304
+
305
+ [**Get Started →**](https://lunaos.ai/#pricing)
306
+
307
+ ---
308
+
309
+ ## 📦 Installation
310
+
311
+ ### From npm (recommended)
312
+
313
+ ```bash
314
+ npm i -g @luna-agents/cli
315
+ ```
316
+
317
+ ### From source
318
+
319
+ ```bash
320
+ git clone https://github.com/lunaos-ai/luna-agents.git
321
+ cd luna-agents
322
+ ./setup.sh
323
+ ```
324
+
325
+ ### Requirements
326
+
327
+ - Node.js 18+
328
+ - Any MCP-compatible AI assistant (optional, for MCP integration)
329
+
330
+ ---
331
+
332
+ ## 🔗 Links
333
+
334
+ | Resource | URL |
335
+ |:---------|:----|
336
+ | 🌐 Website | [lunaos.ai](https://lunaos.ai) |
337
+ | 📚 Documentation | [docs.lunaos.ai](https://docs.lunaos.ai) |
338
+ | 🎛️ Dashboard | [agents.lunaos.ai](https://agents.lunaos.ai) |
339
+ | 📊 Status | [status.lunaos.ai](https://status.lunaos.ai) |
340
+ | 🐛 Issues | [GitHub Issues](https://github.com/lunaos-ai/luna-agents/issues) |
341
+
342
+ ---
343
+
344
+ ## 📄 License
345
+
346
+ MIT © [Shachar Solomon](https://github.com/shacharsol)
347
+
348
+ <p align="center">
349
+ <sub>Built with ❤️ and a lot of AI agents.</sub>
350
+ </p>
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "luna-design-architect",
3
+ "displayName": "Luna Design Architect",
4
+ "description": "Transform requirements into comprehensive technical design specifications with detailed architecture, component design, data models, and implementation guidelines",
5
+ "version": "1.0.0",
6
+ "category": "architecture",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "technical-design",
10
+ "architecture-planning",
11
+ "component-specification",
12
+ "api-design",
13
+ "data-modeling"
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 architect and technical lead. Your task is to transform the requirements document into a comprehensive technical design specification with detailed architecture, component design, data models, and implementation guidelines.",
26
+ "execution": "Please specify the scope for this design:\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
+ "Determine project folder name from current directory",
30
+ "Validate requirements.md exists in appropriate location",
31
+ "Read and analyze all requirements from requirements.md",
32
+ "Assess current architecture patterns and technology stack",
33
+ "Design high-level system architecture with component interactions",
34
+ "Create detailed component specifications with interfaces",
35
+ "Define data models and API endpoints",
36
+ "Generate comprehensive design documentation",
37
+ "Save design.md to appropriate directory structure"
38
+ ],
39
+ "output": {
40
+ "files": [
41
+ {
42
+ "path": ".luna/{project_folder_name}/design.md",
43
+ "description": "Comprehensive technical design document"
44
+ },
45
+ {
46
+ "path": ".luna/{project_folder_name}/{feature_name}/design.md",
47
+ "description": "Feature-specific technical design document"
48
+ }
49
+ ]
50
+ },
51
+ "dependencies": [
52
+ "luna-requirements-analyzer"
53
+ ],
54
+ "prerequisites": [
55
+ ".luna/{project_folder_name}/requirements.md"
56
+ ]
57
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "luna-auth",
3
+ "displayName": "Luna Auth Builder",
4
+ "description": "Build complete Auth.js authentication with social providers, setup guides, LinkedIn company page, and logo prompts",
5
+ "version": "2.0.0",
6
+ "category": "authentication",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "auth-js-configuration",
10
+ "social-oauth-providers",
11
+ "rbac-implementation",
12
+ "prisma-auth-schema",
13
+ "html-setup-guide",
14
+ "linkedin-company-page",
15
+ "logo-generation-prompts",
16
+ "middleware-protection",
17
+ "session-management"
18
+ ],
19
+ "parameters": [
20
+ {
21
+ "name": "scope",
22
+ "type": "string",
23
+ "description": "Project or feature scope for authentication setup",
24
+ "required": true,
25
+ "prompt": true
26
+ },
27
+ {
28
+ "name": "providers",
29
+ "type": "string",
30
+ "description": "Comma-separated OAuth providers: google,github,microsoft,linkedin,apple,discord,twitter (or 'all')",
31
+ "required": false,
32
+ "prompt": true
33
+ }
34
+ ],
35
+ "prompts": {
36
+ "system": "You are an expert authentication architect. Implement production-grade Auth.js v5 systems with social OAuth providers, RBAC, comprehensive HTML setup guides, LinkedIn company page content, and brand-aligned logo prompts. Follow Auth.js v5 patterns (not v4). Always use server actions for sign-in/sign-out in App Router.",
37
+ "execution": "Analyze the codebase to detect framework and existing auth. Generate complete Auth.js v5 configuration with selected social providers, RBAC, Prisma schema, React components, standalone HTML setup guide with provider console instructions, LinkedIn company page content, and AI logo generation prompts."
38
+ },
39
+ "workflow": [
40
+ "analyze_codebase_and_framework",
41
+ "generate_auth_configuration",
42
+ "implement_social_providers",
43
+ "create_rbac_and_middleware",
44
+ "generate_prisma_auth_schema",
45
+ "create_react_components",
46
+ "generate_provider_setup_guide_html",
47
+ "generate_linkedin_company_page",
48
+ "generate_logo_prompt",
49
+ "create_auth_report"
50
+ ],
51
+ "output": {
52
+ "files": [
53
+ { "path": ".luna/{project}/auth/src/auth.ts", "description": "Auth.js v5 configuration" },
54
+ { "path": ".luna/{project}/auth/src/auth.config.ts", "description": "Provider configs" },
55
+ { "path": ".luna/{project}/auth/src/middleware.ts", "description": "Auth middleware" },
56
+ { "path": ".luna/{project}/auth/src/lib/rbac.ts", "description": "Role-based access control" },
57
+ { "path": ".luna/{project}/auth/src/components/sign-in-form.tsx", "description": "Sign-in page" },
58
+ { "path": ".luna/{project}/auth/src/prisma/auth-schema.prisma", "description": "Auth DB models" },
59
+ { "path": ".luna/{project}/auth/.env.auth.example", "description": "Env var template" },
60
+ { "path": ".luna/{project}/auth/auth-setup-guide.html", "description": "HTML provider setup guide" },
61
+ { "path": ".luna/{project}/auth/linkedin-company-page.md", "description": "LinkedIn page content" },
62
+ { "path": ".luna/{project}/auth/logo-prompt.md", "description": "AI logo generation prompts" },
63
+ { "path": ".luna/{project}/auth/auth-report.md", "description": "Implementation summary" }
64
+ ]
65
+ },
66
+ "dependencies": [],
67
+ "prerequisites": [
68
+ ".luna/{project}/requirements.md",
69
+ ".luna/{project}/design.md"
70
+ ]
71
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "luna-brand",
3
+ "displayName": "Luna Brand Builder",
4
+ "description": "Generate complete brand identity from codebase — colors, logo, typography, vision, and interactive HTML guide",
5
+ "version": "1.0.0",
6
+ "category": "branding",
7
+ "type": "agent",
8
+ "capabilities": [
9
+ "codebase-brand-analysis",
10
+ "color-system-generation",
11
+ "typography-system",
12
+ "logo-specifications",
13
+ "ai-logo-prompts",
14
+ "brand-foundation",
15
+ "interactive-html-guide",
16
+ "tailwind-config-generation",
17
+ "wcag-contrast-checking"
18
+ ],
19
+ "parameters": [
20
+ {
21
+ "name": "scope",
22
+ "type": "string",
23
+ "description": "Project or feature scope for brand generation",
24
+ "required": true,
25
+ "prompt": true
26
+ },
27
+ {
28
+ "name": "style",
29
+ "type": "string",
30
+ "description": "Brand style: modern, minimal, playful, corporate, bold, elegant, or auto-detect",
31
+ "required": false,
32
+ "prompt": true
33
+ }
34
+ ],
35
+ "prompts": {
36
+ "system": "You are an expert brand strategist and visual identity designer. Analyze codebases to extract existing visual signals and generate complete brand systems including color palettes, typography, logo specifications, AI generation prompts, and interactive HTML brand guides. Follow Apple HIG principles for all visual decisions. Ensure WCAG AA compliance for all color combinations.",
37
+ "execution": "Scan the codebase for existing brand signals (colors, fonts, logos, copy). Generate a complete brand identity: foundation (mission, vision, values, voice), color system with CSS tokens and Tailwind config, typography system, logo specifications with AI generation prompts, and an interactive standalone HTML brand guide."
38
+ },
39
+ "workflow": [
40
+ "analyze_codebase_identity",
41
+ "extract_existing_colors_and_styles",
42
+ "generate_brand_foundation",
43
+ "create_color_system",
44
+ "generate_logo_specifications",
45
+ "create_typography_system",
46
+ "generate_ai_logo_prompts",
47
+ "build_html_brand_guide",
48
+ "generate_tailwind_config",
49
+ "create_brand_report"
50
+ ],
51
+ "output": {
52
+ "files": [
53
+ { "path": ".luna/{project}/brand/brand-foundation.md", "description": "Mission, vision, values, voice" },
54
+ { "path": ".luna/{project}/brand/color-system.md", "description": "Full color palette with codes" },
55
+ { "path": ".luna/{project}/brand/color-tokens.css", "description": "CSS custom properties" },
56
+ { "path": ".luna/{project}/brand/tailwind-brand.config.ts", "description": "Tailwind color/font config" },
57
+ { "path": ".luna/{project}/brand/logo-specifications.md", "description": "Logo concept and rules" },
58
+ { "path": ".luna/{project}/brand/logo-prompts.md", "description": "AI image generation prompts" },
59
+ { "path": ".luna/{project}/brand/typography-system.md", "description": "Font pairing and scale" },
60
+ { "path": ".luna/{project}/brand/brand-guide.html", "description": "Interactive HTML brand guide" },
61
+ { "path": ".luna/{project}/brand/brand-report.md", "description": "Complete brand summary" }
62
+ ]
63
+ },
64
+ "dependencies": [],
65
+ "prerequisites": []
66
+ }