@rune-kit/rune 2.3.3 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +86 -17
  2. package/compiler/__tests__/pack-split.test.js +141 -1
  3. package/compiler/__tests__/parser.test.js +147 -55
  4. package/compiler/__tests__/scripts-bundling.test.js +283 -0
  5. package/compiler/__tests__/skill-index.test.js +218 -0
  6. package/compiler/__tests__/tier-override.test.js +41 -0
  7. package/compiler/adapters/antigravity.js +71 -53
  8. package/compiler/adapters/codex.js +4 -0
  9. package/compiler/adapters/cursor.js +4 -0
  10. package/compiler/adapters/generic.js +4 -0
  11. package/compiler/adapters/openclaw.js +4 -0
  12. package/compiler/adapters/opencode.js +4 -0
  13. package/compiler/adapters/windsurf.js +4 -0
  14. package/compiler/bin/rune.js +355 -355
  15. package/compiler/doctor.js +11 -1
  16. package/compiler/emitter.js +678 -386
  17. package/compiler/parser.js +267 -247
  18. package/compiler/transforms/scripts-path.js +18 -0
  19. package/extensions/zalo/PACK.md +20 -1
  20. package/extensions/zalo/references/conversation-management.md +214 -0
  21. package/extensions/zalo/references/eval-scenarios.md +157 -0
  22. package/extensions/zalo/references/listen-mode.md +237 -0
  23. package/extensions/zalo/references/mcp-production.md +274 -0
  24. package/extensions/zalo/references/multi-account-proxy.md +224 -0
  25. package/extensions/zalo/references/vietqr-banking.md +160 -0
  26. package/hooks/hooks.json +12 -0
  27. package/hooks/intent-router/index.cjs +108 -0
  28. package/hooks/pre-tool-guard/index.cjs +177 -68
  29. package/package.json +63 -64
  30. package/skills/brainstorm/SKILL.md +2 -0
  31. package/skills/cook/SKILL.md +661 -648
  32. package/skills/debug/SKILL.md +394 -392
  33. package/skills/deploy/SKILL.md +2 -0
  34. package/skills/fix/SKILL.md +283 -281
  35. package/skills/marketing/SKILL.md +3 -0
  36. package/skills/onboard/SKILL.md +7 -0
  37. package/skills/plan/SKILL.md +344 -342
  38. package/skills/preflight/SKILL.md +362 -360
  39. package/skills/review/SKILL.md +491 -489
  40. package/skills/scout/SKILL.md +1 -0
  41. package/skills/sentinel/SKILL.md +319 -296
  42. package/skills/sentinel/references/auth-crypto-reference.md +192 -0
  43. package/skills/sentinel/references/desktop-security.md +201 -0
  44. package/skills/sentinel/references/supply-chain.md +160 -0
  45. package/skills/session-bridge/SKILL.md +1 -0
  46. package/skills/slides/SKILL.md +142 -0
  47. package/skills/slides/scripts/build-deck.js +158 -0
  48. package/skills/team/SKILL.md +1 -0
  49. package/skills/test/SKILL.md +587 -585
  50. package/skills/verification/SKILL.md +1 -0
  51. package/skills/watchdog/SKILL.md +2 -0
  52. package/docs/ANTIGRAVITY-GAP-ANALYSIS.md +0 -369
  53. package/docs/ARCHITECTURE.md +0 -332
  54. package/docs/COMMUNITY-PACKS.md +0 -109
  55. package/docs/CONTRIBUTING-L4.md +0 -215
  56. package/docs/CROSS-IDE-ANALYSIS.md +0 -164
  57. package/docs/EXTENSION-TEMPLATE.md +0 -126
  58. package/docs/MESH-RULES.md +0 -34
  59. package/docs/MULTI-PLATFORM.md +0 -804
  60. package/docs/SKILL-DEPTH-AUDIT.md +0 -191
  61. package/docs/SKILL-TEMPLATE.md +0 -118
  62. package/docs/TRADE-MATRIX.md +0 -327
  63. package/docs/VERSIONING.md +0 -91
  64. package/docs/VISION.md +0 -263
  65. package/docs/assets/demo-subtitles.srt +0 -215
  66. package/docs/assets/end-card.html +0 -276
  67. package/docs/assets/mesh-diagram.html +0 -654
  68. package/docs/assets/thumbnail.html +0 -295
  69. package/docs/guides/cli.md +0 -403
  70. package/docs/guides/index.html +0 -1450
  71. package/docs/index.html +0 -1005
  72. package/docs/references/claudekit-analysis.md +0 -414
  73. package/docs/references/voltagent-analysis.md +0 -189
  74. package/docs/script.js +0 -495
  75. package/docs/skills/index.html +0 -832
  76. package/docs/style.css +0 -958
  77. package/docs/video-demo-plan.md +0 -172
