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,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-time-machine
|
|
3
|
+
displayName: Luna Time Machine
|
|
4
|
+
description: Travel through your project's history — replay any state, compare any two points in time, understand why anything changed
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: intelligence
|
|
7
|
+
agent: luna-task-executor
|
|
8
|
+
parameters:
|
|
9
|
+
- name: action
|
|
10
|
+
type: string
|
|
11
|
+
description: "Action: replay (restore state), compare (diff two points), why (explain a change), blame (who and why)"
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: target
|
|
15
|
+
type: string
|
|
16
|
+
description: "Commit hash, date, tag, branch, or description like 'before the auth refactor'"
|
|
17
|
+
required: true
|
|
18
|
+
prompt: true
|
|
19
|
+
mcp_servers:
|
|
20
|
+
- git
|
|
21
|
+
- memory
|
|
22
|
+
- sequential-thinking
|
|
23
|
+
- playwright
|
|
24
|
+
- image-compare
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# /time-machine — Navigate Your Project's Timeline
|
|
28
|
+
|
|
29
|
+
Understand what changed, when, why, and by whom. Visually compare any two points in your project's history. Replay past states safely.
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
/time-machine replay "before the auth refactor" # Restore that state (in worktree)
|
|
35
|
+
/time-machine compare "last week" "now" # Diff with screenshots
|
|
36
|
+
/time-machine compare v1.0 v2.0 # Release-to-release comparison
|
|
37
|
+
/time-machine why "the billing page looks different" # Trace visual changes to commits
|
|
38
|
+
/time-machine blame "./src/components/Sidebar.tsx" # Full history with reasoning
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Visual Time Travel
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
/time-machine compare "3 days ago" "now"
|
|
45
|
+
│
|
|
46
|
+
â–¼
|
|
47
|
+
CHECKOUT "3 days ago" (in isolated worktree)
|
|
48
|
+
├── Build and run
|
|
49
|
+
├── Screenshot every page (playwright)
|
|
50
|
+
└── Capture metrics
|
|
51
|
+
│
|
|
52
|
+
â–¼
|
|
53
|
+
CHECKOUT "now"
|
|
54
|
+
├── Build and run
|
|
55
|
+
├── Screenshot every page
|
|
56
|
+
└── Capture metrics
|
|
57
|
+
│
|
|
58
|
+
â–¼
|
|
59
|
+
COMPARE (image-compare MCP)
|
|
60
|
+
├── Pixel diff every page
|
|
61
|
+
├── Side-by-side gallery
|
|
62
|
+
├── List all git commits between the two points
|
|
63
|
+
├── Map each visual change to the commit that caused it
|
|
64
|
+
└── Performance delta (faster? slower?)
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## In Pipes
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
/pipe time-machine compare "last release" "now" >> visual-diff >> assert "no regressions" >> launch
|
|
71
|
+
/pipe time-machine why "homepage looks broken" >> fix >> test >> ship
|
|
72
|
+
```
|
|
@@ -0,0 +1,433 @@
|
|
|
1
|
+
# luna-ui-convert - Apple HIG + Decart Modern UI Converter
|
|
2
|
+
|
|
3
|
+
## Command Overview
|
|
4
|
+
|
|
5
|
+
The `luna-ui-convert` command transforms your UI to follow Apple Human Interface Guidelines with modern Decart-inspired design aesthetics. It combines Apple's polished design principles with contemporary web design patterns for stunning, professional interfaces.
|
|
6
|
+
|
|
7
|
+
## What This Command Does
|
|
8
|
+
|
|
9
|
+
- **Apple HIG Compliance**: Converts UI to follow Apple's design standards
|
|
10
|
+
- **Decart Design Patterns**: Applies modern, minimalist design aesthetics
|
|
11
|
+
- **Automated Conversion**: Transforms existing components automatically
|
|
12
|
+
- **Design System Generation**: Creates comprehensive design tokens and components
|
|
13
|
+
- **Code Generation**: Produces implementation-ready React/Vue/Svelte components
|
|
14
|
+
|
|
15
|
+
## Usage Instructions
|
|
16
|
+
|
|
17
|
+
### Full Project Conversion
|
|
18
|
+
```bash
|
|
19
|
+
luna-ui-convert
|
|
20
|
+
```
|
|
21
|
+
Converts entire project UI to Apple HIG + Decart modern design.
|
|
22
|
+
|
|
23
|
+
### Component-Specific Conversion
|
|
24
|
+
```bash
|
|
25
|
+
luna-ui-convert component [component-name]
|
|
26
|
+
```
|
|
27
|
+
Converts specific component (e.g., buttons, cards, navigation).
|
|
28
|
+
|
|
29
|
+
### Page-Specific Conversion
|
|
30
|
+
```bash
|
|
31
|
+
luna-ui-convert page [page-name]
|
|
32
|
+
```
|
|
33
|
+
Converts specific page or view.
|
|
34
|
+
|
|
35
|
+
### Design System Only
|
|
36
|
+
```bash
|
|
37
|
+
luna-ui-convert design-system
|
|
38
|
+
```
|
|
39
|
+
Generates design system without converting components.
|
|
40
|
+
|
|
41
|
+
### Preview Mode
|
|
42
|
+
```bash
|
|
43
|
+
luna-ui-convert preview
|
|
44
|
+
```
|
|
45
|
+
Generates preview of converted design without applying changes.
|
|
46
|
+
|
|
47
|
+
## Design Philosophy
|
|
48
|
+
|
|
49
|
+
### Apple HIG Principles
|
|
50
|
+
1. **Clarity**: Clean typography, precise icons, ample spacing
|
|
51
|
+
2. **Deference**: Content-first approach, minimal UI chrome
|
|
52
|
+
3. **Depth**: Layering with shadows, realistic motion
|
|
53
|
+
|
|
54
|
+
### Decart Design Aesthetics
|
|
55
|
+
1. **Minimalism**: Clean, uncluttered interfaces
|
|
56
|
+
2. **Bold Typography**: Strong typographic hierarchy
|
|
57
|
+
3. **Generous Whitespace**: Breathing room for content
|
|
58
|
+
4. **Subtle Animations**: Smooth, purposeful motion
|
|
59
|
+
5. **Modern Color Palette**: Sophisticated, muted tones
|
|
60
|
+
6. **Glassmorphism**: Frosted glass effects and blur
|
|
61
|
+
7. **Neumorphism Elements**: Soft shadows and highlights
|
|
62
|
+
8. **Gradient Accents**: Subtle, tasteful gradients
|
|
63
|
+
|
|
64
|
+
## Conversion Features
|
|
65
|
+
|
|
66
|
+
### Typography Transformation
|
|
67
|
+
- **Font System**: San Francisco (SF Pro) or system fonts
|
|
68
|
+
- **Type Scale**: 11, 13, 15, 17, 20, 24, 28, 34, 48, 60pt
|
|
69
|
+
- **Font Weights**: Regular (400), Medium (500), Semibold (600), Bold (700)
|
|
70
|
+
- **Line Heights**: Optimized for readability (1.2-1.5)
|
|
71
|
+
- **Letter Spacing**: Tight for headings, normal for body
|
|
72
|
+
|
|
73
|
+
### Color System Conversion
|
|
74
|
+
- **Apple System Colors**:
|
|
75
|
+
- Primary Blue: `#007AFF`
|
|
76
|
+
- Success Green: `#34C759`
|
|
77
|
+
- Destructive Red: `#FF3B30`
|
|
78
|
+
- Warning Orange: `#FF9500`
|
|
79
|
+
- Secondary Gray: `#8E8E93`
|
|
80
|
+
|
|
81
|
+
- **Decart Color Palette**:
|
|
82
|
+
- Neutral Grays: `#F8F9FA`, `#E9ECEF`, `#DEE2E6`
|
|
83
|
+
- Deep Backgrounds: `#1A1A1A`, `#2D2D2D`
|
|
84
|
+
- Accent Colors: Subtle gradients and muted tones
|
|
85
|
+
- Glassmorphism: `rgba(255, 255, 255, 0.1)` with backdrop blur
|
|
86
|
+
|
|
87
|
+
### Spacing & Layout
|
|
88
|
+
- **Base Unit**: 8px grid system
|
|
89
|
+
- **Spacing Scale**: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64px
|
|
90
|
+
- **Container Widths**: 320px (mobile), 768px (tablet), 1280px (desktop)
|
|
91
|
+
- **Grid System**: 4-column (mobile), 8-column (tablet), 12-column (desktop)
|
|
92
|
+
|
|
93
|
+
### Component Transformations
|
|
94
|
+
|
|
95
|
+
#### Buttons
|
|
96
|
+
**Before**: Standard button
|
|
97
|
+
**After**: Apple HIG compliant with Decart styling
|
|
98
|
+
- 44pt minimum height
|
|
99
|
+
- 8-12pt corner radius
|
|
100
|
+
- Semibold text
|
|
101
|
+
- Smooth scale animation on press
|
|
102
|
+
- Glassmorphism option for secondary buttons
|
|
103
|
+
|
|
104
|
+
#### Cards
|
|
105
|
+
**Before**: Basic card component
|
|
106
|
+
**After**: Modern card with depth
|
|
107
|
+
- 12-16pt corner radius
|
|
108
|
+
- Subtle shadow elevation
|
|
109
|
+
- Generous padding (16-24pt)
|
|
110
|
+
- Hover lift animation
|
|
111
|
+
- Optional glassmorphism background
|
|
112
|
+
|
|
113
|
+
#### Navigation
|
|
114
|
+
**Before**: Standard navigation bar
|
|
115
|
+
**After**: Apple-style navigation
|
|
116
|
+
- 44pt height (compact), 96pt (large title)
|
|
117
|
+
- Blur background with translucency
|
|
118
|
+
- Smooth scroll animations
|
|
119
|
+
- Floating navigation option
|
|
120
|
+
|
|
121
|
+
#### Forms
|
|
122
|
+
**Before**: Standard form inputs
|
|
123
|
+
**After**: Polished input fields
|
|
124
|
+
- 44pt input height
|
|
125
|
+
- Clear focus states
|
|
126
|
+
- Floating labels
|
|
127
|
+
- Inline validation
|
|
128
|
+
- Smooth transitions
|
|
129
|
+
|
|
130
|
+
#### Modals & Overlays
|
|
131
|
+
**Before**: Basic modals
|
|
132
|
+
**After**: Apple-style sheets and alerts
|
|
133
|
+
- Centered alerts (270pt width)
|
|
134
|
+
- Bottom sheets with drag handle
|
|
135
|
+
- Backdrop blur
|
|
136
|
+
- Smooth slide animations
|
|
137
|
+
|
|
138
|
+
### Animation & Motion
|
|
139
|
+
- **Micro-interactions**: 200-300ms with ease-out
|
|
140
|
+
- **Page Transitions**: 400-500ms with spring physics
|
|
141
|
+
- **Hover Effects**: Subtle scale and shadow changes
|
|
142
|
+
- **Loading States**: Skeleton screens and spinners
|
|
143
|
+
- **Scroll Animations**: Parallax and fade effects
|
|
144
|
+
|
|
145
|
+
### Glassmorphism Effects
|
|
146
|
+
```css
|
|
147
|
+
.glass {
|
|
148
|
+
background: rgba(255, 255, 255, 0.1);
|
|
149
|
+
backdrop-filter: blur(10px);
|
|
150
|
+
-webkit-backdrop-filter: blur(10px);
|
|
151
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
152
|
+
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
### Neumorphism Elements
|
|
157
|
+
```css
|
|
158
|
+
.neumorphic {
|
|
159
|
+
background: #e0e5ec;
|
|
160
|
+
box-shadow:
|
|
161
|
+
9px 9px 16px rgba(163, 177, 198, 0.6),
|
|
162
|
+
-9px -9px 16px rgba(255, 255, 255, 0.5);
|
|
163
|
+
border-radius: 12px;
|
|
164
|
+
}
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Conversion Process
|
|
168
|
+
|
|
169
|
+
### Phase 1: Analysis
|
|
170
|
+
1. Scan existing UI components and styles
|
|
171
|
+
2. Identify design patterns and inconsistencies
|
|
172
|
+
3. Analyze color palette and typography
|
|
173
|
+
4. Map components to Apple HIG equivalents
|
|
174
|
+
|
|
175
|
+
### Phase 2: Design System Generation
|
|
176
|
+
1. Create design tokens (colors, typography, spacing)
|
|
177
|
+
2. Generate CSS custom properties
|
|
178
|
+
3. Create utility classes (Tailwind-compatible)
|
|
179
|
+
4. Define component specifications
|
|
180
|
+
|
|
181
|
+
### Phase 3: Component Conversion
|
|
182
|
+
1. Convert buttons, inputs, and controls
|
|
183
|
+
2. Transform cards, lists, and grids
|
|
184
|
+
3. Redesign navigation and headers
|
|
185
|
+
4. Update modals and overlays
|
|
186
|
+
5. Enhance forms and validation
|
|
187
|
+
|
|
188
|
+
### Phase 4: Animation & Polish
|
|
189
|
+
1. Add micro-interactions
|
|
190
|
+
2. Implement page transitions
|
|
191
|
+
3. Create loading states
|
|
192
|
+
4. Add hover and focus effects
|
|
193
|
+
5. Optimize performance
|
|
194
|
+
|
|
195
|
+
### Phase 5: Testing & Validation
|
|
196
|
+
1. Visual regression testing
|
|
197
|
+
2. Accessibility compliance check
|
|
198
|
+
3. Cross-browser testing
|
|
199
|
+
4. Performance optimization
|
|
200
|
+
5. Responsive design validation
|
|
201
|
+
|
|
202
|
+
## Generated Files
|
|
203
|
+
|
|
204
|
+
### Design System
|
|
205
|
+
```
|
|
206
|
+
.luna/{project}/design-system/
|
|
207
|
+
├── tokens.css # CSS custom properties
|
|
208
|
+
├── utilities.css # Utility classes
|
|
209
|
+
├── components.css # Component styles
|
|
210
|
+
├── animations.css # Animation definitions
|
|
211
|
+
└── themes/
|
|
212
|
+
├── light.css # Light theme
|
|
213
|
+
└── dark.css # Dark theme
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### Component Library
|
|
217
|
+
```
|
|
218
|
+
.luna/{project}/components/
|
|
219
|
+
├── Button.jsx # Button component
|
|
220
|
+
├── Card.jsx # Card component
|
|
221
|
+
├── Input.jsx # Input component
|
|
222
|
+
├── Modal.jsx # Modal component
|
|
223
|
+
├── Navigation.jsx # Navigation component
|
|
224
|
+
└── index.js # Component exports
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### Documentation
|
|
228
|
+
```
|
|
229
|
+
.luna/{project}/
|
|
230
|
+
├── ui-conversion-report.md # Conversion summary
|
|
231
|
+
├── design-system-guide.md # Design system documentation
|
|
232
|
+
└── component-library.md # Component usage guide
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## Implementation Examples
|
|
236
|
+
|
|
237
|
+
### Button Component (React)
|
|
238
|
+
```jsx
|
|
239
|
+
const Button = ({ variant = 'primary', size = 'medium', children, ...props }) => {
|
|
240
|
+
const baseStyles = `
|
|
241
|
+
inline-flex items-center justify-center
|
|
242
|
+
font-semibold rounded-xl
|
|
243
|
+
transition-all duration-200
|
|
244
|
+
active:scale-95
|
|
245
|
+
focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2
|
|
246
|
+
`;
|
|
247
|
+
|
|
248
|
+
const sizes = {
|
|
249
|
+
small: 'px-4 py-2 text-sm min-h-[36px]',
|
|
250
|
+
medium: 'px-6 py-3 text-base min-h-[44px]',
|
|
251
|
+
large: 'px-8 py-4 text-lg min-h-[52px]'
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
const variants = {
|
|
255
|
+
primary: 'bg-blue-500 text-white hover:bg-blue-600 shadow-md hover:shadow-lg',
|
|
256
|
+
secondary: 'bg-white/10 backdrop-blur-md text-blue-500 border border-white/20 hover:bg-white/20',
|
|
257
|
+
destructive: 'bg-red-500 text-white hover:bg-red-600 shadow-md hover:shadow-lg'
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
return (
|
|
261
|
+
<button
|
|
262
|
+
className={`${baseStyles} ${sizes[size]} ${variants[variant]}`}
|
|
263
|
+
{...props}
|
|
264
|
+
>
|
|
265
|
+
{children}
|
|
266
|
+
</button>
|
|
267
|
+
);
|
|
268
|
+
};
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
### Card Component (React)
|
|
272
|
+
```jsx
|
|
273
|
+
const Card = ({ children, hoverable = false, glass = false, className = '', ...props }) => {
|
|
274
|
+
const baseStyles = `
|
|
275
|
+
rounded-2xl p-6
|
|
276
|
+
transition-all duration-300
|
|
277
|
+
`;
|
|
278
|
+
|
|
279
|
+
const glassStyles = glass
|
|
280
|
+
? 'bg-white/10 backdrop-blur-md border border-white/20 shadow-xl'
|
|
281
|
+
: 'bg-white shadow-md';
|
|
282
|
+
|
|
283
|
+
const hoverStyles = hoverable
|
|
284
|
+
? 'hover:shadow-xl hover:-translate-y-1 cursor-pointer'
|
|
285
|
+
: '';
|
|
286
|
+
|
|
287
|
+
return (
|
|
288
|
+
<div
|
|
289
|
+
className={`${baseStyles} ${glassStyles} ${hoverStyles} ${className}`}
|
|
290
|
+
{...props}
|
|
291
|
+
>
|
|
292
|
+
{children}
|
|
293
|
+
</div>
|
|
294
|
+
);
|
|
295
|
+
};
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
### Navigation Component (React)
|
|
299
|
+
```jsx
|
|
300
|
+
const Navigation = ({ title, transparent = false, large = false }) => {
|
|
301
|
+
const baseStyles = `
|
|
302
|
+
fixed top-0 left-0 right-0 z-50
|
|
303
|
+
transition-all duration-300
|
|
304
|
+
`;
|
|
305
|
+
|
|
306
|
+
const backgroundStyles = transparent
|
|
307
|
+
? 'bg-white/80 backdrop-blur-md border-b border-gray-200/50'
|
|
308
|
+
: 'bg-white shadow-sm';
|
|
309
|
+
|
|
310
|
+
const heightStyles = large ? 'h-24' : 'h-16';
|
|
311
|
+
|
|
312
|
+
return (
|
|
313
|
+
<nav className={`${baseStyles} ${backgroundStyles} ${heightStyles}`}>
|
|
314
|
+
<div className="max-w-7xl mx-auto px-4 h-full flex items-center justify-between">
|
|
315
|
+
<h1 className={large ? 'text-3xl font-bold' : 'text-xl font-semibold'}>
|
|
316
|
+
{title}
|
|
317
|
+
</h1>
|
|
318
|
+
</div>
|
|
319
|
+
</nav>
|
|
320
|
+
);
|
|
321
|
+
};
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
## Design Tokens (CSS)
|
|
325
|
+
|
|
326
|
+
```css
|
|
327
|
+
:root {
|
|
328
|
+
/* Typography */
|
|
329
|
+
--font-family-system: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui;
|
|
330
|
+
--font-size-xs: 11px;
|
|
331
|
+
--font-size-sm: 13px;
|
|
332
|
+
--font-size-base: 15px;
|
|
333
|
+
--font-size-lg: 17px;
|
|
334
|
+
--font-size-xl: 20px;
|
|
335
|
+
--font-size-2xl: 24px;
|
|
336
|
+
--font-size-3xl: 28px;
|
|
337
|
+
--font-size-4xl: 34px;
|
|
338
|
+
--font-size-5xl: 48px;
|
|
339
|
+
|
|
340
|
+
/* Colors - Apple System */
|
|
341
|
+
--color-blue: #007AFF;
|
|
342
|
+
--color-green: #34C759;
|
|
343
|
+
--color-red: #FF3B30;
|
|
344
|
+
--color-orange: #FF9500;
|
|
345
|
+
--color-gray: #8E8E93;
|
|
346
|
+
|
|
347
|
+
/* Colors - Decart Palette */
|
|
348
|
+
--color-neutral-50: #F8F9FA;
|
|
349
|
+
--color-neutral-100: #E9ECEF;
|
|
350
|
+
--color-neutral-200: #DEE2E6;
|
|
351
|
+
--color-neutral-800: #2D2D2D;
|
|
352
|
+
--color-neutral-900: #1A1A1A;
|
|
353
|
+
|
|
354
|
+
/* Spacing */
|
|
355
|
+
--space-1: 4px;
|
|
356
|
+
--space-2: 8px;
|
|
357
|
+
--space-3: 12px;
|
|
358
|
+
--space-4: 16px;
|
|
359
|
+
--space-5: 20px;
|
|
360
|
+
--space-6: 24px;
|
|
361
|
+
--space-8: 32px;
|
|
362
|
+
--space-10: 40px;
|
|
363
|
+
--space-12: 48px;
|
|
364
|
+
--space-16: 64px;
|
|
365
|
+
|
|
366
|
+
/* Shadows */
|
|
367
|
+
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
|
|
368
|
+
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
|
|
369
|
+
--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1);
|
|
370
|
+
--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2), 0 10px 20px rgba(0, 0, 0, 0.15);
|
|
371
|
+
|
|
372
|
+
/* Border Radius */
|
|
373
|
+
--radius-sm: 8px;
|
|
374
|
+
--radius-md: 12px;
|
|
375
|
+
--radius-lg: 16px;
|
|
376
|
+
--radius-xl: 20px;
|
|
377
|
+
--radius-2xl: 24px;
|
|
378
|
+
|
|
379
|
+
/* Transitions */
|
|
380
|
+
--transition-fast: 150ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
381
|
+
--transition-base: 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
382
|
+
--transition-slow: 300ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
|
383
|
+
|
|
384
|
+
/* Glassmorphism */
|
|
385
|
+
--glass-bg: rgba(255, 255, 255, 0.1);
|
|
386
|
+
--glass-border: rgba(255, 255, 255, 0.2);
|
|
387
|
+
--glass-blur: blur(10px);
|
|
388
|
+
}
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
## Accessibility Features
|
|
392
|
+
|
|
393
|
+
- **WCAG AA Compliance**: All color contrasts meet standards
|
|
394
|
+
- **Keyboard Navigation**: Full keyboard support
|
|
395
|
+
- **Screen Reader**: Proper ARIA labels and roles
|
|
396
|
+
- **Focus Indicators**: Clear, visible focus states
|
|
397
|
+
- **Touch Targets**: Minimum 44x44pt for all interactive elements
|
|
398
|
+
- **Reduced Motion**: Respects `prefers-reduced-motion`
|
|
399
|
+
|
|
400
|
+
## Integration with Luna Ecosystem
|
|
401
|
+
|
|
402
|
+
Works seamlessly with:
|
|
403
|
+
- **`luna-hig`** - HIG compliance analysis
|
|
404
|
+
- **`luna-ui-test`** - Automated UI testing
|
|
405
|
+
- **`luna-ui-fix`** - Automated UI corrections
|
|
406
|
+
- **`luna-design-architect`** - Design architecture
|
|
407
|
+
- **`luna-accessibility-auditor`** - Accessibility compliance
|
|
408
|
+
|
|
409
|
+
## Quality Checklist
|
|
410
|
+
|
|
411
|
+
- [ ] All components follow Apple HIG principles
|
|
412
|
+
- [ ] Decart design aesthetics applied consistently
|
|
413
|
+
- [ ] Typography system implemented correctly
|
|
414
|
+
- [ ] Color palette follows design system
|
|
415
|
+
- [ ] Spacing adheres to 8px grid
|
|
416
|
+
- [ ] Touch targets meet minimum sizes
|
|
417
|
+
- [ ] Animations are smooth and purposeful
|
|
418
|
+
- [ ] Glassmorphism effects work across browsers
|
|
419
|
+
- [ ] Accessibility standards met
|
|
420
|
+
- [ ] Responsive design implemented
|
|
421
|
+
- [ ] Dark mode support included
|
|
422
|
+
- [ ] Performance optimized
|
|
423
|
+
|
|
424
|
+
## Output Summary
|
|
425
|
+
|
|
426
|
+
After conversion, you'll receive:
|
|
427
|
+
- **Conversion Report**: Detailed summary of changes
|
|
428
|
+
- **Design System**: Complete design tokens and guidelines
|
|
429
|
+
- **Component Library**: Converted components with examples
|
|
430
|
+
- **Migration Guide**: Step-by-step implementation guide
|
|
431
|
+
- **Before/After**: Visual comparison of changes
|
|
432
|
+
|
|
433
|
+
Transform your UI into a polished, modern interface with Apple HIG + Decart design! 🎨✨
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ll-video
|
|
3
|
+
displayName: Luna Video
|
|
4
|
+
description: AI video generation — product trailers, explainer videos, social clips, avatar presentations from text or screenshots
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
category: creative
|
|
7
|
+
agent: luna-task-executor
|
|
8
|
+
parameters:
|
|
9
|
+
- name: type
|
|
10
|
+
type: string
|
|
11
|
+
description: "Type: trailer (product trailer), explainer (how it works), social (short clip), avatar (AI presenter), ad (promotional)"
|
|
12
|
+
required: true
|
|
13
|
+
prompt: true
|
|
14
|
+
- name: topic
|
|
15
|
+
type: string
|
|
16
|
+
description: What the video should be about
|
|
17
|
+
required: false
|
|
18
|
+
- name: duration
|
|
19
|
+
type: string
|
|
20
|
+
description: "Duration: 15s, 30s, 60s, 3min, 5min"
|
|
21
|
+
required: false
|
|
22
|
+
default: 60s
|
|
23
|
+
mcp_servers:
|
|
24
|
+
- runway
|
|
25
|
+
- heygen
|
|
26
|
+
- piapi
|
|
27
|
+
- fal-ai
|
|
28
|
+
- elevenlabs
|
|
29
|
+
- suno
|
|
30
|
+
- playwright
|
|
31
|
+
- zai-mcp-server
|
|
32
|
+
- stability-ai
|
|
33
|
+
- memory
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
# /video — Professional Videos from Your Terminal
|
|
37
|
+
|
|
38
|
+
Generate production-quality videos — product trailers, explainer videos, social clips, and AI avatar presentations. No video editing skills needed.
|
|
39
|
+
|
|
40
|
+
## Video Types
|
|
41
|
+
|
|
42
|
+
### /video trailer
|
|
43
|
+
```
|
|
44
|
+
Cinematic product trailer:
|
|
45
|
+
├── Opening hook (dramatic text + music)
|
|
46
|
+
├── Problem statement (animated text)
|
|
47
|
+
├── Product reveal (screenshots with motion)
|
|
48
|
+
├── Feature highlights (zoom into key UI)
|
|
49
|
+
├── Social proof (user count, metrics)
|
|
50
|
+
├── CTA (logo + tagline)
|
|
51
|
+
├── Cinematic soundtrack (Suno)
|
|
52
|
+
└── Duration: 30-60 seconds
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### /video explainer
|
|
56
|
+
```
|
|
57
|
+
How-it-works explainer:
|
|
58
|
+
├── Intro: "What if you could..."
|
|
59
|
+
├── Step 1-3: Animated walkthrough
|
|
60
|
+
├── Each step: screenshot + narration + zoom
|
|
61
|
+
├── Benefits summary
|
|
62
|
+
├── CTA
|
|
63
|
+
├── AI narration (ElevenLabs)
|
|
64
|
+
├── Background music (lo-fi or corporate)
|
|
65
|
+
└── Duration: 1-3 minutes
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### /video avatar
|
|
69
|
+
```
|
|
70
|
+
AI presenter video (HeyGen):
|
|
71
|
+
├── Choose avatar or clone your face
|
|
72
|
+
├── Script auto-generated from feature
|
|
73
|
+
├── Avatar walks through your product
|
|
74
|
+
├── Screen recordings embedded
|
|
75
|
+
├── Professional editing and pacing
|
|
76
|
+
└── Duration: 1-5 minutes
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### /video social
|
|
80
|
+
```
|
|
81
|
+
Short-form social clip:
|
|
82
|
+
├── Vertical format (9:16 for TikTok/Reels/Shorts)
|
|
83
|
+
├── Hook in first 3 seconds
|
|
84
|
+
├── Quick feature showcase
|
|
85
|
+
├── Text overlays + captions
|
|
86
|
+
├── Trending music style
|
|
87
|
+
├── CTA + link
|
|
88
|
+
└── Duration: 15-30 seconds
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## Usage
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
/video trailer "LunaOS — Ship AI agents in minutes"
|
|
95
|
+
/video explainer "how our workflow engine works"
|
|
96
|
+
/video avatar "product walkthrough for investors"
|
|
97
|
+
/video social "we just launched dark mode" --duration 15s
|
|
98
|
+
/video ad "Try LunaOS free — deploy AI agents in 60 seconds"
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## In Pipes
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
/pipe launch production >> video trailer >> publish youtube >> publish twitter
|
|
105
|
+
/pipe record "feature demo" >> video social >> publish all
|
|
106
|
+
/pipe present pitch >> video avatar "investor pitch" >> share investors
|
|
107
|
+
/pipe sing "product jingle" >> video trailer >> imagine thumbnail >> publish
|
|
108
|
+
```
|