@kennethsolomon/shipkit 3.15.2 → 3.16.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 +231 -1
- package/bin/shipkit.js +40 -4
- package/commands/sk/branch.md +1 -0
- package/commands/sk/finish-feature.md +1 -0
- package/commands/sk/hotfix.md +1 -0
- package/package.json +1 -1
- package/skills/sk:accessibility/SKILL.md +3 -0
- package/skills/sk:autopilot/SKILL.md +1 -1
- package/skills/sk:ci/SKILL.md +338 -0
- package/skills/sk:context/SKILL.md +1 -0
- package/skills/sk:e2e/SKILL.md +1 -0
- package/skills/sk:fast-track/SKILL.md +1 -1
- package/skills/sk:gates/SKILL.md +1 -1
- package/skills/sk:lint/SKILL.md +1 -0
- package/skills/sk:perf/SKILL.md +1 -0
- package/skills/sk:plugin/SKILL.md +221 -0
- package/skills/sk:release/SKILL.md +2 -0
- package/skills/sk:retro/SKILL.md +1 -1
- package/skills/sk:reverse-doc/SKILL.md +3 -1
- package/skills/sk:review/SKILL.md +1 -0
- package/skills/sk:scope-check/SKILL.md +1 -1
- package/{commands/sk/security-check.md → skills/sk:security-check/SKILL.md} +4 -0
- package/skills/sk:seo-audit/SKILL.md +3 -0
- package/skills/sk:setup-claude/templates/.claude/agents/architect.md +62 -0
- package/skills/sk:setup-claude/templates/.claude/agents/backend-dev.md +3 -1
- package/skills/sk:setup-claude/templates/.claude/agents/code-reviewer.md +38 -0
- package/skills/sk:setup-claude/templates/.claude/agents/database-architect.md +69 -0
- package/skills/sk:setup-claude/templates/.claude/agents/debugger.md +26 -0
- package/skills/sk:setup-claude/templates/.claude/agents/devops-engineer.md +51 -0
- package/skills/sk:setup-claude/templates/.claude/agents/e2e-tester.md +1 -1
- package/skills/sk:setup-claude/templates/.claude/agents/frontend-dev.md +3 -1
- package/skills/sk:setup-claude/templates/.claude/agents/linter.md +1 -1
- package/skills/sk:setup-claude/templates/.claude/agents/mobile-dev.md +49 -0
- package/skills/sk:setup-claude/templates/.claude/agents/perf-auditor.md +1 -1
- package/skills/sk:setup-claude/templates/.claude/agents/performance-optimizer.md +72 -0
- package/skills/sk:setup-claude/templates/.claude/agents/qa-engineer.md +3 -1
- package/skills/sk:setup-claude/templates/.claude/agents/refactor-specialist.md +67 -0
- package/skills/sk:setup-claude/templates/.claude/agents/security-auditor.md +2 -1
- package/skills/sk:setup-claude/templates/.claude/agents/tech-writer.md +60 -0
- package/skills/sk:setup-claude/templates/.claude/agents/test-runner.md +2 -1
- package/skills/sk:setup-claude/templates/.claude/rules/api.md.template +9 -3
- package/skills/sk:setup-claude/templates/.claude/rules/frontend.md.template +9 -3
- package/skills/sk:setup-claude/templates/.claude/rules/laravel.md.template +8 -3
- package/skills/sk:setup-claude/templates/.claude/rules/migrations.md.template +24 -0
- package/skills/sk:setup-claude/templates/.claude/rules/react.md.template +8 -3
- package/skills/sk:setup-claude/templates/.claude/rules/tests.md.template +12 -3
- package/skills/sk:setup-claude/templates/.claude/rules/vue.md.template +22 -0
- package/skills/sk:setup-optimizer/SKILL.md +61 -2
- package/skills/sk:smart-commit/SKILL.md +1 -0
- package/skills/sk:start/SKILL.md +1 -1
- package/skills/sk:team/SKILL.md +1 -1
- package/skills/sk:website/SKILL.md +1 -0
- package/commands/sk/autopilot.md +0 -22
- package/commands/sk/context-budget.md +0 -5
- package/commands/sk/eval.md +0 -5
- package/commands/sk/health.md +0 -5
- package/commands/sk/learn.md +0 -5
- package/commands/sk/resume-session.md +0 -5
- package/commands/sk/safety-guard.md +0 -5
- package/commands/sk/save-session.md +0 -5
- package/commands/sk/start.md +0 -30
- package/commands/sk/team.md +0 -23
- package/commands/sk/website.md +0 -11
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.tsx"
|
|
4
|
+
- "**/*.jsx"
|
|
5
|
+
- "src/**/*.ts"
|
|
6
|
+
- "resources/js/**"
|
|
7
|
+
---
|
|
3
8
|
|
|
4
|
-
|
|
9
|
+
# React Standards
|
|
5
10
|
|
|
6
11
|
## Conventions
|
|
7
12
|
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "tests/**"
|
|
4
|
+
- "test/**"
|
|
5
|
+
- "__tests__/**"
|
|
6
|
+
- "**/*.test.ts"
|
|
7
|
+
- "**/*.test.js"
|
|
8
|
+
- "**/*.spec.ts"
|
|
9
|
+
- "**/*.spec.js"
|
|
10
|
+
- "**/*.test.php"
|
|
11
|
+
---
|
|
3
12
|
|
|
4
|
-
|
|
13
|
+
# Testing Standards
|
|
5
14
|
|
|
6
15
|
## Conventions
|
|
7
16
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "**/*.vue"
|
|
4
|
+
- "resources/js/**/*.ts"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Vue 3 Standards
|
|
8
|
+
|
|
9
|
+
## Conventions
|
|
10
|
+
|
|
11
|
+
- Composition API only — no Options API in new code
|
|
12
|
+
- Prefer `<script setup>` syntax for SFCs
|
|
13
|
+
- `defineProps` with TypeScript types — always validate prop types
|
|
14
|
+
- Always declare emits with typed `defineEmits` interface
|
|
15
|
+
- Composables: prefix with `use` (`useAuth`, `useCart`) — one concern per composable
|
|
16
|
+
- `ref` for primitives, `reactive` for objects — be consistent within a file
|
|
17
|
+
- `computed`: no side effects — read-only getters only
|
|
18
|
+
- Prefer `watchEffect` when dependencies are obvious; use `watch` for explicit control
|
|
19
|
+
- All `v-for` must have `:key` — stable IDs, never array index
|
|
20
|
+
- No logic in templates beyond simple ternaries — extract to computed
|
|
21
|
+
- Pinia stores: one store per domain; actions for mutations, getters for derived state
|
|
22
|
+
- `nextTick`: use sparingly — frequent use usually indicates a design issue
|
|
@@ -45,7 +45,10 @@ Before making any changes, runs a diagnostic pass on the existing CLAUDE.md:
|
|
|
45
45
|
- **Inconsistencies** — compares documented vs actual project state (directories, scripts, workflows)
|
|
46
46
|
- **Section completeness** — flags sections that exist but are empty or have only placeholder text
|
|
47
47
|
- **Outdated workflow** — checks if the workflow matches the current 8-step flow with `/sk:gates` as single gate step
|
|
48
|
-
- **Missing commands** — checks for `sk:start`, `sk:autopilot`, `sk:team`, `sk:learn`, `sk:context-budget`, `sk:health`, `sk:save-session`, `sk:resume-session`, `sk:safety-guard`, `sk:eval` in the Commands table
|
|
48
|
+
- **Missing commands** — checks for `sk:start`, `sk:autopilot`, `sk:team`, `sk:learn`, `sk:context-budget`, `sk:health`, `sk:save-session`, `sk:resume-session`, `sk:safety-guard`, `sk:eval`, `sk:ci`, `sk:plugin` in the Commands table
|
|
49
|
+
- **Missing agents** — checks if `.claude/agents/` exists and contains the 13 core agents: `backend-dev`, `frontend-dev`, `mobile-dev`, `qa-engineer`, `code-reviewer`, `security-reviewer`, `performance-optimizer`, `architect`, `database-architect`, `devops-engineer`, `debugger`, `refactor-specialist`, `tech-writer`
|
|
50
|
+
- **Missing rules** — checks if `.claude/rules/` exists and contains the project-relevant rule files based on detected stack (laravel.md, react.md, vue.md, tests.md, api.md, migrations.md)
|
|
51
|
+
- **Stale agent frontmatter** — checks that existing agent files use the new `memory`, `model`, and `tools` frontmatter fields (agents without `memory` are degraded)
|
|
49
52
|
- **Auto-skip rules** — checks for auto-skip detection rules in the workflow section
|
|
50
53
|
- **Stale tracker references** — checks for `tasks/workflow-status.md` references (removed — progress tracked via git branch + todo.md checkboxes)
|
|
51
54
|
- **Missing hooks** — checks if `.claude/hooks/` exists and contains both core and enhanced hooks
|
|
@@ -191,10 +194,66 @@ After LSP check, verify the three recommended tools are configured:
|
|
|
191
194
|
- Context7: add `context7@claude-plugins-official: true` to `~/.claude/settings.json` enabledPlugins
|
|
192
195
|
- ccstatusline: run `npx ccstatusline@latest`
|
|
193
196
|
|
|
194
|
-
**If no:** skip, continue to Step
|
|
197
|
+
**If no:** skip, continue to Step 1.8.
|
|
195
198
|
|
|
196
199
|
**Idempotency:** Never overwrite existing MCP entries, plugin flags, or statusline config — additive merge only.
|
|
197
200
|
|
|
201
|
+
### Step 1.8: Agents & Rules Check
|
|
202
|
+
|
|
203
|
+
After MCP check, verify the project has formal agent definitions and path-scoped rules:
|
|
204
|
+
|
|
205
|
+
**Agents check:**
|
|
206
|
+
|
|
207
|
+
1. Check if `.claude/agents/` directory exists
|
|
208
|
+
2. Check for the 13 core agents:
|
|
209
|
+
- **Implementation:** `backend-dev.md`, `frontend-dev.md`, `mobile-dev.md`
|
|
210
|
+
- **Quality:** `qa-engineer.md`, `code-reviewer.md`, `security-reviewer.md`, `performance-optimizer.md`
|
|
211
|
+
- **Design:** `architect.md`, `database-architect.md`
|
|
212
|
+
- **Operations:** `devops-engineer.md`
|
|
213
|
+
- **Maintenance:** `debugger.md`, `refactor-specialist.md`, `tech-writer.md`
|
|
214
|
+
3. For each existing agent, check if it has `memory:` and `model:` in frontmatter (older agents may be missing these)
|
|
215
|
+
|
|
216
|
+
**Rules check:**
|
|
217
|
+
|
|
218
|
+
1. Check if `.claude/rules/` directory exists
|
|
219
|
+
2. Detect project stack from `CLAUDE.md`, `package.json`, `composer.json`
|
|
220
|
+
3. Check for relevant rule files based on detected stack:
|
|
221
|
+
- Laravel/PHP detected → check for `laravel.md`, `api.md`, `migrations.md`
|
|
222
|
+
- React/Next.js detected → check for `react.md`, `tests.md`, `api.md`
|
|
223
|
+
- Vue/Nuxt detected → check for `vue.md`, `tests.md`, `api.md`
|
|
224
|
+
- Any stack → check for `tests.md`
|
|
225
|
+
|
|
226
|
+
**Report status and prompt:**
|
|
227
|
+
|
|
228
|
+
> "Agents: [X/13] core agents found
|
|
229
|
+
> backend-dev: [✓ / ✗ missing]
|
|
230
|
+
> frontend-dev: [✓ / ✗ missing]
|
|
231
|
+
> mobile-dev: [✓ / ✗ missing]
|
|
232
|
+
> qa-engineer: [✓ / ✗ missing]
|
|
233
|
+
> code-reviewer: [✓ / ✗ missing]
|
|
234
|
+
> security-reviewer: [✓ / ✗ missing]
|
|
235
|
+
> performance-optimizer: [✓ / ✗ missing]
|
|
236
|
+
> architect: [✓ / ✗ missing]
|
|
237
|
+
> database-architect: [✓ / ✗ missing]
|
|
238
|
+
> devops-engineer: [✓ / ✗ missing]
|
|
239
|
+
> debugger: [✓ / ✗ missing]
|
|
240
|
+
> refactor-specialist: [✓ / ✗ missing]
|
|
241
|
+
> tech-writer: [✓ / ✗ missing]
|
|
242
|
+
>
|
|
243
|
+
> Rules: [X/N] stack-relevant rules found
|
|
244
|
+
> [list relevant rules with ✓/✗]
|
|
245
|
+
>
|
|
246
|
+
> Deploy missing agents and rules? [y/n]"
|
|
247
|
+
|
|
248
|
+
**If yes:**
|
|
249
|
+
- Copy missing agent files from `~/.claude/skills/sk:setup-claude/templates/.claude/agents/`
|
|
250
|
+
- Copy missing rule files from `~/.claude/skills/sk:setup-claude/templates/.claude/rules/`
|
|
251
|
+
- Only deploy agents/rules that don't exist yet — never overwrite existing customized files
|
|
252
|
+
|
|
253
|
+
**If no:** skip, continue to Step 2.
|
|
254
|
+
|
|
255
|
+
**Idempotency:** Never overwrite existing agent or rule files.
|
|
256
|
+
|
|
198
257
|
### Step 2: Scan & Enrich
|
|
199
258
|
|
|
200
259
|
After workflow update, proceeds with codebase discovery and enrichment:
|
package/skills/sk:start/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sk:start
|
|
3
3
|
description: Smart entry point — classifies your task, detects scope, and routes to the optimal flow (feature/debug/hotfix/fast-track), mode (manual/autopilot), and agent strategy (solo/team).
|
|
4
|
-
|
|
4
|
+
allowed-tools: Read, Write, Bash, Glob, Grep, Agent, Skill
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Smart Start
|
package/skills/sk:team/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sk:team
|
|
3
3
|
description: Parallel domain agents for full-stack implementation — spawns Backend, Frontend, and QA agents in isolated worktrees.
|
|
4
|
-
|
|
4
|
+
allowed-tools: Read, Write, Bash, Glob, Grep, Agent
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Team Mode
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sk:website
|
|
3
3
|
description: Build a complete, client-deliverable multi-page marketing website from a brief, URL, or one sentence. NOT a prototype — a real site you hand to a client. Auto-builds from intake to handoff package. Use --revise for change iterations after initial build.
|
|
4
|
+
argument-hint: "[--revise] [URL or brief]"
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /sk:website — Client Website Builder
|
package/commands/sk/autopilot.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Hands-free workflow — all 8 steps, auto-skip, auto-advance, auto-commit. Stops only for direction approval and PR push."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /sk:autopilot
|
|
6
|
-
|
|
7
|
-
Run the full ShipIt workflow in hands-free mode.
|
|
8
|
-
|
|
9
|
-
Usage: `/sk:autopilot <task description>`
|
|
10
|
-
|
|
11
|
-
Executes all 8 workflow steps with:
|
|
12
|
-
- **Auto-skip** — optional steps skipped when clearly not needed
|
|
13
|
-
- **Auto-advance** — no manual step transitions
|
|
14
|
-
- **Auto-commit** — conventional format, no approval prompt
|
|
15
|
-
- **Same quality gates** — all gates enforced, same fix loops
|
|
16
|
-
|
|
17
|
-
Stops only for:
|
|
18
|
-
1. Direction approval (after brainstorm)
|
|
19
|
-
2. 3-strike failures
|
|
20
|
-
3. PR push confirmation
|
|
21
|
-
|
|
22
|
-
See `skills/sk:autopilot/SKILL.md` for full details.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Audit context window token consumption and find optimization opportunities."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:context-budget` skill to inventory all components consuming context tokens (agents, skills, rules, MCP tools, CLAUDE.md), classify usage frequency, detect bloat, and recommend top 3 optimizations with estimated token savings.
|
package/commands/sk/eval.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Define, run, and report on evaluations for agent reliability and code quality."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:eval` skill to define eval criteria before coding (`define`), verify during implementation (`check`), and summarize results after shipping (`report`). Supports code-based, model-based, and human graders with pass@k and pass^k metrics.
|
package/commands/sk/health.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Run harness self-audit and produce a health scorecard."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:health` skill to score your ShipKit setup across 7 categories (Tool Coverage, Context Efficiency, Quality Gates, Memory Persistence, Eval Coverage, Security Guardrails, Cost Efficiency). Produces a 0-70 scorecard with concrete findings and top 3 actions.
|
package/commands/sk/learn.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Extract reusable patterns from the current session into learned instincts."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:learn` skill to analyze the current session for extractable patterns (error resolutions, debugging techniques, workarounds, project conventions). Patterns are saved with confidence scoring and can be promoted from project-scoped to global.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Resume a previously saved session with full context restoration."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:resume-session` skill to list available saved sessions from `.claude/sessions/`, select one, and restore its context (branch, task state, progress, open questions, next steps) into the current conversation.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Protect against destructive operations with careful, freeze, and guard modes."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:safety-guard` skill to activate protection modes: `careful` (block destructive commands), `freeze --dir <path>` (lock edits to a directory), `guard --dir <path>` (both), `off` (disable), or `status` (show current mode).
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Save current session state for cross-session continuity."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Use the `sk:save-session` skill to persist the current session state (branch, task, progress, findings, open questions) to `.claude/sessions/` for resumption in a future conversation. Essential for EPIC-scope multi-session workflows.
|
package/commands/sk/start.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Smart entry point — classifies your task and routes to the optimal flow, mode, and agent strategy."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /sk:start
|
|
6
|
-
|
|
7
|
-
Smart entry point for all ShipIt work. Classifies your task and recommends the best workflow configuration.
|
|
8
|
-
|
|
9
|
-
Usage: `/sk:start <task description>`
|
|
10
|
-
|
|
11
|
-
Examples:
|
|
12
|
-
```
|
|
13
|
-
/sk:start add user profile page with avatar upload
|
|
14
|
-
/sk:start fix login redirect loop
|
|
15
|
-
/sk:start urgent: payments failing in production
|
|
16
|
-
/sk:start bump lodash to latest version
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
**What it does:**
|
|
20
|
-
1. **Classifies** — detects if it's a feature, bug, hotfix, or small change
|
|
21
|
-
2. **Detects scope** — full-stack, frontend-only, or backend-only
|
|
22
|
-
3. **Recommends** — optimal flow + mode (autopilot/manual) + agents (team/solo)
|
|
23
|
-
4. **Routes** — enters the chosen workflow after your confirmation
|
|
24
|
-
|
|
25
|
-
**Override flags:**
|
|
26
|
-
- `--manual` — force step-by-step mode
|
|
27
|
-
- `--team` / `--no-team` — force team or solo agents
|
|
28
|
-
- `--debug` / `--hotfix` / `--fast-track` — force a specific flow
|
|
29
|
-
|
|
30
|
-
See `skills/sk:start/SKILL.md` for full details.
|
package/commands/sk/team.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Parallel domain agents — spawns Backend, Frontend, and QA agents for full-stack implementation."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /sk:team
|
|
6
|
-
|
|
7
|
-
Split implementation across parallel domain agents.
|
|
8
|
-
|
|
9
|
-
Usage: `/sk:team`
|
|
10
|
-
|
|
11
|
-
Spawns 3 specialized agents in parallel:
|
|
12
|
-
- **Backend Agent** (worktree) — backend tests + implementation
|
|
13
|
-
- **Frontend Agent** (worktree) — frontend tests + implementation
|
|
14
|
-
- **QA Agent** (background) — E2E test scenarios
|
|
15
|
-
|
|
16
|
-
**Prerequisite:** Plan must contain an explicit API contract section.
|
|
17
|
-
|
|
18
|
-
Falls back to single-agent mode if:
|
|
19
|
-
- No API contract in plan
|
|
20
|
-
- Backend-only or frontend-only task
|
|
21
|
-
- Worktree creation fails
|
|
22
|
-
|
|
23
|
-
See `skills/sk:team/SKILL.md` for full details.
|
package/commands/sk/website.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Build a complete, client-deliverable multi-page marketing website from a brief, URL, or one sentence. Auto-builds from intake to handoff. Supports Next.js (default), Nuxt 3, and Laravel. Use --revise for client feedback iterations.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# /sk:website
|
|
6
|
-
|
|
7
|
-
Build a production-ready multi-page marketing website for delivery to a client.
|
|
8
|
-
|
|
9
|
-
Usage: `/sk:website [--stack nuxt|laravel] [--deploy] [--revise]`
|
|
10
|
-
|
|
11
|
-
See `skills/sk:website/SKILL.md` for full details.
|