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,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-ghost
|
|
3
|
+
displayName: Luna Ghost Writer
|
|
4
|
+
description: AI content generation — blog posts, docs, changelogs, social posts, emails, landing pages from your codebase context
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: content
|
|
7
|
+
agent: luna-documentation
|
|
8
|
+
parameters:
|
|
9
|
+
- name: type
|
|
10
|
+
type: string
|
|
11
|
+
description: "Content type: blog, changelog, social, email, docs, landing, pitch, readme"
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: topic
|
|
15
|
+
type: string
|
|
16
|
+
description: Topic or context for the content
|
|
17
|
+
required: false
|
|
18
|
+
mcp_servers:
|
|
19
|
+
- git
|
|
20
|
+
- fetch
|
|
21
|
+
- memory
|
|
22
|
+
- sequential-thinking
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# /ghost — Content That Writes Itself
|
|
26
|
+
|
|
27
|
+
Generate any content from your codebase context. Luna reads your code, understands your product, and writes content that's technically accurate and on-brand.
|
|
28
|
+
|
|
29
|
+
## Content Types
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
/ghost blog "How we built real-time sync in 3 days" # Technical blog post
|
|
33
|
+
/ghost changelog # From git log → changelog
|
|
34
|
+
/ghost social "New feature: AI workflows" # Twitter thread + LinkedIn
|
|
35
|
+
/ghost email "Welcome new users" # Onboarding email sequence
|
|
36
|
+
/ghost docs # API docs from code
|
|
37
|
+
/ghost landing "Enterprise features" # Landing page copy
|
|
38
|
+
/ghost pitch "Series A investor deck" # Pitch content
|
|
39
|
+
/ghost readme # README from codebase analysis
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## How It Works
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
/ghost blog "our new billing system"
|
|
46
|
+
│
|
|
47
|
+
▼
|
|
48
|
+
CONTEXT GATHERING
|
|
49
|
+
├── git log: recent billing-related commits
|
|
50
|
+
├── Code: billing service, webhook handlers
|
|
51
|
+
├── memory: product decisions, architecture choices
|
|
52
|
+
├── fetch: competitor billing approaches
|
|
53
|
+
└── Brand voice from design system
|
|
54
|
+
│
|
|
55
|
+
▼
|
|
56
|
+
GENERATION
|
|
57
|
+
├── Outline with technical depth
|
|
58
|
+
├── Code snippets from actual codebase
|
|
59
|
+
├── Architecture diagrams (mermaid)
|
|
60
|
+
├── Before/after comparisons
|
|
61
|
+
├── Performance metrics
|
|
62
|
+
└── Call-to-action
|
|
63
|
+
│
|
|
64
|
+
▼
|
|
65
|
+
POLISH
|
|
66
|
+
├── SEO optimization (meta, headings, keywords)
|
|
67
|
+
├── Readability score (Flesch-Kincaid)
|
|
68
|
+
├── Technical accuracy verification
|
|
69
|
+
├── Brand voice consistency
|
|
70
|
+
└── Social media derivative versions
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## In Pipes
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
/pipe launch production >> ghost changelog >> ghost social >> ghost email "release announcement"
|
|
77
|
+
/pipe go *5 >> test >> ship >> ghost blog "what we shipped this sprint"
|
|
78
|
+
/pipe ghost readme >> ghost docs >> ghost landing >> deploy docs
|
|
79
|
+
```
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-git-insights
|
|
3
|
+
displayName: Luna Git Insights
|
|
4
|
+
description: Repository analytics and visualization — commit patterns, contributor stats, code churn, bus factor
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: analysis
|
|
7
|
+
agent: luna-task-executor
|
|
8
|
+
parameters:
|
|
9
|
+
- name: path
|
|
10
|
+
type: string
|
|
11
|
+
description: "Repository path to analyze (default: current directory)"
|
|
12
|
+
required: false
|
|
13
|
+
default: "."
|
|
14
|
+
- name: period
|
|
15
|
+
type: string
|
|
16
|
+
description: "Analysis period: 7d, 30d, 90d, 1y, all (default: 30d)"
|
|
17
|
+
required: false
|
|
18
|
+
default: "30d"
|
|
19
|
+
- name: format
|
|
20
|
+
type: string
|
|
21
|
+
description: "Output format: report, json, csv, html (default: report)"
|
|
22
|
+
required: false
|
|
23
|
+
default: report
|
|
24
|
+
mcp_servers:
|
|
25
|
+
- memory
|
|
26
|
+
- git
|
|
27
|
+
- sequential-thinking
|
|
28
|
+
prerequisites:
|
|
29
|
+
- name: git
|
|
30
|
+
check: "git --version"
|
|
31
|
+
install: "Install git from https://git-scm.com"
|
|
32
|
+
optional: false
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
# /git-insights — Repository Analytics and Visualization
|
|
36
|
+
|
|
37
|
+
Analyze git history for actionable insights. Generates visual reports on commit patterns, contributor stats, code churn, and bus factor. Helps prioritize code reviews and understand project health.
|
|
38
|
+
|
|
39
|
+
## What It Does
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
/git-insights
|
|
43
|
+
│
|
|
44
|
+
├── COLLECT: Parse git log, diff-stat, blame
|
|
45
|
+
│ ├── Commit history (messages, authors, dates)
|
|
46
|
+
│ ├── File change frequency (churn)
|
|
47
|
+
│ ├── Lines added/removed per author
|
|
48
|
+
│ ├── Branch/merge patterns
|
|
49
|
+
│ └── Tag and release history
|
|
50
|
+
│
|
|
51
|
+
├── ANALYZE
|
|
52
|
+
│ ├── Contribution Graph
|
|
53
|
+
│ │ ├── Commits per author per week
|
|
54
|
+
│ │ ├── Active hours heatmap
|
|
55
|
+
│ │ └── Collaboration network
|
|
56
|
+
│ │
|
|
57
|
+
│ ├── Code Churn
|
|
58
|
+
│ │ ├── Most changed files (hotspots)
|
|
59
|
+
│ │ ├── Churn rate over time
|
|
60
|
+
│ │ ├── Files with high churn + low coverage
|
|
61
|
+
│ │ └── Stabilization trends
|
|
62
|
+
│ │
|
|
63
|
+
│ ├── Bus Factor
|
|
64
|
+
│ │ ├── Knowledge concentration per file/module
|
|
65
|
+
│ │ ├── Single-author files (risk)
|
|
66
|
+
│ │ ├── Team knowledge overlap
|
|
67
|
+
│ │ └── Recommended pairing targets
|
|
68
|
+
│ │
|
|
69
|
+
│ └── Velocity
|
|
70
|
+
│ ├── Commits per day/week trend
|
|
71
|
+
│ ├── PR merge time distribution
|
|
72
|
+
│ ├── Release frequency
|
|
73
|
+
│ └── Code review turnaround
|
|
74
|
+
│
|
|
75
|
+
└── OUTPUT
|
|
76
|
+
├── Markdown report with charts
|
|
77
|
+
├── JSON data for dashboards
|
|
78
|
+
└── Actionable recommendations
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## How It Works
|
|
82
|
+
|
|
83
|
+
1. **Git log parsing**: Extracts full commit history with diffs
|
|
84
|
+
2. **Statistical analysis**: Calculates churn, velocity, bus factor
|
|
85
|
+
3. **Pattern detection**: Identifies hotspots, bottlenecks, risks
|
|
86
|
+
4. **Visualization**: ASCII charts in terminal, HTML for browsers
|
|
87
|
+
5. **Recommendations**: Prioritized action items based on data
|
|
88
|
+
|
|
89
|
+
## Usage
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
/git-insights # Current repo, last 30 days
|
|
93
|
+
/git-insights --period 90d # Last 90 days
|
|
94
|
+
/git-insights --path ../lunaos-engine # Specific repo
|
|
95
|
+
/git-insights --format html # HTML report
|
|
96
|
+
/git-insights --period all --format json # Full history as JSON
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## Use Cases
|
|
100
|
+
|
|
101
|
+
| Use Case | Command |
|
|
102
|
+
|----------|---------|
|
|
103
|
+
| Project health check | `/git-insights --period 30d` |
|
|
104
|
+
| Team productivity | `/git-insights --period 90d --format report` |
|
|
105
|
+
| Code review priority | `/git-insights` (focuses on high-churn files) |
|
|
106
|
+
| Bus factor analysis | `/git-insights --period all` |
|
|
107
|
+
| Sprint retrospective | `/git-insights --period 14d` |
|
|
108
|
+
|
|
109
|
+
## Output Structure
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
git-insights/
|
|
113
|
+
├── report.md # Full analytics report
|
|
114
|
+
├── data.json # Raw metrics data
|
|
115
|
+
│ {
|
|
116
|
+
│ "period": "30d",
|
|
117
|
+
│ "commits": 142,
|
|
118
|
+
│ "authors": 5,
|
|
119
|
+
│ "bus_factor": 2.3,
|
|
120
|
+
│ "hotspots": ["src/routes/workflows.ts", ...],
|
|
121
|
+
│ "velocity": { "avg_commits_per_day": 4.7 }
|
|
122
|
+
│ }
|
|
123
|
+
├── charts/
|
|
124
|
+
│ ├── contribution-graph.txt # ASCII contribution graph
|
|
125
|
+
│ ├── churn-heatmap.txt # File churn visualization
|
|
126
|
+
│ └── velocity-trend.txt # Commit velocity over time
|
|
127
|
+
└── recommendations.md # Prioritized actions
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Key Metrics Explained
|
|
131
|
+
|
|
132
|
+
| Metric | What It Means | Action If Bad |
|
|
133
|
+
|--------|--------------|---------------|
|
|
134
|
+
| Bus factor < 2 | Knowledge concentrated | Pair programming, docs |
|
|
135
|
+
| Churn > 20 changes/month | Unstable file | Refactor, add tests |
|
|
136
|
+
| Single-author files | No review coverage | Assign reviewers |
|
|
137
|
+
| Declining velocity | Team slowdown | Remove blockers |
|
|
138
|
+
| Long PR merge time | Review bottleneck | Add reviewers, split PRs |
|
|
139
|
+
|
|
140
|
+
## In Pipes
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
/pipe git-insights >> ghost blog "Monthly Project Report"
|
|
144
|
+
/pipe git-insights --format json >> pulse >> present "Sprint Retro"
|
|
145
|
+
/pipe git-insights >> assert "bus_factor > 2" >> ship
|
|
146
|
+
/pipe git-insights >> collab standup >> publish slack
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
## Reference
|
|
150
|
+
|
|
151
|
+
- Inspired by: https://github.com/abhigyanpatwari/GitNexus
|
|
152
|
+
- Git log format: `git log --format='%H|%an|%ae|%at|%s' --numstat`
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-go-viral
|
|
3
|
+
displayName: Luna Go Viral
|
|
4
|
+
description: Complete AI-first product launch — technical SEO + AI discovery files + MCP registry + organic content + awesome lists + search engine promotion. One command to make every AI agent recommend your product.
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: deployment
|
|
7
|
+
agent: luna-seo
|
|
8
|
+
parameters:
|
|
9
|
+
- name: product_name
|
|
10
|
+
type: string
|
|
11
|
+
description: "Product name"
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: domain
|
|
15
|
+
type: string
|
|
16
|
+
description: "Production domain"
|
|
17
|
+
required: true
|
|
18
|
+
prompt: true
|
|
19
|
+
- name: api_domain
|
|
20
|
+
type: string
|
|
21
|
+
description: "API domain (leave blank if same as domain)"
|
|
22
|
+
required: false
|
|
23
|
+
- name: repo
|
|
24
|
+
type: string
|
|
25
|
+
description: "GitHub repo (e.g., org/repo)"
|
|
26
|
+
required: true
|
|
27
|
+
prompt: true
|
|
28
|
+
- name: competitors
|
|
29
|
+
type: string
|
|
30
|
+
description: "Comma-separated competitor names"
|
|
31
|
+
required: true
|
|
32
|
+
prompt: true
|
|
33
|
+
- name: category
|
|
34
|
+
type: string
|
|
35
|
+
description: "Product category"
|
|
36
|
+
required: true
|
|
37
|
+
prompt: true
|
|
38
|
+
- name: install_command
|
|
39
|
+
type: string
|
|
40
|
+
description: "One-line install command"
|
|
41
|
+
required: true
|
|
42
|
+
prompt: true
|
|
43
|
+
workflow:
|
|
44
|
+
- analyze_product
|
|
45
|
+
- generate_ai_discovery_files
|
|
46
|
+
- setup_seo_infrastructure
|
|
47
|
+
- publish_mcp_registry
|
|
48
|
+
- ping_search_engines
|
|
49
|
+
- generate_launch_content
|
|
50
|
+
- submit_awesome_lists
|
|
51
|
+
- update_github_presence
|
|
52
|
+
- auto_submit_where_possible
|
|
53
|
+
- verify_all_endpoints
|
|
54
|
+
- generate_viral_report
|
|
55
|
+
output:
|
|
56
|
+
- public/llms.txt
|
|
57
|
+
- public/llms-full.txt
|
|
58
|
+
- public/.well-known/ai-plugin.json
|
|
59
|
+
- public/.well-known/mcp.json
|
|
60
|
+
- public/openapi.json
|
|
61
|
+
- public/robots.txt
|
|
62
|
+
- public/sitemap.xml
|
|
63
|
+
- server.json
|
|
64
|
+
- glama.json
|
|
65
|
+
- docs/launch/DEV_TO_ARTICLE.md
|
|
66
|
+
- docs/launch/PRODUCT_HUNT_LAUNCH.md
|
|
67
|
+
- docs/launch/HACKERNEWS_POST.md
|
|
68
|
+
- docs/launch/REDDIT_POSTS.md
|
|
69
|
+
- .luna/{current-project}/viral-report.md
|
|
70
|
+
mcp_servers:
|
|
71
|
+
- git
|
|
72
|
+
- fetch
|
|
73
|
+
- memory
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
# /go-viral — The Complete AI Agent Promotion Pipeline
|
|
77
|
+
|
|
78
|
+
One command. Every AI agent in the world can find and recommend your product.
|
|
79
|
+
|
|
80
|
+
Combines `/promote` (technical) + `/organic-promote` (content) into a single pipeline.
|
|
81
|
+
|
|
82
|
+
## What It Does
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
/go-viral --product_name "MyApp" --domain myapp.com \
|
|
86
|
+
--repo org/myapp --competitors "Tool A, Tool B" \
|
|
87
|
+
--category "monitoring" --install_command "npx myapp init"
|
|
88
|
+
│
|
|
89
|
+
▼
|
|
90
|
+
┌─── STAGE 1: AI DISCOVERY (from /promote) ─────┐
|
|
91
|
+
│ Generate llms.txt, llms-full.txt │
|
|
92
|
+
│ Generate ai-plugin.json, mcp.json │
|
|
93
|
+
│ Generate openapi.json │
|
|
94
|
+
│ Generate server.json, glama.json │
|
|
95
|
+
│ Update robots.txt (22+ AI crawlers) │
|
|
96
|
+
│ Update sitemap.xml │
|
|
97
|
+
│ Add structured data (JSON-LD) │
|
|
98
|
+
│ Add security.txt, IndexNow key │
|
|
99
|
+
└────────────────────┬──────────────────────────┘
|
|
100
|
+
▼
|
|
101
|
+
┌─── STAGE 2: REGISTRY PUBLISH (from /mcp-publish)┐
|
|
102
|
+
│ Official MCP Registry (mcp-publisher publish) │
|
|
103
|
+
│ Smithery (smithery mcp publish) │
|
|
104
|
+
│ Glama (auto-index from glama.json) │
|
|
105
|
+
│ npm (with mcpName field) │
|
|
106
|
+
└────────────────────┬──────────────────────────┘
|
|
107
|
+
▼
|
|
108
|
+
┌─── STAGE 3: SEARCH ENGINE INDEX ──────────────┐
|
|
109
|
+
│ Ping Google sitemap │
|
|
110
|
+
│ Ping Bing sitemap │
|
|
111
|
+
│ Submit IndexNow (all URLs) │
|
|
112
|
+
│ Verify all 8+ AI discovery endpoints │
|
|
113
|
+
└────────────────────┬──────────────────────────┘
|
|
114
|
+
▼
|
|
115
|
+
┌─── STAGE 4: ORGANIC CONTENT (from /organic-promote)┐
|
|
116
|
+
│ Write Dev.to article (auto-publish if API key) │
|
|
117
|
+
│ Write Product Hunt launch copy │
|
|
118
|
+
│ Write Hacker News Show HN post │
|
|
119
|
+
│ Write Reddit posts (2-3 subreddits) │
|
|
120
|
+
│ Write Stack Overflow answer templates │
|
|
121
|
+
└────────────────────┬──────────────────────────┘
|
|
122
|
+
▼
|
|
123
|
+
┌─── STAGE 5: GITHUB & LISTINGS ────────────────┐
|
|
124
|
+
│ Add 12+ GitHub topics │
|
|
125
|
+
│ Update repo description (SEO-optimized) │
|
|
126
|
+
│ Fork & PR to awesome-{category} lists │
|
|
127
|
+
│ Fork & PR to awesome-mcp-servers │
|
|
128
|
+
│ Prepare AlternativeTo submission │
|
|
129
|
+
│ Prepare G2, StackShare, Slant submissions │
|
|
130
|
+
└────────────────────┬──────────────────────────┘
|
|
131
|
+
▼
|
|
132
|
+
┌─── STAGE 6: REPORT ──────────────────────────┐
|
|
133
|
+
│ .luna/{project}/viral-report.md │
|
|
134
|
+
│ ├── Files generated (with paths) │
|
|
135
|
+
│ ├── Registries published │
|
|
136
|
+
│ ├── Search engines pinged │
|
|
137
|
+
│ ├── Content created (with copy-paste links) │
|
|
138
|
+
│ ├── PRs opened (with links) │
|
|
139
|
+
│ ├── Manual submissions (with URLs) │
|
|
140
|
+
│ ├── Verification results │
|
|
141
|
+
│ └── Timeline: when each AI agent will find you│
|
|
142
|
+
└───────────────────────────────────────────────┘
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Equivalent Pipe
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
/pipe ai-index >> ship >> mcp-publish >> promote verify >> organic-promote
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## After Running
|
|
152
|
+
|
|
153
|
+
| What Gets Indexed | By Whom | When |
|
|
154
|
+
|-------------------|---------|------|
|
|
155
|
+
| llms.txt | Claude, GPTBot, PerplexityBot | 1-7 days (crawl cycle) |
|
|
156
|
+
| Dev.to article | Google → all AI agents | Same day |
|
|
157
|
+
| Product Hunt | Google → ChatGPT, Perplexity | Same day |
|
|
158
|
+
| Hacker News | Google → all AI agents | Same day |
|
|
159
|
+
| awesome-mcp-servers | Cursor, Claude Code, Windsurf | When PR merged |
|
|
160
|
+
| awesome-{category} lists | Google → all AI agents | When PR merged |
|
|
161
|
+
| MCP Registry | Claude, Cursor, Windsurf | Immediate |
|
|
162
|
+
| GitHub topics | GitHub search, Copilot | Immediate |
|
|
163
|
+
| Structured data | Google AI Overview | 1-2 weeks |
|
|
164
|
+
|
|
165
|
+
## The Goal
|
|
166
|
+
|
|
167
|
+
When a user who has **never heard of your product** asks an AI agent:
|
|
168
|
+
|
|
169
|
+
> "What's the best {category} tool?"
|
|
170
|
+
|
|
171
|
+
Your product appears in the answer. That's the goal. This command makes it happen.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-graph-rag
|
|
3
|
+
displayName: Luna Graph RAG
|
|
4
|
+
description: Knowledge graph RAG — builds a code graph with community detection for 30-60% better retrieval than flat vector search
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: search
|
|
7
|
+
agent: luna-graph-rag
|
|
8
|
+
parameters:
|
|
9
|
+
- name: query
|
|
10
|
+
type: string
|
|
11
|
+
description: Natural language query to search the knowledge graph
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: depth
|
|
15
|
+
type: number
|
|
16
|
+
description: "Graph traversal depth: 1 (direct), 2 (neighbors), 3 (extended network)"
|
|
17
|
+
required: false
|
|
18
|
+
default: 2
|
|
19
|
+
enum: [1, 2, 3]
|
|
20
|
+
workflow:
|
|
21
|
+
- ensure_graph_built
|
|
22
|
+
- parse_query_entities
|
|
23
|
+
- traverse_graph
|
|
24
|
+
- community_detection
|
|
25
|
+
- rank_subgraph
|
|
26
|
+
- generate_answer
|
|
27
|
+
output: []
|
|
28
|
+
prerequisites: []
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# Luna Graph RAG
|
|
32
|
+
|
|
33
|
+
Knowledge graph RAG inspired by RuVector. Builds a knowledge graph from your codebase — files, functions, imports, types, and their relationships — then uses multi-hop traversal for 30-60% better retrieval than flat vector search.
|
|
34
|
+
|
|
35
|
+
## What This Command Does
|
|
36
|
+
|
|
37
|
+
1. **Ensure Graph Built** — builds or updates the knowledge graph from your codebase (cached)
|
|
38
|
+
2. **Parse Query Entities** — extracts entities and relationships from your natural language query
|
|
39
|
+
3. **Traverse Graph** — walks the graph from matched entities to the requested depth
|
|
40
|
+
4. **Community Detection** — identifies clusters of related code (Louvain algorithm)
|
|
41
|
+
5. **Rank Subgraph** — scores nodes by relevance to the query using PageRank + semantic similarity
|
|
42
|
+
6. **Generate Answer** — produces a natural language answer with graph-backed references
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
/graph-rag "find all functions that affect billing and use the DB"
|
|
48
|
+
/graph-rag "what code paths lead to sending an email notification" --depth 3
|
|
49
|
+
/graph-rag "which components depend on the useAuth hook" --depth 1
|
|
50
|
+
/graph-rag "trace the data flow from webhook receipt to run completion"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Graph Node Types
|
|
54
|
+
|
|
55
|
+
| Node Type | What's Indexed | Example |
|
|
56
|
+
|-----------|---------------|---------|
|
|
57
|
+
| **File** | Path, exports, size, last modified | `src/services/billing.ts` |
|
|
58
|
+
| **Function** | Name, params, return type, complexity | `calculateInvoice(org, period)` |
|
|
59
|
+
| **Type** | Name, fields, used-by | `interface Subscription` |
|
|
60
|
+
| **Route** | Method, path, handler, middleware | `POST /api/workflows` |
|
|
61
|
+
| **Component** | Name, props, hooks used | `<WorkflowEditor />` |
|
|
62
|
+
| **Table** | Name, columns, relations | `workflow_schedules` |
|
|
63
|
+
|
|
64
|
+
## Graph Edge Types
|
|
65
|
+
|
|
66
|
+
| Edge | Meaning | Example |
|
|
67
|
+
|------|---------|---------|
|
|
68
|
+
| **imports** | File imports from another | `billing.ts -> db.ts` |
|
|
69
|
+
| **calls** | Function invokes another | `createRun -> executeStep` |
|
|
70
|
+
| **implements** | Function implements a type | `BillingService -> IBilling` |
|
|
71
|
+
| **uses_table** | Function queries a table | `getSubscription -> subscriptions` |
|
|
72
|
+
| **renders** | Component renders another | `Dashboard -> BillingCard` |
|
|
73
|
+
| **depends_on** | Module depends on module | `routes/billing -> services/billing` |
|
|
74
|
+
|
|
75
|
+
## Depth Levels
|
|
76
|
+
|
|
77
|
+
| Depth | Scope | Best For |
|
|
78
|
+
|-------|-------|----------|
|
|
79
|
+
| **1** | Direct connections only | "What does this function call?" |
|
|
80
|
+
| **2** | Neighbors of neighbors | "What's related to billing?" (default) |
|
|
81
|
+
| **3** | Extended network | "Trace the full data flow end-to-end" |
|
|
82
|
+
|
|
83
|
+
## Community Detection
|
|
84
|
+
|
|
85
|
+
The graph automatically detects code communities — clusters of files and functions that work together.
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
Community: "Billing Subsystem"
|
|
89
|
+
Members: billing.ts, subscriptions.ts, invoices.ts,
|
|
90
|
+
BillingCard.tsx, PricingPage.tsx, billing.test.ts
|
|
91
|
+
Cohesion: 0.87
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Communities help answer broad questions like "show me everything related to billing" without manually listing files.
|
|
95
|
+
|
|
96
|
+
## Comparison with Flat Vector Search
|
|
97
|
+
|
|
98
|
+
| Feature | Flat Vector (RAG) | Graph RAG |
|
|
99
|
+
|---------|-------------------|-----------|
|
|
100
|
+
| Retrieval accuracy | Good for single-hop | 30-60% better for multi-hop |
|
|
101
|
+
| Relationship awareness | None | Full dependency graph |
|
|
102
|
+
| Community detection | None | Automatic clustering |
|
|
103
|
+
| "How does X affect Y" | Poor | Excellent (path finding) |
|
|
104
|
+
| Cold start speed | Fast (embed + search) | Slower (graph build first) |
|
|
105
|
+
| Index size | ~2MB per 1K files | ~5MB per 1K files |
|
|
106
|
+
|
|
107
|
+
## Graph Storage
|
|
108
|
+
|
|
109
|
+
- Graph stored in `.luna/graph/` as adjacency list JSON
|
|
110
|
+
- Incremental updates on file changes (no full rebuild)
|
|
111
|
+
- Graph build takes ~10s for 1K files, ~30s for 5K files
|
|
112
|
+
- Query execution: <500ms for depth 1-2, ~1s for depth 3
|
|
113
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-guard
|
|
3
|
+
displayName: Luna Guard
|
|
4
|
+
description: Continuous security guardian — SAST, DAST, dependency audit, secret scan, compliance check, threat modeling
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: security
|
|
7
|
+
agent: luna-365-security
|
|
8
|
+
parameters:
|
|
9
|
+
- name: mode
|
|
10
|
+
type: string
|
|
11
|
+
description: "Mode: full (all checks), quick (critical only), watch (continuous), audit (formal report)"
|
|
12
|
+
required: false
|
|
13
|
+
default: full
|
|
14
|
+
mcp_servers:
|
|
15
|
+
- git
|
|
16
|
+
- fetch
|
|
17
|
+
- sequential-thinking
|
|
18
|
+
- memory
|
|
19
|
+
- accessibility-scanner
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# /guard — Your Security Team in a Command
|
|
23
|
+
|
|
24
|
+
Continuous security that runs SAST, DAST, dependency audit, secret scanning, and compliance checks. Generates threat models and fix PRs automatically.
|
|
25
|
+
|
|
26
|
+
## Security Layers
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
/guard full
|
|
30
|
+
│
|
|
31
|
+
├── LAYER 1: STATIC ANALYSIS (SAST)
|
|
32
|
+
│ ├── SQL injection patterns
|
|
33
|
+
│ ├── XSS vulnerabilities
|
|
34
|
+
│ ├── Command injection
|
|
35
|
+
│ ├── Path traversal
|
|
36
|
+
│ ├── Insecure crypto
|
|
37
|
+
│ ├── Hardcoded secrets
|
|
38
|
+
│ └── OWASP Top 10 patterns
|
|
39
|
+
│
|
|
40
|
+
├── LAYER 2: DEPENDENCY AUDIT
|
|
41
|
+
│ ├── Known CVEs in all dependencies
|
|
42
|
+
│ ├── Outdated packages with security patches
|
|
43
|
+
│ ├── License compliance (GPL contamination)
|
|
44
|
+
│ ├── Typosquatting detection
|
|
45
|
+
│ └── Supply chain risk scoring
|
|
46
|
+
│
|
|
47
|
+
├── LAYER 3: SECRET SCANNING
|
|
48
|
+
│ ├── API keys, tokens, passwords in code
|
|
49
|
+
│ ├── .env files committed to git
|
|
50
|
+
│ ├── Secrets in git history (even deleted)
|
|
51
|
+
│ ├── Base64-encoded secrets
|
|
52
|
+
│ └── High-entropy string detection
|
|
53
|
+
│
|
|
54
|
+
├── LAYER 4: DYNAMIC ANALYSIS (DAST)
|
|
55
|
+
│ ├── Auth bypass attempts
|
|
56
|
+
│ ├── Rate limit verification
|
|
57
|
+
│ ├── CORS misconfiguration
|
|
58
|
+
│ ├── Header security (CSP, HSTS, etc.)
|
|
59
|
+
│ ├── Cookie security flags
|
|
60
|
+
│ └── API endpoint fuzzing
|
|
61
|
+
│
|
|
62
|
+
├── LAYER 5: THREAT MODEL
|
|
63
|
+
│ ├── Attack surface mapping
|
|
64
|
+
│ ├── Data flow analysis
|
|
65
|
+
│ ├── Trust boundary identification
|
|
66
|
+
│ ├── STRIDE threat classification
|
|
67
|
+
│ └── Risk scoring (likelihood × impact)
|
|
68
|
+
│
|
|
69
|
+
└── LAYER 6: COMPLIANCE
|
|
70
|
+
├── GDPR data handling check
|
|
71
|
+
├── SOC 2 control mapping
|
|
72
|
+
├── WCAG accessibility (via a11y MCP)
|
|
73
|
+
├── PCI DSS (if payments involved)
|
|
74
|
+
└── HIPAA (if health data involved)
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Usage
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
/guard # Full security scan
|
|
81
|
+
/guard quick # Critical vulnerabilities only (30 seconds)
|
|
82
|
+
/guard watch # Continuous — re-scans on file changes
|
|
83
|
+
/guard audit # Formal audit report for compliance
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## In Pipes
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
/pipe guard quick >> go *5 >> guard full >> launch production
|
|
90
|
+
/pipe go *5 >> test >> guard >> if $guard.critical > 0 >> fix >> guard
|
|
91
|
+
/pipe @before:guard go *10 >> ship # Guard runs before every step
|
|
92
|
+
```
|