@@ -1,172 +0,0 @@
1
- # Rune Demo Video — Production Plan
2
-
3
- **Topic**: Rune plugin full demo — install to debug to ship
4
- **Audience**: Developers using AI coding assistants (Claude Code, Cursor, Windsurf)
5
- **Duration**: 180 seconds (3 minutes)
6
- **Platform**: YouTube (primary), Twitter/X (60s cut), GitHub README (embedded)
7
- **Style**: Screen recording + narration overlay, dark terminal theme
8
-
9
- ---
10
-
11
- ## Script (with timing marks)
12
-
13
- ### HOOK (0:00–0:08)
14
-
15
- > "You're debugging for the 4th time. Claude keeps suggesting the same fix. Same loop. Same frustration."
16
- > [Screen: terminal showing repeated failed attempts]
17
- > "What if your AI assistant had a structured workflow that actually worked?"
18
-
19
- ### INTRO (0:08–0:20)
20
-
21
- > "This is Rune — a 57-skill mesh that turns your AI coding assistant from a chatbot into an engineering team."
22
- > [Screen: Rune GitHub page, star count, "57 skills | 200+ connections"]
23
- > "It works on Claude Code, Cursor, Windsurf, and Antigravity. Let me show you."
24
-
25
- ### SCENE 1: INSTALL (0:20–0:40)
26
-
27
- > "Install takes 10 seconds."
28
- > [Screen: terminal]
29
- > ```
30
- > claude plugin install rune-kit/rune
31
- > ```
32
- > [Plugin installs, shows "57 skills loaded"]
33
- > "For Cursor or Windsurf, one command compiles all skills into your IDE's format."
34
- > [Screen: terminal]
35
- > ```
36
- > npx --yes @rune-kit/rune init --platform cursor
37
- > ```
38
- > [Shows files being generated]
39
-
40
- ### SCENE 2: ONBOARD (0:40–1:00)
41
-
42
- > "First thing — let Rune understand your project."
43
- > [Screen: terminal in a real project directory]
44
- > ```
45
- > /rune onboard
46
- > ```
47
- > [Shows scout scanning files, detecting Next.js + Prisma + TypeScript]
48
- > [Shows .rune/ directory being created with decisions.md, conventions.md]
49
- > "Rune scans your codebase, detects your stack, and creates context files that persist across sessions. No more re-explaining your project every time."
50
-
51
- ### SCENE 3: DEBUG (1:00–1:30)
52
-
53
- > "Now let's debug. Users report login returns 401 for valid credentials."
54
- > [Screen: terminal]
55
- > ```
56
- > /rune debug "login returns 401 for valid credentials"
57
- > ```
58
- > [Shows debug skill activating]
59
- > [Shows scout finding auth files → debug reading them → identifying root cause]
60
- > "Rune's debug skill traces the code path, finds the root cause — an expired JWT secret rotation — and hands it to fix."
61
- > [Shows fix skill writing the code change]
62
- > [Shows verification running: lint pass, typecheck pass, tests pass]
63
- > "Fixed. Verified. One command."
64
-
65
- ### SCENE 4: BUILD A FEATURE (1:30–2:15)
66
-
67
- > "Now let's build something. Add Stripe billing to our SaaS app."
68
- > [Screen: terminal]
69
- > ```
70
- > /rune cook "add Stripe subscription billing with plan management"
71
- > ```
72
- > [Shows cook Phase 1: scout scanning → detecting @rune/saas pack]
73
- > [Shows cook Phase 2: plan creating implementation steps]
74
- > [Shows adversary challenging the plan: "Missing webhook signature verification — CRITICAL"]
75
- > "See that? Before writing a single line of code, Rune's adversary skill red-teams the plan. Found a missing webhook security check."
76
- > [Shows plan updated → user approves]
77
- > [Shows cook Phase 3: test writing failing tests]
78
- > [Shows cook Phase 4: fix implementing code]
79
- > [Shows cook Phase 5: preflight + sentinel + review running in parallel]
80
- > [Shows cook Phase 6: all green]
81
- > "8 phases. TDD. Security scan. Code review. All orchestrated automatically."
82
-
83
- ### SCENE 5: THE MESH (2:15–2:40)
84
-
85
- > "This isn't a list of independent tools. It's a mesh."
86
- > [Screen: animated diagram showing skill connections]
87
- > "When debug can't find the cause, it escalates to problem-solver. When cook hits a wall 3 times, it pivots to brainstorm. When sentinel finds a vulnerability, it blocks the commit."
88
- > [Shows mesh diagram with glowing connections]
89
- > "57 skills. 200+ connections. They talk to each other so you don't have to."
90
-
91
- ### CTA (2:40–3:00)
92
-
93
- > "Rune is free and open source. MIT license."
94
- > [Screen: GitHub repo]
95
- > ```
96
- > claude plugin install rune-kit/rune
97
- > ```
98
- > "Or for any IDE:"
99
- > ```
100
- > npx --yes @rune-kit/rune init
101
- > ```
102
- > [Screen: landing page with GitHub stars]
103
- > "Less skills. Deeper connections. Link in description."
104
-
105
- ---
106
-
107
- ## Storyboard
108
-
109
- | Time | Visual | Audio | Transition |
110
- |------|--------|-------|------------|
111
- | 0:00 | Dark terminal, red error messages repeating | Narration: frustration hook | Fade in |
112
- | 0:08 | Rune GitHub page, hero section | Narration: intro | Cut |
113
- | 0:20 | Terminal: plugin install command | Narration: install | Cut |
114
- | 0:30 | Terminal: npx init for Cursor | Narration: multi-platform | Cut |
115
- | 0:40 | Terminal: /rune onboard in real project | Narration: onboard | Cut |
116
- | 0:50 | .rune/ directory tree appearing | Narration: context persistence | Slide in |
117
- | 1:00 | Terminal: /rune debug command | Narration: debug scenario | Cut |
118
- | 1:10 | Code files being read, root cause highlighted | Narration: tracing | Zoom |
119
- | 1:20 | Fix being written, tests passing | Narration: fixed + verified | Cut |
120
- | 1:30 | Terminal: /rune cook command | Narration: build feature | Cut |
121
- | 1:45 | Plan appearing, adversary challenge in red | Narration: red-team | Highlight |
122
- | 2:00 | TDD cycle: red → green → refactor | Narration: phases | Split screen |
123
- | 2:10 | Quality gates all green | Narration: automatic orchestration | Cut |
124
- | 2:15 | Mesh diagram (animated) | Narration: mesh explanation | Fade |
125
- | 2:30 | Connections glowing between skills | Narration: resilience | Pulse animation |
126
- | 2:40 | GitHub repo + install command | Narration: CTA | Cut |
127
- | 2:50 | Landing page | Narration: tagline | Fade out |
128
-
129
- ---
130
-
131
- ## Shot List
132
-
133
- | # | Type | Content | Duration | Notes |
134
- |---|------|---------|----------|-------|
135
- | 1 | Screen rec | Terminal with repeated errors | 8s | Use real project, dark theme |
136
- | 2 | Screen rec | Rune GitHub page scroll | 5s | Show stars, description |
137
- | 3 | Screen rec | `claude plugin install` | 8s | Real-time, no speedup |
138
- | 4 | Screen rec | `npx @rune-kit/rune init` | 8s | Show file generation |
139
- | 5 | Screen rec | `/rune onboard` full flow | 15s | Speed up 2x, show key moments |
140
- | 6 | Screen rec | `/rune debug` full flow | 25s | Speed up 2x, pause on root cause |
141
- | 7 | Screen rec | `/rune cook` full flow | 40s | Speed up 3x, pause on adversary + quality |
142
- | 8 | Graphic | Mesh diagram animation | 20s | Create with Motion Canvas or After Effects |
143
- | 9 | Screen rec | GitHub + install commands | 15s | Clean, centered text |
144
- | 10 | Graphic | Landing page + tagline | 10s | End card with links |
145
-
146
- ---
147
-
148
- ## Asset Checklist
149
-
150
- - [ ] Real project for demo (Next.js + Prisma SaaS app recommended)
151
- - [ ] Rune plugin installed and working
152
- - [ ] Terminal theme: dark, high contrast, large font (18-20pt)
153
- - [ ] Screen recording tool: OBS or Loom
154
- - [ ] Mesh diagram: create SVG or use Motion Canvas
155
- - [ ] Background music: lo-fi or minimal electronic (royalty-free)
156
- - [ ] Microphone for narration (or use ElevenLabs/AI voice)
157
- - [ ] Thumbnail: terminal screenshot + "57 Skills" text overlay
158
- - [ ] Captions/subtitles file (.srt) for accessibility
159
-
160
- ## 60-Second Twitter/X Cut
161
-
162
- Use shots: 1 (3s) → 3 (5s) → 6 (15s) → 7 (20s) → 8 (10s) → 9 (7s)
163
- Skip: onboard detail, mesh explanation
164
- Hook: "Your AI assistant keeps failing? Try giving it a brain." + demo
165
-
166
- ## Distribution
167
-
168
- - YouTube: full 3-min version with chapters
169
- - Twitter/X: 60s cut, captions baked in, no music
170
- - GitHub README: YouTube embed at top
171
- - Landing page: YouTube embed in hero section
172
- - Reddit r/ClaudeAI, r/cursor, r/webdev: link + text summary