@rune-kit/rune 2.2.6 → 2.3.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/README.md +395 -389
- package/compiler/__tests__/tier-override.test.js +158 -0
- package/compiler/adapters/antigravity.js +3 -8
- package/compiler/adapters/codex.js +3 -8
- package/compiler/adapters/cursor.js +3 -8
- package/compiler/adapters/generic.js +3 -8
- package/compiler/adapters/openclaw.js +4 -9
- package/compiler/adapters/opencode.js +3 -8
- package/compiler/adapters/windsurf.js +3 -8
- package/compiler/bin/rune.js +34 -1
- package/compiler/emitter.js +94 -5
- package/compiler/transforms/branding.js +10 -3
- package/docs/ARCHITECTURE.md +3 -3
- package/docs/SKILL-TEMPLATE.md +15 -0
- package/docs/VISION.md +3 -3
- package/docs/guides/index.html +14 -14
- package/docs/index.html +82 -13
- package/docs/script.js +33 -6
- package/docs/skills/index.html +832 -832
- package/docs/style.css +62 -0
- package/extensions/ai-ml/PACK.md +7 -0
- package/extensions/content/PACK.md +7 -0
- package/extensions/mobile/PACK.md +9 -9
- package/extensions/zalo/PACK.md +9 -0
- package/package.json +8 -6
- package/skills/adversary/SKILL.md +12 -0
- package/skills/audit/SKILL.md +526 -467
- package/skills/autopsy/SKILL.md +12 -0
- package/skills/ba/SKILL.md +349 -342
- package/skills/brainstorm/SKILL.md +11 -0
- package/skills/completion-gate/SKILL.md +260 -249
- package/skills/context-engine/SKILL.md +77 -1
- package/skills/context-pack/SKILL.md +160 -0
- package/skills/cook/SKILL.md +648 -958
- package/skills/cook/references/deviation-rules.md +19 -0
- package/skills/cook/references/error-recovery.md +37 -0
- package/skills/cook/references/exit-conditions.md +31 -0
- package/skills/cook/references/loop-detection.md +39 -0
- package/skills/cook/references/mid-run-signals.md +31 -0
- package/skills/cook/references/output-format.md +40 -0
- package/skills/cook/references/pack-detection.md +82 -0
- package/skills/cook/references/pause-resume-template.md +38 -0
- package/skills/cook/references/rfc-template.md +52 -0
- package/skills/cook/references/sharp-edges.md +24 -0
- package/skills/cook/references/subagent-status.md +38 -0
- package/skills/db/SKILL.md +12 -0
- package/skills/debug/SKILL.md +392 -362
- package/skills/deploy/SKILL.md +10 -0
- package/skills/deploy/references/post-deploy-integration.md +192 -0
- package/skills/design/SKILL.md +9 -0
- package/skills/docs/SKILL.md +12 -0
- package/skills/docs-seeker/SKILL.md +11 -0
- package/skills/fix/SKILL.md +281 -249
- package/skills/incident/SKILL.md +10 -0
- package/skills/launch/SKILL.md +12 -0
- package/skills/logic-guardian/SKILL.md +11 -0
- package/skills/marketing/SKILL.md +13 -0
- package/skills/mcp-builder/SKILL.md +13 -0
- package/skills/onboard/SKILL.md +50 -2
- package/skills/perf/SKILL.md +11 -0
- package/skills/plan/SKILL.md +342 -688
- package/skills/plan/references/completeness-scoring.md +36 -0
- package/skills/plan/references/outcome-block.md +40 -0
- package/skills/plan/references/plan-templates.md +193 -0
- package/skills/plan/references/wave-planning.md +44 -0
- package/skills/plan/references/workflow-registry.md +52 -0
- package/skills/preflight/SKILL.md +360 -280
- package/skills/rescue/SKILL.md +11 -0
- package/skills/research/SKILL.md +149 -150
- package/skills/retro/SKILL.md +11 -0
- package/skills/review/SKILL.md +489 -396
- package/skills/review-intake/SKILL.md +11 -0
- package/skills/safeguard/SKILL.md +12 -0
- package/skills/scaffold/SKILL.md +10 -0
- package/skills/scope-guard/SKILL.md +11 -0
- package/skills/scout/SKILL.md +9 -0
- package/skills/sentinel/SKILL.md +296 -425
- package/skills/sentinel/references/config-protection.md +52 -0
- package/skills/sentinel/references/destructive-commands.md +39 -0
- package/skills/sentinel/references/domain-hooks.md +73 -0
- package/skills/sentinel/references/framework-patterns.md +46 -0
- package/skills/sentinel/references/owasp-patterns.md +69 -0
- package/skills/sentinel/references/secret-patterns.md +40 -0
- package/skills/sentinel/references/skill-content-guard.md +54 -0
- package/skills/session-bridge/SKILL.md +56 -2
- package/skills/skill-forge/SKILL.md +47 -2
- package/skills/skill-router/{SKILL.md → skill.md} +446 -365
- package/skills/surgeon/SKILL.md +12 -0
- package/skills/team/SKILL.md +34 -1
- package/skills/test/SKILL.md +585 -427
- package/skills/watchdog/references/webhook-health-checks.md +243 -0
package/skills/onboard/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: onboard
|
|
|
3
3
|
description: Auto-generate project context for AI sessions. Scans codebase, creates CLAUDE.md and .rune/ setup so every future session starts with full context.
|
|
4
4
|
metadata:
|
|
5
5
|
author: runedev
|
|
6
|
-
version: "0.
|
|
6
|
+
version: "0.3.0"
|
|
7
7
|
layer: L2
|
|
8
8
|
model: sonnet
|
|
9
9
|
group: quality
|
|
@@ -43,6 +43,7 @@ project/
|
|
|
43
43
|
├── decisions.md # Empty, ready for session-bridge
|
|
44
44
|
├── progress.md # Empty, ready for session-bridge
|
|
45
45
|
├── session-log.md # Empty, ready for session-bridge
|
|
46
|
+
├── instincts.md # Empty, ready for session-bridge instinct learning
|
|
46
47
|
└── DEVELOPER-GUIDE.md # Human-readable onboarding for new developers
|
|
47
48
|
```
|
|
48
49
|
|
|
@@ -103,6 +104,19 @@ Use `Write` to create each file:
|
|
|
103
104
|
- `.rune/decisions.md` — create with header `# Architecture Decisions` and one placeholder row in a markdown table (Date | Decision | Rationale | Status)
|
|
104
105
|
- `.rune/progress.md` — create with header `# Progress Log` and one placeholder entry
|
|
105
106
|
- `.rune/session-log.md` — create with header `# Session Log` and current date as first entry
|
|
107
|
+
- `.rune/instincts.md` — create with header `# Project Instincts` and a description: "Learned trigger→action patterns. Managed by session-bridge. See session-bridge SKILL.md Step 5.7 for format."
|
|
108
|
+
|
|
109
|
+
### Step 5.5 — Load Existing Instincts
|
|
110
|
+
|
|
111
|
+
If `.rune/instincts.md` already exists and contains instinct entries, read it and include a summary in the Onboard Report under `### Learned Instincts`. This tells the agent what project-specific behaviors have been learned from previous sessions.
|
|
112
|
+
|
|
113
|
+
For each instinct with confidence ≥0.6, include in the report:
|
|
114
|
+
- Trigger and action (one line)
|
|
115
|
+
- Confidence level
|
|
116
|
+
|
|
117
|
+
Instincts with confidence <0.6 are still learning — mention count but don't list individually.
|
|
118
|
+
|
|
119
|
+
**Why**: Onboard is the first skill that runs in a new session. Surfacing instincts here ensures the agent starts with project-specific learned behaviors, not just static conventions.
|
|
106
120
|
|
|
107
121
|
### Step 6b — Generate DEVELOPER-GUIDE.md
|
|
108
122
|
|
|
@@ -188,6 +202,24 @@ Based on your detected stack ([detected frameworks]), these extension packs may
|
|
|
188
202
|
Install: [link or command when available]
|
|
189
203
|
```
|
|
190
204
|
|
|
205
|
+
### Step 6d — Context Budget Check
|
|
206
|
+
|
|
207
|
+
Audit the project's baseline context cost from MCP servers and agent configurations. This helps developers understand why their context window fills up faster than expected.
|
|
208
|
+
|
|
209
|
+
1. Count MCP tools available (from session start messages or `settings.json`)
|
|
210
|
+
2. Check CLAUDE.md line count
|
|
211
|
+
3. If total MCP tools >80 or CLAUDE.md >150 lines, include a **Context Budget Advisory** in the Onboard Report:
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
### Context Budget Advisory
|
|
215
|
+
- **MCP tools loaded**: [count] across [N] servers
|
|
216
|
+
- **CLAUDE.md size**: [N] lines
|
|
217
|
+
- **Estimated baseline**: ~[N]k tokens before any work begins
|
|
218
|
+
- **Recommendation**: [specific advice — disable unused MCP servers, move CLAUDE.md details to .rune/]
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
**Skip if**: Total MCP tools ≤80 AND CLAUDE.md ≤150 lines (healthy baseline).
|
|
222
|
+
|
|
191
223
|
### Step 7 — Commit
|
|
192
224
|
Use `Bash` to stage and commit the generated files:
|
|
193
225
|
```bash
|
|
@@ -256,6 +288,10 @@ If any of the `.rune/` files already exist, do not overwrite them (they may cont
|
|
|
256
288
|
### Skipped (already exist)
|
|
257
289
|
- [list of files not overwritten]
|
|
258
290
|
|
|
291
|
+
### Learned Instincts (if any)
|
|
292
|
+
- [trigger] → [action] (confidence: [0.6-0.9]) — for each high-confidence instinct
|
|
293
|
+
- [N] low-confidence instincts still learning
|
|
294
|
+
|
|
259
295
|
### Observations
|
|
260
296
|
- [notable patterns or anomalies found]
|
|
261
297
|
- [potential issues detected]
|
|
@@ -288,11 +324,23 @@ Known failure modes for this skill. Check these before declaring done.
|
|
|
288
324
|
## Done When
|
|
289
325
|
|
|
290
326
|
- CLAUDE.md written (or merged) with all detected tech stack fields populated
|
|
291
|
-
- .rune/ directory initialized with conventions, decisions, progress, session-log
|
|
327
|
+
- .rune/ directory initialized with conventions, decisions, progress, session-log, instincts
|
|
292
328
|
- .rune/DEVELOPER-GUIDE.md written with setup commands from actual scan
|
|
293
329
|
- All generated commands verified to exist in package.json/Makefile/etc.
|
|
294
330
|
- Onboard Report emitted with Generated + Skipped + Observations sections
|
|
295
331
|
|
|
332
|
+
## Returns
|
|
333
|
+
|
|
334
|
+
| Artifact | Format | Location |
|
|
335
|
+
|----------|--------|----------|
|
|
336
|
+
| Project AI config | Markdown | `CLAUDE.md` (project root) |
|
|
337
|
+
| Detected conventions | Markdown | `.rune/conventions.md` |
|
|
338
|
+
| Decision log (initialized) | Markdown | `.rune/decisions.md` |
|
|
339
|
+
| Developer onboarding guide | Markdown | `.rune/DEVELOPER-GUIDE.md` |
|
|
340
|
+
| Session/progress files | Markdown | `.rune/progress.md`, `.rune/session-log.md` |
|
|
341
|
+
|
|
296
342
|
## Cost Profile
|
|
297
343
|
|
|
298
344
|
~2000-5000 tokens input, ~1000-2000 tokens output. Sonnet for analysis quality.
|
|
345
|
+
|
|
346
|
+
**Scope guardrail:** onboard generates project context files — it does not modify source code, install dependencies, or change project configuration.
|
package/skills/perf/SKILL.md
CHANGED
|
@@ -292,6 +292,17 @@ Known failure modes for this skill. Check these before declaring done.
|
|
|
292
292
|
- Benchmark scripts ran (if configured) or INFO: skipped
|
|
293
293
|
- Perf Report emitted with PASS/WARN/BLOCK verdict
|
|
294
294
|
|
|
295
|
+
## Returns
|
|
296
|
+
|
|
297
|
+
| Artifact | Format | Location |
|
|
298
|
+
|----------|--------|----------|
|
|
299
|
+
| Perf Report with verdict | Markdown (PASS/WARN/BLOCK) | inline |
|
|
300
|
+
| Per-finding details | Structured list (file:line + impact) | inline |
|
|
301
|
+
| Lighthouse scores (if ran) | Score table | inline |
|
|
302
|
+
| Framework-specific findings | Categorized list | inline |
|
|
303
|
+
|
|
295
304
|
## Cost Profile
|
|
296
305
|
|
|
297
306
|
~3000-8000 tokens input, ~500-1500 tokens output. Sonnet for pattern recognition.
|
|
307
|
+
|
|
308
|
+
**Scope guardrail:** perf investigates and reports only — it does not fix code. All fixes are delegated to `fix` (L2) after the report is reviewed.
|