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.
- package/.claude-plugin/LICENSE +21 -0
- package/.claude-plugin/README.md +285 -0
- package/.claude-plugin/claude-plugin.json +106 -0
- package/.claude-plugin/index.js +318 -0
- package/.claude-plugin/lib/api-client.js +504 -0
- package/.claude-plugin/lib/rag-utils.js +442 -0
- package/.claude-plugin/package.json +418 -0
- package/LICENSE +21 -0
- package/README.md +350 -0
- package/agents/json/design-architect.json +57 -0
- package/agents/json/luna-auth.json +71 -0
- package/agents/json/luna-brand.json +66 -0
- package/agents/json/luna-cloudflare.json +261 -0
- package/agents/json/luna-code-review.json +63 -0
- package/agents/json/luna-deployment.json +68 -0
- package/agents/json/luna-documentation.json +85 -0
- package/agents/json/luna-hig.json +128 -0
- package/agents/json/luna-layout-designer.json +178 -0
- package/agents/json/luna-monitoring-observability.json +64 -0
- package/agents/json/luna-post-launch-review.json +68 -0
- package/agents/json/luna-requirements-analyzer.json +53 -0
- package/agents/json/luna-task-executor.json +63 -0
- package/agents/json/luna-task-planner.json +62 -0
- package/agents/json/luna-testing-validation.json +66 -0
- package/agents/luna-365-security.md +96 -0
- package/agents/luna-analytics.md +318 -0
- package/agents/luna-api-generator.md +654 -0
- package/agents/luna-auth.md +396 -0
- package/agents/luna-brand.md +248 -0
- package/agents/luna-cloudflare.md +728 -0
- package/agents/luna-code-review.md +487 -0
- package/agents/luna-database.md +453 -0
- package/agents/luna-deployment.md +202 -0
- package/agents/luna-design-architect.md +353 -0
- package/agents/luna-docker.md +615 -0
- package/agents/luna-documentation.md +177 -0
- package/agents/luna-full-test.md +910 -0
- package/agents/luna-glm-vision.md +211 -0
- package/agents/luna-hig.md +430 -0
- package/agents/luna-lemonsqueezy.md +441 -0
- package/agents/luna-monitoring-observability.md +199 -0
- package/agents/luna-openai-app.md +499 -0
- package/agents/luna-post-launch-review.md +191 -0
- package/agents/luna-rag-enhanced.md +1619 -0
- package/agents/luna-rag.md +1733 -0
- package/agents/luna-requirements-analyzer.md +189 -0
- package/agents/luna-run.md +620 -0
- package/agents/luna-seo.md +338 -0
- package/agents/luna-task-executor.md +371 -0
- package/agents/luna-task-planner.md +275 -0
- package/agents/luna-testing-validation.md +681 -0
- package/agents/luna-ui-fix.md +591 -0
- package/agents/luna-ui-test.md +600 -0
- package/agents/luna-user-guide.md +409 -0
- package/agents/site-auditor.md +83 -0
- package/commands/3d-mesh.md +12 -0
- package/commands/3d.md +12 -0
- package/commands/agent-boost.md +13 -0
- package/commands/ai-index.md +16 -0
- package/commands/api.md +12 -0
- package/commands/assert.md +17 -0
- package/commands/audience.md +12 -0
- package/commands/auth.md +17 -0
- package/commands/autopilot.md +12 -0
- package/commands/boost-finsavvy.md +10 -0
- package/commands/boost-org.md +10 -0
- package/commands/boost-project.md +12 -0
- package/commands/brand.md +17 -0
- package/commands/browser-test.md +18 -0
- package/commands/cf.md +26 -0
- package/commands/cfg.md +33 -0
- package/commands/chain.md +12 -0
- package/commands/challenge.md +13 -0
- package/commands/clone.md +12 -0
- package/commands/cmds.md +243 -0
- package/commands/collab.md +12 -0
- package/commands/compete.md +12 -0
- package/commands/config-rules.md +21 -0
- package/commands/connect-infra.md +10 -0
- package/commands/context-pack.md +13 -0
- package/commands/curb.md +12 -0
- package/commands/des.md +38 -0
- package/commands/devto.md +20 -0
- package/commands/dock.md +26 -0
- package/commands/docs.md +33 -0
- package/commands/e2e-flow.md +18 -0
- package/commands/email-routing.md +10 -0
- package/commands/feature.md +12 -0
- package/commands/figma.md +12 -0
- package/commands/fix.md +12 -0
- package/commands/flaky.md +12 -0
- package/commands/flow-record.md +12 -0
- package/commands/gamify.md +12 -0
- package/commands/ghost.md +12 -0
- package/commands/git-insights.md +12 -0
- package/commands/go-viral.md +16 -0
- package/commands/go.md +42 -0
- package/commands/graph-rag.md +13 -0
- package/commands/guard.md +12 -0
- package/commands/heal.md +17 -0
- package/commands/heygen.md +12 -0
- package/commands/hig.md +33 -0
- package/commands/idea.md +12 -0
- package/commands/imagine.md +12 -0
- package/commands/inbox.md +12 -0
- package/commands/lam.md +12 -0
- package/commands/landing.md +12 -0
- package/commands/launch.md +12 -0
- package/commands/learn.md +12 -0
- package/commands/leverage.md +12 -0
- package/commands/ll-365-secure.md +179 -0
- package/commands/ll-3d-mesh.md +94 -0
- package/commands/ll-3d.md +123 -0
- package/commands/ll-a11y-scan.md +143 -0
- package/commands/ll-a11y.md +71 -0
- package/commands/ll-agent-boost.md +92 -0
- package/commands/ll-agent-chain.md +104 -0
- package/commands/ll-ai-index.md +120 -0
- package/commands/ll-api-client.md +77 -0
- package/commands/ll-api.md +99 -0
- package/commands/ll-assert.md +73 -0
- package/commands/ll-audience.md +308 -0
- package/commands/ll-auth.md +145 -0
- package/commands/ll-autopilot.md +113 -0
- package/commands/ll-boost-finsavvy.md +106 -0
- package/commands/ll-boost-org.md +161 -0
- package/commands/ll-boost-project.md +118 -0
- package/commands/ll-brand.md +150 -0
- package/commands/ll-browser-test.md +203 -0
- package/commands/ll-challenge.md +124 -0
- package/commands/ll-changelog.md +80 -0
- package/commands/ll-ci.md +78 -0
- package/commands/ll-claude-instructions.md +80 -0
- package/commands/ll-clone.md +82 -0
- package/commands/ll-cloudflare.md +580 -0
- package/commands/ll-codemap.md +78 -0
- package/commands/ll-collab.md +87 -0
- package/commands/ll-compete.md +67 -0
- package/commands/ll-config-rules.md +255 -0
- package/commands/ll-config.md +434 -0
- package/commands/ll-connect-infra.md +123 -0
- package/commands/ll-context-pack.md +100 -0
- package/commands/ll-curb.md +164 -0
- package/commands/ll-debug.md +76 -0
- package/commands/ll-deploy.md +101 -0
- package/commands/ll-deps.md +70 -0
- package/commands/ll-design.md +86 -0
- package/commands/ll-devto-publish.md +172 -0
- package/commands/ll-dockerize.md +273 -0
- package/commands/ll-docs.md +123 -0
- package/commands/ll-e2e-flow.md +132 -0
- package/commands/ll-e2e-test.md +231 -0
- package/commands/ll-email-routing.md +130 -0
- package/commands/ll-env.md +70 -0
- package/commands/ll-execute.md +98 -0
- package/commands/ll-feature.md +80 -0
- package/commands/ll-figma.md +82 -0
- package/commands/ll-fix.md +76 -0
- package/commands/ll-flaky.md +151 -0
- package/commands/ll-flow-record.md +180 -0
- package/commands/ll-flowdocs.md +83 -0
- package/commands/ll-gamify.md +131 -0
- package/commands/ll-gemma4.md +84 -0
- package/commands/ll-ghost.md +79 -0
- package/commands/ll-git-insights.md +152 -0
- package/commands/ll-go-viral.md +171 -0
- package/commands/ll-graph-rag.md +113 -0
- package/commands/ll-guard.md +92 -0
- package/commands/ll-heal.md +135 -0
- package/commands/ll-heygen.md +203 -0
- package/commands/ll-hig.md +578 -0
- package/commands/ll-hld.md +84 -0
- package/commands/ll-i18n.md +74 -0
- package/commands/ll-idea.md +101 -0
- package/commands/ll-imagine.md +72 -0
- package/commands/ll-inbox.md +116 -0
- package/commands/ll-lam.md +93 -0
- package/commands/ll-landing.md +171 -0
- package/commands/ll-launch.md +100 -0
- package/commands/ll-learn.md +87 -0
- package/commands/ll-leverage.md +137 -0
- package/commands/ll-local-llm.md +131 -0
- package/commands/ll-ls-products.md +160 -0
- package/commands/ll-marketplace.md +130 -0
- package/commands/ll-mcp-publish.md +104 -0
- package/commands/ll-migrate.md +68 -0
- package/commands/ll-mock.md +79 -0
- package/commands/ll-money.md +87 -0
- package/commands/ll-monitor.md +120 -0
- package/commands/ll-morph.md +117 -0
- package/commands/ll-multi-agent.md +170 -0
- package/commands/ll-native.md +93 -0
- package/commands/ll-nexa.md +79 -0
- package/commands/ll-onboarding.md +84 -0
- package/commands/ll-openhands.md +78 -0
- package/commands/ll-organic-promote.md +260 -0
- package/commands/ll-parallel.md +74 -0
- package/commands/ll-payments.md +83 -0
- package/commands/ll-perf-trace.md +147 -0
- package/commands/ll-perf.md +65 -0
- package/commands/ll-persona.md +280 -0
- package/commands/ll-pipe.md +296 -0
- package/commands/ll-plan-impl.js +570 -0
- package/commands/ll-plan-v2.md +297 -0
- package/commands/ll-plan.md +87 -0
- package/commands/ll-postlaunch.md +109 -0
- package/commands/ll-pr.md +84 -0
- package/commands/ll-present.md +110 -0
- package/commands/ll-product-map.md +152 -0
- package/commands/ll-promote.md +352 -0
- package/commands/ll-publish.md +124 -0
- package/commands/ll-pulse.md +96 -0
- package/commands/ll-rag-guided.md +345 -0
- package/commands/ll-rag-upgrade.md +504 -0
- package/commands/ll-rag.md +343 -0
- package/commands/ll-record.md +114 -0
- package/commands/ll-refactor.md +71 -0
- package/commands/ll-requirements.md +71 -0
- package/commands/ll-review.md +92 -0
- package/commands/ll-rollback.md +66 -0
- package/commands/ll-routemap.md +79 -0
- package/commands/ll-rules.md +90 -0
- package/commands/ll-shortcuts.md +229 -0
- package/commands/ll-sing.md +99 -0
- package/commands/ll-site-audit.md +228 -0
- package/commands/ll-smart-route.md +92 -0
- package/commands/ll-smart-search.md +58 -0
- package/commands/ll-storybook.md +86 -0
- package/commands/ll-swarm.md +101 -0
- package/commands/ll-test.md +97 -0
- package/commands/ll-time-machine.md +72 -0
- package/commands/ll-ui-convert.md +433 -0
- package/commands/ll-video.md +108 -0
- package/commands/ll-vision-pipeline.md +247 -0
- package/commands/ll-vision.md +74 -0
- package/commands/ll-visual-diff.md +118 -0
- package/commands/ll-visual-qa.md +204 -0
- package/commands/ll-visual-regression.md +96 -0
- package/commands/ll-voice.md +138 -0
- package/commands/ll-watch.md +65 -0
- package/commands/ll-workflow.md +108 -0
- package/commands/ll-zen.md +98 -0
- package/commands/local-llm.md +12 -0
- package/commands/marketplace.md +13 -0
- package/commands/mcp-publish.md +16 -0
- package/commands/migrate.md +12 -0
- package/commands/money.md +12 -0
- package/commands/morph.md +12 -0
- package/commands/multi-agent.md +12 -0
- package/commands/native.md +12 -0
- package/commands/nexa.md +12 -0
- package/commands/oh.md +12 -0
- package/commands/organic-promote.md +16 -0
- package/commands/perf-trace.md +12 -0
- package/commands/perf.md +12 -0
- package/commands/persona.md +12 -0
- package/commands/pipe.md +21 -0
- package/commands/plan.md +38 -0
- package/commands/pr.md +12 -0
- package/commands/present.md +12 -0
- package/commands/product-map.md +13 -0
- package/commands/promote.md +16 -0
- package/commands/publish.md +12 -0
- package/commands/pulse.md +12 -0
- package/commands/q.md +35 -0
- package/commands/record.md +12 -0
- package/commands/refactor.md +12 -0
- package/commands/req.md +40 -0
- package/commands/retro.md +33 -0
- package/commands/rev.md +39 -0
- package/commands/rules.md +19 -0
- package/commands/search.md +12 -0
- package/commands/sec.md +34 -0
- package/commands/ship.md +39 -0
- package/commands/sing.md +12 -0
- package/commands/site-audit.md +12 -0
- package/commands/smart-route.md +13 -0
- package/commands/swarm.md +12 -0
- package/commands/test.md +39 -0
- package/commands/time-machine.md +12 -0
- package/commands/ui.md +33 -0
- package/commands/video.md +12 -0
- package/commands/vision.md +12 -0
- package/commands/voice.md +12 -0
- package/commands/vr.md +18 -0
- package/commands/watch.md +39 -0
- package/commands/workflow.md +19 -0
- package/commands/zen.md +12 -0
- package/package.json +76 -0
- package/setup.sh +382 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-marketplace
|
|
3
|
+
displayName: Luna Marketplace
|
|
4
|
+
description: Skill marketplace — browse, publish, install, and review community skills
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: ecosystem
|
|
7
|
+
agent: luna-marketplace-client
|
|
8
|
+
parameters:
|
|
9
|
+
- name: action
|
|
10
|
+
type: string
|
|
11
|
+
description: "Marketplace action: browse, publish, install, search"
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
enum: [browse, publish, install, search]
|
|
15
|
+
- name: query
|
|
16
|
+
type: string
|
|
17
|
+
description: Search query or skill name (for search/install actions)
|
|
18
|
+
required: false
|
|
19
|
+
workflow:
|
|
20
|
+
- authenticate_user
|
|
21
|
+
- execute_marketplace_action
|
|
22
|
+
- display_results
|
|
23
|
+
- update_local_registry
|
|
24
|
+
output: []
|
|
25
|
+
prerequisites: []
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# Luna Marketplace
|
|
29
|
+
|
|
30
|
+
Skill marketplace inspired by flow-nexus. Browse, publish, install, and review community-built skills that extend Luna's capabilities.
|
|
31
|
+
|
|
32
|
+
## What This Command Does
|
|
33
|
+
|
|
34
|
+
1. **Authenticate** — verifies your Luna API key and org membership
|
|
35
|
+
2. **Execute Action** — performs the requested marketplace operation
|
|
36
|
+
3. **Display Results** — shows skills with ratings, downloads, and compatibility
|
|
37
|
+
4. **Update Registry** — syncs your local skill registry after install/publish
|
|
38
|
+
|
|
39
|
+
## Usage
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/marketplace browse
|
|
43
|
+
/marketplace search "webhook transformer"
|
|
44
|
+
/marketplace install luna-skill-slack-notify
|
|
45
|
+
/marketplace publish
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Actions
|
|
49
|
+
|
|
50
|
+
### browse
|
|
51
|
+
Lists trending and featured skills from the marketplace.
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
/marketplace browse
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Shows: top 20 skills sorted by popularity, with category filters.
|
|
58
|
+
|
|
59
|
+
### search
|
|
60
|
+
Find skills by keyword, category, or author.
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
/marketplace search "email"
|
|
64
|
+
/marketplace search "database migration"
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Returns: matching skills with name, description, rating, downloads.
|
|
68
|
+
|
|
69
|
+
### install
|
|
70
|
+
Install a skill into your project.
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
/marketplace install luna-skill-slack-notify
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
- Downloads the skill package
|
|
77
|
+
- Validates compatibility with your Luna version
|
|
78
|
+
- Registers in local `.luna/skills/` directory
|
|
79
|
+
- Adds to workflow node palette in Studio
|
|
80
|
+
|
|
81
|
+
### publish
|
|
82
|
+
Publish your custom skill to the marketplace.
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
/marketplace publish
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
- Validates skill manifest (`skill.json`)
|
|
89
|
+
- Runs automated quality checks (types, tests, docs)
|
|
90
|
+
- Uploads to marketplace CDN
|
|
91
|
+
- Earns credits on every install by other users
|
|
92
|
+
|
|
93
|
+
## Skill Quality Indicators
|
|
94
|
+
|
|
95
|
+
| Badge | Meaning |
|
|
96
|
+
|-------|---------|
|
|
97
|
+
| Verified | Passed automated security + quality scan |
|
|
98
|
+
| Popular | 100+ installs |
|
|
99
|
+
| Maintained | Updated within last 30 days |
|
|
100
|
+
| Official | Published by the LunaOS team |
|
|
101
|
+
|
|
102
|
+
## Credit System
|
|
103
|
+
|
|
104
|
+
- **Earn credits**: Publish skills, get installs, receive 5-star reviews
|
|
105
|
+
- **Spend credits**: Premium skills, priority support, extended quotas
|
|
106
|
+
- **Revenue sharing**: 70% to skill author, 30% platform fee
|
|
107
|
+
|
|
108
|
+
## Skill Manifest Format
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{
|
|
112
|
+
"name": "luna-skill-slack-notify",
|
|
113
|
+
"version": "1.2.0",
|
|
114
|
+
"description": "Send Slack notifications from workflows",
|
|
115
|
+
"author": "your-handle",
|
|
116
|
+
"category": "integrations",
|
|
117
|
+
"params_schema": { "channel": "string", "message": "string" },
|
|
118
|
+
"luna_version": ">=1.0.0"
|
|
119
|
+
}
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Categories
|
|
123
|
+
|
|
124
|
+
- **integrations** — Third-party service connectors
|
|
125
|
+
- **transforms** — Data transformation and mapping
|
|
126
|
+
- **triggers** — Event sources and webhooks
|
|
127
|
+
- **utilities** — Helpers, formatters, validators
|
|
128
|
+
- **ai** — AI/ML model integrations
|
|
129
|
+
- **monitoring** — Alerts, logging, dashboards
|
|
130
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-mcp-publish
|
|
3
|
+
displayName: Luna MCP Publish
|
|
4
|
+
description: Publish your MCP server to Official Registry, Smithery, Glama, and mcp.so — generate server.json, validate, and submit
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: deployment
|
|
7
|
+
agent: luna-seo
|
|
8
|
+
parameters:
|
|
9
|
+
- name: name
|
|
10
|
+
type: string
|
|
11
|
+
description: "MCP server qualified name (e.g., org/project)"
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: npm_package
|
|
15
|
+
type: string
|
|
16
|
+
description: "npm package name (e.g., my-mcp-server)"
|
|
17
|
+
required: true
|
|
18
|
+
prompt: true
|
|
19
|
+
- name: description
|
|
20
|
+
type: string
|
|
21
|
+
description: "Short description (max 100 chars for Official Registry)"
|
|
22
|
+
required: true
|
|
23
|
+
prompt: true
|
|
24
|
+
workflow:
|
|
25
|
+
- detect_mcp_tools_from_code
|
|
26
|
+
- generate_server_json
|
|
27
|
+
- generate_glama_json
|
|
28
|
+
- add_mcpName_to_package_json
|
|
29
|
+
- validate_server_json
|
|
30
|
+
- publish_official_registry
|
|
31
|
+
- publish_smithery
|
|
32
|
+
- verify_registration
|
|
33
|
+
- generate_publish_report
|
|
34
|
+
output:
|
|
35
|
+
- server.json
|
|
36
|
+
- glama.json
|
|
37
|
+
- package.json (updated with mcpName)
|
|
38
|
+
- .luna/{current-project}/mcp-publish-report.md
|
|
39
|
+
mcp_servers:
|
|
40
|
+
- git
|
|
41
|
+
- fetch
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
# /mcp-publish — Publish to Every MCP Registry
|
|
45
|
+
|
|
46
|
+
One command to publish your MCP server to all registries where AI agents discover tools.
|
|
47
|
+
|
|
48
|
+
## Registries
|
|
49
|
+
|
|
50
|
+
| Registry | Method | Status |
|
|
51
|
+
|----------|--------|--------|
|
|
52
|
+
| **Official MCP Registry** | `mcp-publisher publish` | Primary — used by Claude, Cursor |
|
|
53
|
+
| **Smithery** | `smithery mcp publish` | 100K+ tools marketplace |
|
|
54
|
+
| **Glama** | `glama.json` in repo | Auto-indexes from GitHub |
|
|
55
|
+
| **mcp.so** | API submission | Community registry |
|
|
56
|
+
|
|
57
|
+
## Prerequisites
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Official MCP Registry CLI
|
|
61
|
+
brew install mcp-publisher
|
|
62
|
+
|
|
63
|
+
# Smithery CLI
|
|
64
|
+
npx @smithery/cli@latest auth login
|
|
65
|
+
|
|
66
|
+
# npm package must be published
|
|
67
|
+
npm publish
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## server.json Format (Official Registry)
|
|
71
|
+
|
|
72
|
+
```json
|
|
73
|
+
{
|
|
74
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
75
|
+
"name": "{org}/{project}",
|
|
76
|
+
"description": "{max 100 chars}",
|
|
77
|
+
"repository": {
|
|
78
|
+
"url": "https://github.com/{org}/{project}",
|
|
79
|
+
"source": "github"
|
|
80
|
+
},
|
|
81
|
+
"version": "1.0.0",
|
|
82
|
+
"packages": [{
|
|
83
|
+
"registryType": "npm",
|
|
84
|
+
"identifier": "{npm-package}",
|
|
85
|
+
"version": "1.0.0",
|
|
86
|
+
"transport": { "type": "stdio" }
|
|
87
|
+
}]
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Workflow
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
/mcp-publish --name finsavvyai/pushci --npm_package pushci --description "AI-native zero-config CI/CD"
|
|
95
|
+
│
|
|
96
|
+
├── Scan code for MCP tool definitions
|
|
97
|
+
├── Generate server.json (Official Registry format)
|
|
98
|
+
├── Generate glama.json (Glama auto-index)
|
|
99
|
+
├── Add mcpName to package.json
|
|
100
|
+
├── Validate: mcp-publisher validate
|
|
101
|
+
├── Publish: mcp-publisher publish
|
|
102
|
+
├── Publish: smithery mcp publish
|
|
103
|
+
└── Report: registries published, verification URLs
|
|
104
|
+
```
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-migrate
|
|
3
|
+
displayName: Luna Database Migration
|
|
4
|
+
description: Generate database migrations — diff schema, generate SQL, validate up/down, seed test data
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: database
|
|
7
|
+
agent: luna-database
|
|
8
|
+
parameters:
|
|
9
|
+
- name: change
|
|
10
|
+
type: string
|
|
11
|
+
description: Migration description (e.g., "add teams table", "rename user.name to user.full_name")
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: scope
|
|
15
|
+
type: string
|
|
16
|
+
description: Project or feature scope
|
|
17
|
+
required: true
|
|
18
|
+
prompt: true
|
|
19
|
+
workflow:
|
|
20
|
+
- analyze_current_schema
|
|
21
|
+
- diff_schema_changes
|
|
22
|
+
- generate_migration_up
|
|
23
|
+
- generate_migration_down
|
|
24
|
+
- generate_seed_data
|
|
25
|
+
- validate_migration
|
|
26
|
+
- generate_migration_report
|
|
27
|
+
output:
|
|
28
|
+
- .luna/{current-project}/migrations/
|
|
29
|
+
- .luna/{current-project}/migration-report.md
|
|
30
|
+
prerequisites: []
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
# Luna Database Migration
|
|
34
|
+
|
|
35
|
+
Generate safe, reversible database migrations.
|
|
36
|
+
|
|
37
|
+
## What This Command Does
|
|
38
|
+
|
|
39
|
+
1. **Analyze** — reads current Prisma/SQL schema and migration history
|
|
40
|
+
2. **Diff** — calculates what changed vs current state
|
|
41
|
+
3. **Generate UP** — creates forward migration SQL
|
|
42
|
+
4. **Generate DOWN** — creates rollback migration SQL
|
|
43
|
+
5. **Seed** — generates test data for new tables/columns
|
|
44
|
+
6. **Validate** — runs migration up then down to verify reversibility
|
|
45
|
+
7. **Report** — documents the migration with before/after schema
|
|
46
|
+
|
|
47
|
+
## Supported ORMs
|
|
48
|
+
|
|
49
|
+
- Prisma (D1, PostgreSQL, MySQL, SQLite)
|
|
50
|
+
- Drizzle
|
|
51
|
+
- Raw SQL migrations
|
|
52
|
+
- Knex
|
|
53
|
+
|
|
54
|
+
## Usage
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
/migrate "add organizations table with name, owner_id, created_at"
|
|
58
|
+
/migrate "add role column to team_members with default USER"
|
|
59
|
+
/migrate "rename workflows.definition to workflows.definition_json"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Safety Rules
|
|
63
|
+
|
|
64
|
+
- Every UP migration must have a matching DOWN
|
|
65
|
+
- Destructive operations (DROP, DELETE) require explicit confirmation
|
|
66
|
+
- Data migrations include backup queries
|
|
67
|
+
- Validates foreign key constraints
|
|
68
|
+
- Tests with seed data before marking complete
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-mock
|
|
3
|
+
displayName: Luna Mock Generator
|
|
4
|
+
description: Generate realistic test fixtures, API stubs, and factory functions from types/schema
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: testing
|
|
7
|
+
agent: luna-testing-validation
|
|
8
|
+
parameters:
|
|
9
|
+
- name: source
|
|
10
|
+
type: string
|
|
11
|
+
description: Path to types file, Prisma schema, or API routes
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: scope
|
|
15
|
+
type: string
|
|
16
|
+
description: Project or feature scope
|
|
17
|
+
required: true
|
|
18
|
+
prompt: true
|
|
19
|
+
workflow:
|
|
20
|
+
- analyze_types_and_schema
|
|
21
|
+
- generate_factory_functions
|
|
22
|
+
- generate_fixtures
|
|
23
|
+
- generate_msw_handlers
|
|
24
|
+
- generate_seed_scripts
|
|
25
|
+
- write_mock_tests
|
|
26
|
+
- generate_mock_report
|
|
27
|
+
output:
|
|
28
|
+
- .luna/{current-project}/mocks/
|
|
29
|
+
- .luna/{current-project}/mock-report.md
|
|
30
|
+
prerequisites: []
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
# Luna Mock Generator
|
|
34
|
+
|
|
35
|
+
Generate realistic test data from your types and schemas.
|
|
36
|
+
|
|
37
|
+
## What This Command Does
|
|
38
|
+
|
|
39
|
+
1. **Analyze** — reads TypeScript types, Prisma schema, Zod schemas
|
|
40
|
+
2. **Factories** — creates factory functions with sensible defaults
|
|
41
|
+
3. **Fixtures** — generates realistic test data (names, emails, UUIDs)
|
|
42
|
+
4. **MSW Handlers** — creates Mock Service Worker API handlers
|
|
43
|
+
5. **Seed Scripts** — generates database seed scripts
|
|
44
|
+
6. **Tests** — validates all mocks match their types
|
|
45
|
+
7. **Report** — documents all generated mocks
|
|
46
|
+
|
|
47
|
+
## Output Structure
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
mocks/
|
|
51
|
+
factories/
|
|
52
|
+
user.factory.ts # createUser(), createUsers(n)
|
|
53
|
+
workflow.factory.ts # createWorkflow(), withSteps()
|
|
54
|
+
team.factory.ts # createTeam(), withMembers()
|
|
55
|
+
fixtures/
|
|
56
|
+
users.json # Static test data
|
|
57
|
+
workflows.json
|
|
58
|
+
handlers/
|
|
59
|
+
auth.handlers.ts # MSW handlers for auth API
|
|
60
|
+
workflows.handlers.ts # MSW handlers for workflows API
|
|
61
|
+
seed.ts # Database seeder
|
|
62
|
+
index.ts # Re-exports everything
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Usage
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
/mock src/types/ # From TypeScript types
|
|
69
|
+
/mock prisma/schema.prisma # From Prisma schema
|
|
70
|
+
/mock src/routes/ # From API routes (generates MSW)
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Features
|
|
74
|
+
|
|
75
|
+
- Faker.js for realistic data (names, emails, dates, UUIDs)
|
|
76
|
+
- Factory pattern with builder methods (`.withRole('admin')`)
|
|
77
|
+
- MSW handlers that return factory data
|
|
78
|
+
- Relationships handled (user → teams → workflows)
|
|
79
|
+
- Deterministic mode for snapshot testing
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-money
|
|
3
|
+
displayName: Luna Money
|
|
4
|
+
description: Full monetization setup — billing integration, pricing page, subscription management, revenue dashboards, dunning recovery
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: monetization
|
|
7
|
+
agent: luna-lemonsqueezy
|
|
8
|
+
parameters:
|
|
9
|
+
- name: provider
|
|
10
|
+
type: string
|
|
11
|
+
description: "Provider: lemonsqueezy (default), stripe"
|
|
12
|
+
required: false
|
|
13
|
+
default: lemonsqueezy
|
|
14
|
+
- name: plans
|
|
15
|
+
type: string
|
|
16
|
+
description: "Plan structure: freemium (default), trial, paid-only, usage-based, per-seat"
|
|
17
|
+
required: false
|
|
18
|
+
default: freemium
|
|
19
|
+
mcp_servers:
|
|
20
|
+
- fetch
|
|
21
|
+
- playwright
|
|
22
|
+
- sequential-thinking
|
|
23
|
+
- memory
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
# /money — Monetize Your App End-to-End
|
|
27
|
+
|
|
28
|
+
One command to set up complete billing: payment provider integration, pricing page, checkout flow, subscription management, webhook handlers, revenue analytics, and dunning recovery.
|
|
29
|
+
|
|
30
|
+
## What Gets Built
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
/money --provider lemonsqueezy --plans freemium
|
|
34
|
+
│
|
|
35
|
+
▼
|
|
36
|
+
┌────────────────────────────────────────┐
|
|
37
|
+
│ BACKEND │
|
|
38
|
+
│ ├── Subscription service │
|
|
39
|
+
│ ├── Webhook handlers (payment events) │
|
|
40
|
+
│ ├── Plan enforcement middleware │
|
|
41
|
+
│ ├── Usage metering (if usage-based) │
|
|
42
|
+
│ ├── Dunning recovery (failed payments)│
|
|
43
|
+
│ ├── Trial expiry management │
|
|
44
|
+
│ └── Revenue analytics endpoints │
|
|
45
|
+
├────────────────────────────────────────┤
|
|
46
|
+
│ FRONTEND │
|
|
47
|
+
│ ├── Pricing page (responsive, A/B) │
|
|
48
|
+
│ ├── Checkout flow (hosted or embedded)│
|
|
49
|
+
│ ├── Billing portal (manage sub) │
|
|
50
|
+
│ ├── Usage dashboard (for user) │
|
|
51
|
+
│ ├── Upgrade/downgrade flows │
|
|
52
|
+
│ └── Invoice history │
|
|
53
|
+
├────────────────────────────────────────┤
|
|
54
|
+
│ OPERATIONS │
|
|
55
|
+
│ ├── Revenue dashboard (MRR, churn) │
|
|
56
|
+
│ ├── Cohort analysis │
|
|
57
|
+
│ ├── Trial conversion tracking │
|
|
58
|
+
│ ├── Dunning email templates │
|
|
59
|
+
│ └── Revenue forecasting │
|
|
60
|
+
└────────────────────────────────────────┘
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Plan Models
|
|
64
|
+
|
|
65
|
+
| Model | Description | Best For |
|
|
66
|
+
|-------|------------|----------|
|
|
67
|
+
| **freemium** | Free tier + paid tiers | SaaS, developer tools |
|
|
68
|
+
| **trial** | 14-day free trial → paid | Enterprise, B2B |
|
|
69
|
+
| **paid-only** | No free tier, start from $X | Premium products |
|
|
70
|
+
| **usage-based** | Pay per API call / compute / storage | APIs, infrastructure |
|
|
71
|
+
| **per-seat** | Price × number of users | Team/collaboration tools |
|
|
72
|
+
|
|
73
|
+
## Usage
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
/money # Default: LemonSqueezy freemium
|
|
77
|
+
/money --provider stripe --plans usage-based # Stripe with usage billing
|
|
78
|
+
/money --provider lemonsqueezy --plans per-seat # Team pricing
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## In Pipes
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
/pipe idea "my SaaS" >> api >> money >> go *10 >> test >> launch
|
|
85
|
+
/pipe money >> hig >> browser-test >> launch production
|
|
86
|
+
/pipe money >> compete "competitor pricing" >> optimize pricing
|
|
87
|
+
```
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-monitor
|
|
3
|
+
displayName: Luna Monitoring & Observability
|
|
4
|
+
description: Set up comprehensive monitoring, dashboards, and alerts
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: operations
|
|
7
|
+
agent: luna-monitoring-observability
|
|
8
|
+
parameters:
|
|
9
|
+
- name: scope
|
|
10
|
+
type: string
|
|
11
|
+
description: Project or feature scope for monitoring
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
workflow:
|
|
15
|
+
- configure_monitoring_tools
|
|
16
|
+
- create_dashboards
|
|
17
|
+
- setup_alerts
|
|
18
|
+
- configure_log_aggregation
|
|
19
|
+
- generate_monitoring_report
|
|
20
|
+
output:
|
|
21
|
+
- .luna/{current-project}/monitoring-observability-report.md (project-level)
|
|
22
|
+
- .luna/{current-project}/{feature}/monitoring-observability-report.md (feature-level)
|
|
23
|
+
prerequisites:
|
|
24
|
+
- .luna/{current-project}/deployment-report.md
|
|
25
|
+
- .luna/{current-project}/design.md
|
|
26
|
+
- .luna/{current-project}/requirements.md
|
|
27
|
+
- production_application_running
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# Luna Monitoring & Observability
|
|
31
|
+
|
|
32
|
+
Sets up comprehensive monitoring, dashboards, and alerts for your deployed application.
|
|
33
|
+
|
|
34
|
+
## What This Command Does
|
|
35
|
+
|
|
36
|
+
This command configures monitoring tools (Sentry, CloudWatch, etc.), creates health, performance, and business dashboards, sets up alerts with different severity levels, configures log aggregation, and generates a comprehensive monitoring and observability report.
|
|
37
|
+
|
|
38
|
+
## Prerequisites
|
|
39
|
+
|
|
40
|
+
Requires in your current project:
|
|
41
|
+
- `.luna/{current-project}/deployment-report.md`
|
|
42
|
+
- `.luna/{current-project}/design.md`
|
|
43
|
+
- `.luna/{current-project}/requirements.md`
|
|
44
|
+
- Production application running
|
|
45
|
+
|
|
46
|
+
If you haven't deployed yet, complete the workflow:
|
|
47
|
+
```bash
|
|
48
|
+
/luna-requirements
|
|
49
|
+
/luna-design
|
|
50
|
+
/luna-plan
|
|
51
|
+
/luna-execute # Until all tasks complete
|
|
52
|
+
/luna-review
|
|
53
|
+
/luna-test
|
|
54
|
+
/luna-deploy
|
|
55
|
+
/luna-docs
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Usage Instructions
|
|
59
|
+
|
|
60
|
+
When you run this command, you'll be prompted for the scope:
|
|
61
|
+
- Press **ENTER** for project-level monitoring
|
|
62
|
+
- Type **feature-name** for feature-specific monitoring
|
|
63
|
+
|
|
64
|
+
## Execution Steps
|
|
65
|
+
|
|
66
|
+
1. **Tool Configuration**: Configures monitoring tools (Sentry, CloudWatch, DataDog, etc.)
|
|
67
|
+
2. **Dashboard Creation**: Creates health, performance, and business dashboards
|
|
68
|
+
3. **Alert Setup**: Sets up alerts with critical, warning, and info severity levels
|
|
69
|
+
4. **Log Aggregation**: Configures centralized log collection and analysis
|
|
70
|
+
5. **Report Generation**: Generates comprehensive monitoring-observability-report.md
|
|
71
|
+
|
|
72
|
+
## Output Files
|
|
73
|
+
|
|
74
|
+
Creates in your current project:
|
|
75
|
+
- `.luna/{current-project}/monitoring-observability-report.md` for project-level monitoring
|
|
76
|
+
- `.luna/{current-project}/{feature}/monitoring-observability-report.md` for feature-level monitoring
|
|
77
|
+
|
|
78
|
+
The monitoring report includes:
|
|
79
|
+
- Monitoring tools configuration details and credentials
|
|
80
|
+
- Dashboard URLs and access information
|
|
81
|
+
- Alert configurations with escalation procedures
|
|
82
|
+
- Current system health and performance metrics
|
|
83
|
+
- SLO/SLA status and compliance tracking
|
|
84
|
+
- Monitoring optimization recommendations
|
|
85
|
+
|
|
86
|
+
## Monitoring Setup
|
|
87
|
+
|
|
88
|
+
**Health Monitoring:**
|
|
89
|
+
- Application uptime and availability
|
|
90
|
+
- Service dependency health checks
|
|
91
|
+
- Infrastructure resource utilization
|
|
92
|
+
|
|
93
|
+
**Performance Monitoring:**
|
|
94
|
+
- Response times and throughput
|
|
95
|
+
- Error rates and patterns
|
|
96
|
+
- Database performance metrics
|
|
97
|
+
|
|
98
|
+
**Business Monitoring:**
|
|
99
|
+
- User activity and engagement
|
|
100
|
+
- Feature usage statistics
|
|
101
|
+
- Revenue and conversion metrics
|
|
102
|
+
|
|
103
|
+
**Alert Configuration:**
|
|
104
|
+
- Critical alerts (immediate notification)
|
|
105
|
+
- Warning alerts (within 15 minutes)
|
|
106
|
+
- Info alerts (daily digest)
|
|
107
|
+
|
|
108
|
+
## Next Steps in Workflow
|
|
109
|
+
|
|
110
|
+
After 7 days in production with monitoring running, perform post-launch review:
|
|
111
|
+
```
|
|
112
|
+
/luna-postlaunch
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Tips
|
|
116
|
+
|
|
117
|
+
- Monitor your dashboards regularly to detect issues early
|
|
118
|
+
- Adjust alert thresholds to reduce noise and catch real issues
|
|
119
|
+
- Review log patterns to identify potential improvements
|
|
120
|
+
- Good monitoring helps you maintain system reliability and user satisfaction
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-morph
|
|
3
|
+
displayName: Luna Morph
|
|
4
|
+
description: Transform any app between platforms — web to mobile, mobile to desktop, React to Vue, Next.js to Nuxt, REST to GraphQL
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: transformation
|
|
7
|
+
agent: luna-design-architect
|
|
8
|
+
parameters:
|
|
9
|
+
- name: from
|
|
10
|
+
type: string
|
|
11
|
+
description: Source (path, URL, or description of current state)
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: to
|
|
15
|
+
type: string
|
|
16
|
+
description: "Target platform/framework/pattern"
|
|
17
|
+
required: true
|
|
18
|
+
prompt: true
|
|
19
|
+
mcp_servers:
|
|
20
|
+
- git
|
|
21
|
+
- fetch
|
|
22
|
+
- playwright
|
|
23
|
+
- zai-mcp-server
|
|
24
|
+
- sequential-thinking
|
|
25
|
+
- ruflo
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
# /morph — Transform Anything Into Anything
|
|
29
|
+
|
|
30
|
+
The universal translator for code. Change platforms, frameworks, patterns, or paradigms while preserving all business logic.
|
|
31
|
+
|
|
32
|
+
## Transformations
|
|
33
|
+
|
|
34
|
+
### Platform Morphs
|
|
35
|
+
```bash
|
|
36
|
+
/morph ./web-app to "React Native mobile app"
|
|
37
|
+
/morph ./web-app to "Electron desktop app"
|
|
38
|
+
/morph ./mobile-app to "Progressive Web App"
|
|
39
|
+
/morph ./rest-api to "GraphQL API"
|
|
40
|
+
/morph ./monolith to "microservices"
|
|
41
|
+
/morph ./express-app to "Cloudflare Workers"
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Framework Morphs
|
|
45
|
+
```bash
|
|
46
|
+
/morph ./react-app to "Vue 3 + Nuxt"
|
|
47
|
+
/morph ./next-app to "Remix"
|
|
48
|
+
/morph ./next-app to "Astro + React islands"
|
|
49
|
+
/morph ./cra-app to "Vite + React"
|
|
50
|
+
/morph ./express-api to "Hono"
|
|
51
|
+
/morph ./prisma-schema to "Drizzle"
|
|
52
|
+
/morph ./redux-store to "Zustand"
|
|
53
|
+
/morph ./class-components to "functional + hooks"
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Pattern Morphs
|
|
57
|
+
```bash
|
|
58
|
+
/morph ./callbacks to "async/await"
|
|
59
|
+
/morph ./rest-endpoints to "tRPC procedures"
|
|
60
|
+
/morph ./sql-queries to "Prisma ORM"
|
|
61
|
+
/morph ./javascript to "TypeScript strict"
|
|
62
|
+
/morph ./css-modules to "Tailwind"
|
|
63
|
+
/morph ./jest-tests to "Vitest"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Design Morphs
|
|
67
|
+
```bash
|
|
68
|
+
/morph ./material-ui to "Apple HIG + shadcn"
|
|
69
|
+
/morph ./bootstrap-site to "Tailwind + custom design system"
|
|
70
|
+
/morph ./dark-theme to "light + dark with system preference"
|
|
71
|
+
/morph https://competitor.com to "our brand + our design system"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## How It Works
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
/morph ./src to "Vue 3"
|
|
78
|
+
│
|
|
79
|
+
▼
|
|
80
|
+
ANALYZE SOURCE
|
|
81
|
+
├── Parse all components, routes, state, hooks
|
|
82
|
+
├── Extract business logic (framework-agnostic)
|
|
83
|
+
├── Map dependencies to equivalents
|
|
84
|
+
└── Identify platform-specific code
|
|
85
|
+
│
|
|
86
|
+
▼
|
|
87
|
+
PLAN TRANSFORMATION
|
|
88
|
+
├── 1:1 component mapping (React→Vue SFC)
|
|
89
|
+
├── State management mapping (Zustand→Pinia)
|
|
90
|
+
├── Router mapping (Next.js→Nuxt)
|
|
91
|
+
├── Build system mapping (webpack→Vite)
|
|
92
|
+
└── Test framework mapping (Jest→Vitest)
|
|
93
|
+
│
|
|
94
|
+
▼
|
|
95
|
+
EXECUTE (ruflo swarm — parallel per module)
|
|
96
|
+
├── Agent 1: Transform components
|
|
97
|
+
├── Agent 2: Transform state/stores
|
|
98
|
+
├── Agent 3: Transform routes/pages
|
|
99
|
+
├── Agent 4: Transform API layer
|
|
100
|
+
├── Agent 5: Transform tests
|
|
101
|
+
└── Agent 6: Update configs/build
|
|
102
|
+
│
|
|
103
|
+
▼
|
|
104
|
+
VERIFY
|
|
105
|
+
├── TypeScript compiles cleanly
|
|
106
|
+
├── All tests pass in new framework
|
|
107
|
+
├── Visual diff matches original
|
|
108
|
+
└── Performance benchmark comparison
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## In Pipes
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
/pipe morph ./app to "React Native" >> hig >> test >> launch staging
|
|
115
|
+
/pipe morph ./api to "GraphQL" >> test >> visual-diff >> launch production
|
|
116
|
+
/pipe clone https://app.com >> morph to "our stack" >> brand >> ship
|
|
117
|
+
```
|