@su-record/vibe 2.8.6 → 2.8.8
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.md +27 -16
- package/agents/review/architecture-reviewer.md +2 -2
- package/agents/review/complexity-reviewer.md +2 -2
- package/agents/review/data-integrity-reviewer.md +2 -2
- package/agents/review/git-history-reviewer.md +2 -2
- package/agents/review/performance-reviewer.md +2 -2
- package/agents/review/python-reviewer.md +3 -3
- package/agents/review/rails-reviewer.md +2 -2
- package/agents/review/react-reviewer.md +2 -2
- package/agents/review/security-reviewer.md +2 -2
- package/agents/review/simplicity-reviewer.md +2 -2
- package/agents/review/test-coverage-reviewer.md +2 -2
- package/agents/review/typescript-reviewer.md +2 -2
- package/commands/vibe.figma.md +242 -84
- package/dist/cli/postinstall/constants.d.ts +13 -1
- package/dist/cli/postinstall/constants.d.ts.map +1 -1
- package/dist/cli/postinstall/constants.js +27 -10
- package/dist/cli/postinstall/constants.js.map +1 -1
- package/dist/cli/postinstall/index.d.ts +1 -1
- package/dist/cli/postinstall/index.d.ts.map +1 -1
- package/dist/cli/postinstall/index.js +1 -1
- package/dist/cli/postinstall/index.js.map +1 -1
- package/dist/infra/lib/SkillFrontmatter.d.ts +2 -0
- package/dist/infra/lib/SkillFrontmatter.d.ts.map +1 -1
- package/dist/infra/lib/SkillFrontmatter.js +7 -0
- package/dist/infra/lib/SkillFrontmatter.js.map +1 -1
- package/dist/infra/lib/SkillRepository.d.ts +9 -1
- package/dist/infra/lib/SkillRepository.d.ts.map +1 -1
- package/dist/infra/lib/SkillRepository.js +15 -0
- package/dist/infra/lib/SkillRepository.js.map +1 -1
- package/package.json +1 -1
- package/skills/agents-md/SKILL.md +1 -0
- package/skills/arch-guard/SKILL.md +1 -0
- package/skills/brand-assets/SKILL.md +1 -0
- package/skills/capability-loop/SKILL.md +1 -0
- package/skills/characterization-test/SKILL.md +1 -0
- package/skills/claude-md-guide/SKILL.md +1 -0
- package/skills/commerce-patterns/SKILL.md +1 -0
- package/skills/commit-push-pr/SKILL.md +1 -0
- package/skills/context7-usage/SKILL.md +1 -0
- package/skills/create-prd/SKILL.md +1 -0
- package/skills/design-audit/SKILL.md +1 -0
- package/skills/design-critique/SKILL.md +1 -0
- package/skills/design-distill/SKILL.md +1 -0
- package/skills/design-normalize/SKILL.md +1 -0
- package/skills/design-polish/SKILL.md +1 -0
- package/skills/design-teach/SKILL.md +1 -0
- package/skills/e2e-commerce/SKILL.md +1 -0
- package/skills/event-comms/SKILL.md +1 -0
- package/skills/event-ops/SKILL.md +1 -0
- package/skills/event-planning/SKILL.md +1 -0
- package/skills/exec-plan/SKILL.md +1 -0
- package/skills/git-worktree/SKILL.md +1 -0
- package/skills/handoff/SKILL.md +1 -0
- package/skills/parallel-research/SKILL.md +1 -0
- package/skills/prioritization-frameworks/SKILL.md +1 -0
- package/skills/priority-todos/SKILL.md +1 -0
- package/skills/seo-checklist/SKILL.md +1 -0
- package/skills/techdebt/SKILL.md +1 -0
- package/skills/tool-fallback/SKILL.md +1 -0
- package/skills/typescript-advanced-types/SKILL.md +1 -0
- package/skills/ui-ux-pro-max/SKILL.md +1 -0
- package/skills/user-personas/SKILL.md +1 -0
- package/skills/vercel-react-best-practices/SKILL.md +1 -0
- package/skills/video-production/SKILL.md +1 -0
- package/skills/core-capabilities/SKILL.md +0 -13
- package/skills/frontend-design/SKILL.md +0 -12
package/CLAUDE.md
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
- `better-sqlite3` WAL mode — DB module uses synchronous API
|
|
100
100
|
- `crypto.timingSafeEqual` requires same-length buffers — check length first
|
|
101
|
-
- `
|
|
101
|
+
- `GLOBAL_SKILLS_CORE`, `GLOBAL_SKILLS_STANDARD`, `GLOBAL_SKILLS_OPTIONAL`, `STACK_TO_SKILLS`, `CAPABILITY_SKILLS` in `src/cli/postinstall/constants.ts` — single source of truth for stack→asset mapping
|
|
102
102
|
- Hook dispatch chain: `prompt-dispatcher.js` → `keyword-detector.js` → `llm-orchestrate.js` (order matters)
|
|
103
103
|
- Pre-existing test failures in `prdParser.test.ts` (7) and `traceabilityMatrix.test.ts` (1) — unrelated to current work
|
|
104
104
|
|
|
@@ -123,25 +123,36 @@
|
|
|
123
123
|
| `verify` | Strict verification mode |
|
|
124
124
|
| `quick` | Fast mode, minimal verification |
|
|
125
125
|
|
|
126
|
+
## Skill Tier System
|
|
127
|
+
|
|
128
|
+
Skills are classified into 3 tiers to prevent context overload (Curse of Instructions):
|
|
129
|
+
|
|
130
|
+
| Tier | Loading | Purpose | Count |
|
|
131
|
+
|------|---------|---------|-------|
|
|
132
|
+
| **core** | Always active | Bug/mistake prevention safety nets | ~9 |
|
|
133
|
+
| **standard** | Project setup selects | Workflow support by stack/capability | ~21 |
|
|
134
|
+
| **optional** | Explicit `/skill` only | Reference/wrapper — not auto-loaded | ~4 |
|
|
135
|
+
|
|
136
|
+
**Constants**: `GLOBAL_SKILLS_CORE` + `GLOBAL_SKILLS_STANDARD` in `src/cli/postinstall/constants.ts`
|
|
137
|
+
|
|
126
138
|
## Proactive Skill Suggestions
|
|
127
139
|
|
|
128
140
|
When the user's context matches a pattern below, suggest the relevant skill **once** per session. If the user says "stop suggesting", disable for the rest of the session.
|
|
129
141
|
|
|
130
|
-
| User Context | Suggested Skill | Signal |
|
|
131
|
-
|
|
132
|
-
| Writing a new SPEC / planning | `/vibe.spec` | "let's build", "new feature", "requirements" |
|
|
133
|
-
| SPEC exists, ready to implement | `/vibe.run` | SPEC file present, no implementation started |
|
|
134
|
-
| Implementation done, verifying | `/vibe.trace` | Code changes match SPEC phases |
|
|
135
|
-
|
|
|
136
|
-
|
|
|
137
|
-
|
|
|
138
|
-
|
|
|
139
|
-
|
|
|
140
|
-
|
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
144
|
-
| Before shipping UI | `/design-polish` | "ready to deploy", "final check" |
|
|
142
|
+
| User Context | Suggested Skill | Tier | Signal |
|
|
143
|
+
|-------------|-----------------|------|--------|
|
|
144
|
+
| Writing a new SPEC / planning | `/vibe.spec` | core | "let's build", "new feature", "requirements" |
|
|
145
|
+
| SPEC exists, ready to implement | `/vibe.run` | core | SPEC file present, no implementation started |
|
|
146
|
+
| Implementation done, verifying | `/vibe.trace` | core | Code changes match SPEC phases |
|
|
147
|
+
| Technical debt accumulating | `/techdebt` | core | Multiple `any` types, console.log, unused imports |
|
|
148
|
+
| Multi-file refactoring planned | `/exec-plan` | core | 3+ files to change, complex dependencies |
|
|
149
|
+
| Complex feature, unknown tech | `/parallel-research` | standard | "how should we", "which library", architecture questions |
|
|
150
|
+
| Debugging errors repeatedly | `/vibe.trace` | core | 3+ error cycles without resolution |
|
|
151
|
+
| Session ending, work incomplete | `/handoff` | standard | 70%+ context, incomplete tasks |
|
|
152
|
+
| Building new UI/UX | `/design-teach` | standard | "new page", "landing", "dashboard", Figma URL |
|
|
153
|
+
| UI code review | `/design-audit` | standard | After implementing UI components |
|
|
154
|
+
| New project setup / CLAUDE.md | `/claude-md-guide` | standard | "new project", "write CLAUDE.md" |
|
|
155
|
+
| Before shipping UI | `/design-polish` | standard | "ready to deploy", "final check" |
|
|
145
156
|
|
|
146
157
|
## Context Management
|
|
147
158
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -100,7 +100,7 @@ Generate dependency graph when needed:
|
|
|
100
100
|
|
|
101
101
|
```
|
|
102
102
|
Task(
|
|
103
|
-
model: "
|
|
103
|
+
model: "sonnet",
|
|
104
104
|
subagent_type: "Explore",
|
|
105
105
|
prompt: "Architecture review for [files]. Check layers, dependencies, SOLID."
|
|
106
106
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Metrics & Thresholds
|
|
17
17
|
|
|
@@ -99,7 +99,7 @@ Functions by Cyclomatic Complexity:
|
|
|
99
99
|
|
|
100
100
|
```
|
|
101
101
|
Task(
|
|
102
|
-
model: "
|
|
102
|
+
model: "sonnet",
|
|
103
103
|
subagent_type: "Explore",
|
|
104
104
|
prompt: "Complexity review for [files]. Check function length, nesting, cyclomatic."
|
|
105
105
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
```
|
|
83
83
|
Task(
|
|
84
|
-
model: "
|
|
84
|
+
model: "sonnet",
|
|
85
85
|
subagent_type: "Explore",
|
|
86
86
|
prompt: "Data integrity review for [files]. Check transactions, validation."
|
|
87
87
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Analysis Areas
|
|
17
17
|
|
|
@@ -96,7 +96,7 @@ git log --grep="revert" --oneline
|
|
|
96
96
|
|
|
97
97
|
```
|
|
98
98
|
Task(
|
|
99
|
-
model: "
|
|
99
|
+
model: "sonnet",
|
|
100
100
|
subagent_type: "Explore",
|
|
101
101
|
prompt: "Git history review for this PR. Find hotspots, risk patterns."
|
|
102
102
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
```
|
|
81
81
|
Task(
|
|
82
|
-
model: "
|
|
82
|
+
model: "sonnet",
|
|
83
83
|
subagent_type: "Explore",
|
|
84
84
|
prompt: "Performance review for [files]. Check N+1, memory leaks, caching."
|
|
85
85
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
```text
|
|
123
123
|
Task(
|
|
124
|
-
model: "
|
|
124
|
+
model: "sonnet",
|
|
125
125
|
subagent_type: "Explore",
|
|
126
126
|
prompt: "Python review for [files]. Check PEP8, type hints, async patterns."
|
|
127
127
|
)
|
|
@@ -132,7 +132,7 @@ Task(
|
|
|
132
132
|
**When GPT Codex is enabled**, get Python expert 2nd opinion:
|
|
133
133
|
|
|
134
134
|
```text
|
|
135
|
-
Primary: Task(
|
|
135
|
+
Primary: Task(Sonnet) Python review
|
|
136
136
|
↓
|
|
137
137
|
[GPT enabled?]
|
|
138
138
|
↓ YES
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Philosophy (DHH Style)
|
|
17
17
|
|
|
@@ -132,7 +132,7 @@ end
|
|
|
132
132
|
|
|
133
133
|
```
|
|
134
134
|
Task(
|
|
135
|
-
model: "
|
|
135
|
+
model: "sonnet",
|
|
136
136
|
subagent_type: "Explore",
|
|
137
137
|
prompt: "Rails review for [files]. Check N+1, Rails Way, DHH style."
|
|
138
138
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -137,7 +137,7 @@ const handleButtonClick = useCallback(() => {
|
|
|
137
137
|
|
|
138
138
|
```
|
|
139
139
|
Task(
|
|
140
|
-
model: "
|
|
140
|
+
model: "sonnet",
|
|
141
141
|
subagent_type: "Explore",
|
|
142
142
|
prompt: "React review for [files]. Check hooks, re-renders, a11y."
|
|
143
143
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
```
|
|
75
75
|
Task(
|
|
76
|
-
model: "
|
|
76
|
+
model: "sonnet",
|
|
77
77
|
subagent_type: "Explore",
|
|
78
78
|
prompt: "Security review for changes in [files]. Check OWASP Top 10."
|
|
79
79
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Philosophy
|
|
17
17
|
|
|
@@ -133,7 +133,7 @@ def process_data(data):
|
|
|
133
133
|
|
|
134
134
|
```
|
|
135
135
|
Task(
|
|
136
|
-
model: "
|
|
136
|
+
model: "sonnet",
|
|
137
137
|
subagent_type: "Explore",
|
|
138
138
|
prompt: "Simplicity review for [files]. Find over-engineering, dead code."
|
|
139
139
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -109,7 +109,7 @@ class TestPaymentService:
|
|
|
109
109
|
|
|
110
110
|
```
|
|
111
111
|
Task(
|
|
112
|
-
model: "
|
|
112
|
+
model: "sonnet",
|
|
113
113
|
subagent_type: "Explore",
|
|
114
114
|
prompt: "Test coverage review for [files]. Find missing tests, edge cases."
|
|
115
115
|
)
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
## Model
|
|
13
13
|
|
|
14
|
-
**
|
|
14
|
+
**Sonnet** — Accurate code analysis for quality gates
|
|
15
15
|
|
|
16
16
|
## Checklist
|
|
17
17
|
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
|
|
121
121
|
```
|
|
122
122
|
Task(
|
|
123
|
-
model: "
|
|
123
|
+
model: "sonnet",
|
|
124
124
|
subagent_type: "Explore",
|
|
125
125
|
prompt: "TypeScript review for [files]. Check type safety, React patterns."
|
|
126
126
|
)
|