@kennethsolomon/shipkit 3.8.0 → 3.10.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.
- package/README.md +190 -263
- package/commands/sk/autopilot.md +22 -0
- package/commands/sk/set-profile.md +4 -0
- package/commands/sk/start.md +30 -0
- package/commands/sk/team.md +23 -0
- package/package.json +1 -1
- package/skills/.claude/settings.local.json +18 -0
- package/skills/sk:autopilot/SKILL.md +151 -0
- package/skills/sk:setup-claude/SKILL.md +2 -0
- package/skills/sk:setup-claude/scripts/apply_setup_claude.py +1 -0
- package/skills/sk:setup-claude/templates/.claude/agents/backend-dev.md +63 -0
- package/skills/sk:setup-claude/templates/.claude/agents/frontend-dev.md +65 -0
- package/skills/sk:setup-claude/templates/.claude/agents/qa-engineer.md +66 -0
- package/skills/sk:setup-claude/templates/CLAUDE.md.template +61 -26
- package/skills/sk:setup-claude/templates/tasks/cross-platform.md.template +31 -0
- package/skills/sk:setup-optimizer/SKILL.md +6 -2
- package/skills/sk:start/SKILL.md +156 -0
- package/skills/sk:team/SKILL.md +141 -0
package/README.md
CHANGED
|
@@ -4,10 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
**A structured, quality-gated workflow system for Claude Code.**
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
**Every gate must pass. Quality isn't optional — it's structural.**
|
|
7
|
+
Ship features with TDD, security audits, and AI-powered code review —<br>
|
|
8
|
+
all wired into a single repeatable workflow.
|
|
11
9
|
|
|
12
10
|
[](https://www.npmjs.com/package/@kennethsolomon/shipkit)
|
|
13
11
|
[](LICENSE)
|
|
@@ -17,339 +15,268 @@ and AI-powered code review — all wired into a single repeatable workflow.
|
|
|
17
15
|
npm install -g @kennethsolomon/shipkit && shipkit
|
|
18
16
|
```
|
|
19
17
|
|
|
20
|
-
Works on Mac, Linux, and Windows.
|
|
21
|
-
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div align="center">
|
|
25
|
-
|
|
26
|
-

|
|
27
|
-
|
|
28
18
|
</div>
|
|
29
19
|
|
|
30
20
|
---
|
|
31
21
|
|
|
32
|
-
|
|
22
|
+
## What is ShipKit?
|
|
33
23
|
|
|
34
|
-
|
|
24
|
+
ShipKit turns Claude Code into a disciplined development partner. Instead of "write some code," every feature goes through:
|
|
35
25
|
|
|
36
|
-
|
|
26
|
+
**Plan** → **Build (TDD)** → **Quality Gates** → **Ship**
|
|
37
27
|
|
|
38
|
-
|
|
28
|
+
Each gate must pass before the next step. Lint fails? Fix it. Tests don't cover new code? Write them. Security issues? They block the PR. Quality is structural, not optional.
|
|
39
29
|
|
|
40
|
-
|
|
30
|
+
ShipKit auto-detects your stack — linters, test runners, frameworks, package managers. No configuration needed.
|
|
41
31
|
|
|
42
32
|
---
|
|
43
33
|
|
|
44
34
|
## Quick Start
|
|
45
35
|
|
|
46
36
|
```bash
|
|
47
|
-
# 1. Install
|
|
37
|
+
# 1. Install
|
|
48
38
|
npm install -g @kennethsolomon/shipkit && shipkit
|
|
49
39
|
|
|
50
|
-
# 2. Bootstrap your project (run
|
|
40
|
+
# 2. Bootstrap your project (run once)
|
|
51
41
|
/sk:setup-claude
|
|
52
42
|
|
|
53
|
-
# 3. Start
|
|
54
|
-
/sk:
|
|
43
|
+
# 3. Start building
|
|
44
|
+
/sk:start
|
|
55
45
|
```
|
|
56
46
|
|
|
57
|
-
`/sk:setup-claude` creates
|
|
47
|
+
That's it. `/sk:setup-claude` creates your project scaffolding: planning files, lifecycle hooks, path-scoped coding rules, and a persistent statusline — all auto-configured for your stack.
|
|
58
48
|
|
|
59
|
-
|
|
49
|
+
`/sk:start` is the recommended entry point — it classifies your task and routes you to the optimal flow automatically. You can also jump directly to `/sk:brainstorm`, `/sk:debug`, or any other flow entry point.
|
|
60
50
|
|
|
61
|
-
|
|
51
|
+
---
|
|
62
52
|
|
|
63
|
-
|
|
53
|
+
## Pick Your Flow
|
|
64
54
|
|
|
65
|
-
|
|
55
|
+
| I want to... | Run this | What happens |
|
|
56
|
+
|--------------|----------|-------------|
|
|
57
|
+
| **Not sure — let ShipKit decide** | `/sk:start` | Classifies your task, routes to optimal flow/mode/agents |
|
|
58
|
+
| **Build a new feature** | `/sk:brainstorm` | Full workflow: plan → TDD → 6 quality gates → PR |
|
|
59
|
+
| **Build hands-free** | `/sk:autopilot` | All 21 steps, auto-skip, auto-advance, auto-commit |
|
|
60
|
+
| **Full-stack feature (parallel)** | `/sk:team` | Parallel domain agents (backend + frontend + QA) |
|
|
61
|
+
| **Make a small change** | `/sk:fast-track` | Skip planning, keep all quality gates |
|
|
62
|
+
| **Fix a bug** | `/sk:debug` | Investigate → regression test → fix → gates → PR |
|
|
63
|
+
| **Fix a production emergency** | `/sk:hotfix` | Skip TDD, but quality gates still enforced |
|
|
64
|
+
| **Handle a requirement change** | `/sk:change` | Assess scope, re-enter workflow at the right step |
|
|
66
65
|
|
|
67
|
-
|
|
66
|
+
---
|
|
68
67
|
|
|
69
|
-
|
|
68
|
+
## Workflows
|
|
69
|
+
|
|
70
|
+
### Feature Flow — full planning + TDD + all gates
|
|
71
|
+
|
|
72
|
+
> Start with: `/sk:brainstorm`
|
|
73
|
+
|
|
74
|
+
| Step | Command | What it does | Phase |
|
|
75
|
+
|------|---------|-------------|-------|
|
|
76
|
+
| 1 | `/sk:brainstorm` | Explore requirements, propose approaches | Think |
|
|
77
|
+
| 2 | `/sk:frontend-design` | *Optional* — UI mockup (`--pencil` for visual) | Think |
|
|
78
|
+
| 3 | `/sk:api-design` | *Optional* — API contracts | Think |
|
|
79
|
+
| 4 | `/sk:accessibility` | *Optional* — WCAG 2.1 AA audit on design | Think |
|
|
80
|
+
| 5 | `/sk:write-plan` | Write decision-complete plan | Think |
|
|
81
|
+
| 6 | `/sk:branch` | Create feature branch | Build |
|
|
82
|
+
| 7 | `/sk:schema-migrate` | *Optional* — auto-skips if no migrations | Build |
|
|
83
|
+
| 8 | `/sk:write-tests` | TDD red — write failing tests | Build |
|
|
84
|
+
| 9 | `/sk:execute-plan` | TDD green — make tests pass | Build |
|
|
85
|
+
| 10 | `/sk:smart-commit` | Conventional commit | Build |
|
|
86
|
+
| 11 | `/sk:gates` | All 6 quality gates (parallel) | Verify |
|
|
87
|
+
| 12 | `/sk:update-task` | Mark done | Ship |
|
|
88
|
+
| 13 | `/sk:finish-feature` | Changelog + PR | Ship |
|
|
89
|
+
| 14 | `/sk:features` | Sync feature specs | Ship |
|
|
90
|
+
| 15 | `/sk:release` | *Optional* — version bump + tag | Ship |
|
|
70
91
|
|
|
71
92
|
---
|
|
72
93
|
|
|
73
|
-
|
|
94
|
+
### Fast-Track Flow — skip planning, keep all gates
|
|
74
95
|
|
|
75
|
-
|
|
96
|
+
> Start with: `/sk:fast-track`
|
|
76
97
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
98
|
+
| Step | Command | What it does | Phase |
|
|
99
|
+
|------|---------|-------------|-------|
|
|
100
|
+
| ~~1~~ | ~~/sk:brainstorm~~ | **Skipped** | — |
|
|
101
|
+
| ~~2~~ | ~~/sk:write-plan~~ | **Skipped** | — |
|
|
102
|
+
| ~~3~~ | ~~/sk:write-tests~~ | **Skipped** | — |
|
|
103
|
+
| 4 | `/sk:branch` | Create feature branch | Build |
|
|
104
|
+
| 5 | implement directly | No TDD — write code | Build |
|
|
105
|
+
| 6 | `/sk:smart-commit` | Conventional commit | Build |
|
|
106
|
+
| 7 | `/sk:gates` | All 6 quality gates (parallel) | Verify |
|
|
107
|
+
| 8 | `/sk:finish-feature` | Changelog + PR | Ship |
|
|
81
108
|
|
|
82
|
-
|
|
83
|
-
|---|---------|---------|
|
|
84
|
-
| 1 | read `tasks/todo.md` | Pick the next task |
|
|
85
|
-
| 2 | read `tasks/lessons.md` | Review past corrections |
|
|
86
|
-
| 3 | `/sk:brainstorm` | Clarify requirements — no code |
|
|
87
|
-
| 4 | `/sk:frontend-design` or `/sk:api-design` | Design spec *(skip if not needed)*. Frontend: add `--pencil` for Pencil visual mockup. API: REST/GraphQL contracts. |
|
|
88
|
-
| 5 | `/sk:accessibility` | WCAG 2.1 AA audit on design *(skip if no frontend)* |
|
|
89
|
-
| 6 | `/sk:write-plan` | Write plan to `tasks/todo.md` |
|
|
90
|
-
| 7 | `/sk:branch` | Create branch from current task |
|
|
91
|
-
| 8 | `/sk:schema-migrate` | Schema change analysis *(skip if no DB changes)* |
|
|
92
|
-
| 9 | `/sk:write-tests` | TDD red: write failing tests first |
|
|
93
|
-
| 10 | `/sk:execute-plan` | TDD green: make tests pass |
|
|
94
|
-
| 11 | `/sk:smart-commit` | Conventional commit |
|
|
95
|
-
| 12 | **`/sk:lint`** | **GATE** — Lint + Dep Audit — all linters must pass |
|
|
96
|
-
| 13 | **`/sk:test`** | **GATE** — 100% coverage on new code |
|
|
97
|
-
| 14 | **`/sk:security-check`** | **GATE** — 0 issues |
|
|
98
|
-
| 15 | **`/sk:perf`** | **GATE** *(optional)* — critical/high findings = 0 |
|
|
99
|
-
| 16 | **`/sk:review`** | **GATE** — Review + Simplify + Blast Radius — 0 issues including nitpicks |
|
|
100
|
-
| 17 | **`/sk:e2e`** | **GATE** — E2E Tests — prefers Playwright CLI when config detected, falls back to agent-browser; all scenarios must pass |
|
|
101
|
-
| 18 | `/sk:update-task` | Mark done, log completion |
|
|
102
|
-
| 19 | `/sk:finish-feature` | Changelog + PR |
|
|
103
|
-
| 20 | `/sk:features` | Sync Features — update docs/features/ specs *(required)* |
|
|
104
|
-
| 21 | `/sk:release` | Version bump + tag *(optional)* |
|
|
105
|
-
|
|
106
|
-
> **Fix & Retest Protocol:** All code-producing gates (Lint, Test, Security, Performance, Review, E2E) apply the Fix & Retest Protocol: logic changes require updating unit tests before committing the fix. Fix immediately, then re-run — never ask the user to re-run.
|
|
107
|
-
|
|
108
|
-
### Bug Fix Flow
|
|
109
|
+
Guard rails: warns if diff > 300 lines or > 5 new files.
|
|
109
110
|
|
|
110
|
-
|
|
111
|
-
Debug → Plan → Branch → Write Tests → Implement → Lint ✓ → Test ✓ → Security ✓ → Review ✓ → Finish
|
|
112
|
-
```
|
|
111
|
+
---
|
|
113
112
|
|
|
114
|
-
|
|
115
|
-
|---|---------|---------|
|
|
116
|
-
| 1 | `/sk:debug` | Root-cause analysis |
|
|
117
|
-
| 2 | `/sk:write-plan` | Fix plan |
|
|
118
|
-
| 3 | `/sk:branch` | Create branch |
|
|
119
|
-
| 4 | `/sk:write-tests` | Reproduce the bug in a test |
|
|
120
|
-
| 5 | `/sk:execute-plan` | Fix — make the test pass |
|
|
121
|
-
| 6–10 | `/sk:lint` → `/sk:test` → `/sk:security-check` → `/sk:review` → `/sk:e2e` | Quality gates |
|
|
122
|
-
| 11 | `/sk:finish-feature` | Changelog + PR |
|
|
113
|
+
### Bug Fix Flow — investigate first, then fix
|
|
123
114
|
|
|
124
|
-
|
|
115
|
+
> Start with: `/sk:debug`
|
|
125
116
|
|
|
126
|
-
|
|
117
|
+
| Step | Command | What it does | Phase |
|
|
118
|
+
|------|---------|-------------|-------|
|
|
119
|
+
| ~~1~~ | ~~/sk:brainstorm~~ | **Skipped** | — |
|
|
120
|
+
| ~~2~~ | ~~/sk:write-plan~~ | **Skipped** | — |
|
|
121
|
+
| 3 | `/sk:debug` | Reproduce, isolate, hypothesize, verify | Think |
|
|
122
|
+
| 4 | `/sk:branch` | Create fix branch | Build |
|
|
123
|
+
| 5 | `/sk:write-tests` | Regression test that reproduces the bug | Build |
|
|
124
|
+
| 6 | implement the fix | Make regression test pass | Build |
|
|
125
|
+
| 7 | `/sk:smart-commit` | Commit fix + test | Build |
|
|
126
|
+
| 8 | `/sk:gates` | All 6 quality gates (parallel) | Verify |
|
|
127
|
+
| 9 | `/sk:finish-feature` | Changelog + PR | Ship |
|
|
127
128
|
|
|
128
|
-
|
|
129
|
-
Debug → Branch → Fix → Smoke Test → Lint ✓ → Test ✓ → Security ✓ → Review ✓ → Finish
|
|
130
|
-
```
|
|
129
|
+
---
|
|
131
130
|
|
|
132
|
-
|
|
133
|
-
|---|---------|---------|
|
|
134
|
-
| 1 | `/sk:debug` | Root-cause analysis — understand before touching code |
|
|
135
|
-
| 2 | `/sk:branch` | Auto-named from the bug description |
|
|
136
|
-
| 3 | implement directly | No write-tests phase — go straight to the fix |
|
|
137
|
-
| 4 | run existing tests | Existing tests MUST still pass |
|
|
138
|
-
| 5 | `/sk:smart-commit` | Commit the fix |
|
|
139
|
-
| 6 | **`/sk:lint`** | **GATE** |
|
|
140
|
-
| 7 | **`/sk:test`** | **GATE** |
|
|
141
|
-
| 8 | **`/sk:security-check`** | **GATE** |
|
|
142
|
-
| 9 | **`/sk:review`** | **GATE** |
|
|
143
|
-
| 10 | `/sk:update-task` | Mark done |
|
|
144
|
-
| 11 | `/sk:finish-feature` | Changelog + PR — mark as hotfix |
|
|
131
|
+
### Hotfix Flow — production emergency
|
|
145
132
|
|
|
146
|
-
|
|
133
|
+
> Start with: `/sk:hotfix`
|
|
147
134
|
|
|
148
|
-
|
|
135
|
+
| Step | Command | What it does | Phase |
|
|
136
|
+
|------|---------|-------------|-------|
|
|
137
|
+
| ~~1~~ | ~~/sk:brainstorm~~ | **Skipped** | — |
|
|
138
|
+
| ~~2~~ | ~~/sk:write-plan~~ | **Skipped** | — |
|
|
139
|
+
| ~~3~~ | ~~/sk:write-tests~~ | **Skipped** | — |
|
|
140
|
+
| 4 | `/sk:debug` | Root-cause analysis | Think |
|
|
141
|
+
| 5 | `/sk:branch` | Create hotfix branch | Build |
|
|
142
|
+
| 6 | implement directly | Fix the issue | Build |
|
|
143
|
+
| 7 | run existing tests | Must still pass | Build |
|
|
144
|
+
| 8 | `/sk:smart-commit` | Commit the fix | Build |
|
|
145
|
+
| 9 | `/sk:gates` | All 6 quality gates (parallel) | Verify |
|
|
146
|
+
| 10 | `/sk:finish-feature` | Changelog + PR (marked as hotfix) | Ship |
|
|
149
147
|
|
|
150
|
-
|
|
148
|
+
After merging: add regression test + lesson to `tasks/lessons.md`.
|
|
151
149
|
|
|
152
|
-
|
|
153
|
-
Requirement changes → /sk:change → re-enter at correct step
|
|
154
|
-
```
|
|
150
|
+
---
|
|
155
151
|
|
|
156
|
-
|
|
157
|
-
|------|-------------|----------------|
|
|
158
|
-
| **Tier 1** — Behavior Tweak | Logic changes, scope stays the same *(e.g. delete all → delete users only)* | `/sk:write-tests` |
|
|
159
|
-
| **Tier 2** — New Requirements | New scope, new constraints, new acceptance criteria | `/sk:write-plan` |
|
|
160
|
-
| **Tier 3** — Scope Shift | Fundamental rethinking of approach or architecture | `/sk:brainstorm` |
|
|
152
|
+
### Requirement Change — mid-workflow pivot
|
|
161
153
|
|
|
162
|
-
`/sk:change`
|
|
154
|
+
> Run: `/sk:change` — it classifies scope and re-enters at the right step
|
|
155
|
+
|
|
156
|
+
| Tier | What changed | Example | Re-entry point |
|
|
157
|
+
|------|-------------|---------|----------------|
|
|
158
|
+
| **Tier 1** | Behavior tweak (same scope) | "Delete all" → "Delete users only" | `/sk:write-tests` |
|
|
159
|
+
| **Tier 2** | New requirements (new scope) | "Also add export to CSV" | `/sk:write-plan` |
|
|
160
|
+
| **Tier 3** | Scope shift (rethink) | "Different approach entirely" | `/sk:brainstorm` |
|
|
163
161
|
|
|
164
162
|
---
|
|
165
163
|
|
|
166
|
-
##
|
|
167
|
-
|
|
168
|
-
### Planning & Design
|
|
169
|
-
|
|
170
|
-
| Command | Description |
|
|
171
|
-
|---------|-------------|
|
|
172
|
-
| `/sk:brainstorm` | Explore requirements and design before writing any code |
|
|
173
|
-
| `/sk:frontend-design` | Create UI design specs and mockups. After the design summary, it asks if you want a Pencil visual mockup. Use `--pencil` flag to jump directly to the Pencil phase *(requires Pencil app + MCP)* |
|
|
174
|
-
| `/sk:api-design` | Design REST or GraphQL API contracts |
|
|
175
|
-
| `/sk:accessibility` | WCAG 2.1 AA audit on design or existing frontend |
|
|
176
|
-
| `/sk:write-plan` | Write a decision-complete plan to `tasks/todo.md` |
|
|
177
|
-
| `/sk:plan` | Create or refresh task planning files |
|
|
178
|
-
| `/sk:setup-claude` | Bootstrap project scaffolding (CLAUDE.md + tasks/) |
|
|
179
|
-
| `/sk:setup-optimizer` | Enrich CLAUDE.md by scanning the codebase |
|
|
180
|
-
| `/sk:reverse-doc` | Generate architecture/design docs from existing code |
|
|
181
|
-
|
|
182
|
-
### Development
|
|
183
|
-
|
|
184
|
-
| Command | Description |
|
|
185
|
-
|---------|-------------|
|
|
186
|
-
| `/sk:branch` | Create a feature branch from the current task |
|
|
187
|
-
| `/sk:schema-migrate` | Analyze pending schema changes (Prisma, Drizzle, Eloquent, SQLAlchemy, ActiveRecord) |
|
|
188
|
-
| `/sk:write-tests` | TDD: write failing tests before implementation |
|
|
189
|
-
| `/sk:execute-plan` | Implement the plan in small batches |
|
|
190
|
-
| `/sk:change` | Handle a mid-workflow requirement change — assess scope and re-enter at the right step |
|
|
191
|
-
| `/sk:debug` | Structured bug investigation: reproduce → isolate → fix |
|
|
192
|
-
| `/sk:hotfix` | Emergency fix workflow — skips design and TDD |
|
|
193
|
-
| `/sk:fast-track` | Abbreviated workflow for small changes — skip planning, keep all gates |
|
|
194
|
-
|
|
195
|
-
### Prototyping
|
|
196
|
-
|
|
197
|
-
| Command | Description |
|
|
198
|
-
|---------|-------------|
|
|
199
|
-
| `/sk:mvp` | Generate a complete MVP from a single idea prompt — landing page with waitlist + working app with fake data. Supports Next.js, Nuxt, Laravel, React+Vite. Optional Pencil MCP design phase and Playwright MCP visual validation. |
|
|
200
|
-
|
|
201
|
-
### Quality Gates
|
|
202
|
-
|
|
203
|
-
| Command | Description |
|
|
204
|
-
|---------|-------------|
|
|
205
|
-
| `/sk:lint` | Auto-detect and run all linters (Pint, ESLint, PHPStan, Prettier…) |
|
|
206
|
-
| `/sk:test` | Auto-detect and run all test suites, verify 100% coverage on new code |
|
|
207
|
-
| `/sk:security-check` | OWASP security audit across changed code |
|
|
208
|
-
| `/sk:perf` | Performance audit: bundle size, N+1 queries, Core Web Vitals |
|
|
209
|
-
| `/sk:seo-audit` | SEO audit — dual-mode (source templates + dev server), ask-before-fix, checklist output to `tasks/seo-findings.md` |
|
|
210
|
-
| `/sk:review` | Blast-radius-aware self-review across 7 dimensions + cross-file impact analysis |
|
|
211
|
-
| `/sk:gates` | Run all quality gates in optimized parallel batches |
|
|
212
|
-
| `/sk:scope-check` | Compare implementation against plan, detect scope creep |
|
|
213
|
-
|
|
214
|
-
### Shipping
|
|
215
|
-
|
|
216
|
-
| Command | Description |
|
|
217
|
-
|---------|-------------|
|
|
218
|
-
| `/sk:smart-commit` | Generate conventional commit messages with approval |
|
|
219
|
-
| `/sk:update-task` | Mark current task done, log completion |
|
|
220
|
-
| `/sk:finish-feature` | Write changelog entry + create PR |
|
|
221
|
-
| `/sk:release` | Version bump + CHANGELOG + git tag + push |
|
|
222
|
-
| `/sk:features` | Sync docs/features/ specs with the codebase |
|
|
223
|
-
| `/sk:retro` | Post-ship retrospective: velocity, blockers, action items |
|
|
224
|
-
|
|
225
|
-
### Laravel
|
|
226
|
-
|
|
227
|
-
| Command | Description |
|
|
228
|
-
|---------|-------------|
|
|
229
|
-
| `/sk:laravel-new` | Scaffold a fresh Laravel app with production-ready conventions |
|
|
230
|
-
| `/sk:laravel-init` | Configure an existing Laravel project |
|
|
231
|
-
|
|
232
|
-
### Configuration
|
|
233
|
-
|
|
234
|
-
| Command | Description |
|
|
235
|
-
|---------|-------------|
|
|
236
|
-
| `/sk:config` | View and edit project config (`.shipkit/config.json`) |
|
|
237
|
-
| `/sk:set-profile` | Switch model routing profile for this project |
|
|
238
|
-
|
|
239
|
-
### Meta
|
|
240
|
-
|
|
241
|
-
| Command | Description |
|
|
242
|
-
|---------|-------------|
|
|
243
|
-
| `/sk:help` | Show all commands and workflow overview |
|
|
244
|
-
| `/sk:status` | Show workflow and task status at a glance |
|
|
245
|
-
| `/sk:dashboard` | Read-only workflow Kanban board — localhost server, multi-worktree |
|
|
246
|
-
| `/sk:context` | Load all context files + output session brief for fast session start |
|
|
247
|
-
| `/sk:skill-creator` | Create or improve ShipKit skills |
|
|
164
|
+
## Quality Gates (`/sk:gates`)
|
|
248
165
|
|
|
249
|
-
|
|
166
|
+
One command runs all 6 gates in parallel batches:
|
|
250
167
|
|
|
251
|
-
|
|
168
|
+
| Batch | Gates | Why this order |
|
|
169
|
+
|-------|-------|---------------|
|
|
170
|
+
| **1** (parallel) | lint + security + perf | Independent — run simultaneously |
|
|
171
|
+
| **2** | tests | Needs lint fixes first |
|
|
172
|
+
| **3** | code review | Needs deep understanding |
|
|
173
|
+
| **4** | E2E Tests | Needs review fixes |
|
|
252
174
|
|
|
253
|
-
|
|
175
|
+
Each gate auto-fixes, auto-commits, and re-runs until clean. If a gate fails 3 times, it stops and asks for help.
|
|
254
176
|
|
|
255
|
-
|
|
256
|
-
/sk:set-profile balanced # default
|
|
257
|
-
/sk:set-profile quality # most projects
|
|
258
|
-
/sk:set-profile full-sail # high-stakes / client work
|
|
259
|
-
/sk:set-profile budget # side projects / exploration
|
|
260
|
-
```
|
|
177
|
+
Pre-existing issues are logged to `tasks/tech-debt.md` — not fixed inline.
|
|
261
178
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
| `quality` | Opus for planning + review, Sonnet for implementation | Most professional projects |
|
|
266
|
-
| `balanced` | Sonnet across the board *(default)* | Day-to-day development |
|
|
267
|
-
| `budget` | Haiku where possible, Sonnet for gates | Side projects, prototyping |
|
|
268
|
-
|
|
269
|
-
| Skill group | full-sail | quality | balanced | budget |
|
|
270
|
-
|-------------|-----------|---------|----------|--------|
|
|
271
|
-
| brainstorm, write-plan, debug, execute-plan, review | opus | opus | sonnet | sonnet |
|
|
272
|
-
| write-tests, frontend-design, api-design, security-check | opus | sonnet | sonnet | sonnet |
|
|
273
|
-
| change | opus | sonnet | sonnet | sonnet |
|
|
274
|
-
| perf, schema-migrate, accessibility | opus | sonnet | sonnet | haiku |
|
|
275
|
-
| lint, test | sonnet | sonnet | haiku | haiku |
|
|
276
|
-
| smart-commit, branch, update-task | haiku | haiku | haiku | haiku |
|
|
277
|
-
|
|
278
|
-
`opus` = inherit (uses your current session model). Config lives in `.shipkit/config.json` — per project, gitignored by default.
|
|
279
|
-
|
|
280
|
-
### Config Reference
|
|
281
|
-
|
|
282
|
-
```json
|
|
283
|
-
{
|
|
284
|
-
"profile": "balanced",
|
|
285
|
-
"auto_commit": true,
|
|
286
|
-
"skip_gates": [],
|
|
287
|
-
"coverage_threshold": 100,
|
|
288
|
-
"branch_pattern": "feature/{slug}",
|
|
289
|
-
"model_overrides": { "sk:review": "opus" }
|
|
290
|
-
}
|
|
291
|
-
```
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## On-Demand Tools
|
|
292
182
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
|
296
|
-
|
|
297
|
-
| `
|
|
298
|
-
| `
|
|
299
|
-
| `
|
|
300
|
-
| `
|
|
183
|
+
Use these anytime — they're not part of any workflow.
|
|
184
|
+
|
|
185
|
+
| Command | When to use |
|
|
186
|
+
|---------|------------|
|
|
187
|
+
| `/sk:scope-check` | Mid-implementation — detect scope creep (On Track / Minor / Significant / Out of Control) |
|
|
188
|
+
| `/sk:retro` | After shipping — analyze velocity, blockers, patterns, generate action items |
|
|
189
|
+
| `/sk:reverse-doc` | Inherited codebase — generate architecture/design docs from existing code |
|
|
190
|
+
| `/sk:status` | Quick view of workflow and task status |
|
|
191
|
+
| `/sk:dashboard` | Visual Kanban board across all git worktrees |
|
|
192
|
+
| `/sk:mvp` | Generate a complete MVP app from a single idea prompt |
|
|
193
|
+
| `/sk:seo-audit` | SEO audit for web projects |
|
|
301
194
|
|
|
302
195
|
---
|
|
303
196
|
|
|
304
197
|
## Stack Support
|
|
305
198
|
|
|
306
|
-
ShipKit auto-detects your stack — no configuration needed.
|
|
307
|
-
|
|
308
199
|
| Area | Supported |
|
|
309
200
|
|------|-----------|
|
|
310
|
-
| **Linters** | Pint, ESLint, PHPStan, Rector, Prettier, Biome, Stylelint |
|
|
311
|
-
| **Test runners** | Pest, PHPUnit, Jest, Vitest, Playwright |
|
|
312
|
-
| **Schema / ORM** | Prisma, Drizzle, Eloquent, SQLAlchemy + Alembic, ActiveRecord |
|
|
313
201
|
| **Frameworks** | Laravel, Next.js, Nuxt, React, Vue, Node.js |
|
|
202
|
+
| **Linters** | Pint, ESLint, PHPStan, Rector, Prettier, Biome |
|
|
203
|
+
| **Test runners** | Pest, PHPUnit, Jest, Vitest, Playwright |
|
|
204
|
+
| **Schema / ORM** | Prisma, Drizzle, Eloquent, SQLAlchemy, ActiveRecord |
|
|
314
205
|
| **Release** | npm, Composer, iOS (App Store), Android (Play Store) |
|
|
315
206
|
|
|
316
207
|
---
|
|
317
208
|
|
|
318
|
-
##
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
209
|
+
## All Commands
|
|
210
|
+
|
|
211
|
+
<details>
|
|
212
|
+
<summary><strong>38 commands</strong> — click to expand</summary>
|
|
213
|
+
|
|
214
|
+
| Command | Purpose |
|
|
215
|
+
|---------|---------|
|
|
216
|
+
| `/sk:accessibility` | WCAG 2.1 AA audit |
|
|
217
|
+
| `/sk:api-design` | Design API contracts before implementation |
|
|
218
|
+
| `/sk:autopilot` | Hands-free workflow — auto-skip, auto-advance, auto-commit |
|
|
219
|
+
| `/sk:brainstorm` | Explore requirements and design |
|
|
220
|
+
| `/sk:branch` | Create feature branch from current task |
|
|
221
|
+
| `/sk:change` | Handle mid-workflow requirement changes |
|
|
222
|
+
| `/sk:config` | View/edit project config |
|
|
223
|
+
| `/sk:context` | Load project context (automatic via hooks) |
|
|
224
|
+
| `/sk:dashboard` | Live Kanban board — sk:dashboard across worktrees |
|
|
225
|
+
| `/sk:debug` | Structured bug investigation |
|
|
226
|
+
| `/sk:e2e` | E2E Tests — behavioral verification |
|
|
227
|
+
| `/sk:execute-plan` | Execute plan checkboxes in batches |
|
|
228
|
+
| `/sk:fast-track` | Small changes — skip planning, keep gates |
|
|
229
|
+
| `/sk:features` | Sync feature specs with codebase |
|
|
230
|
+
| `/sk:finish-feature` | Changelog + PR |
|
|
231
|
+
| `/sk:frontend-design` | UI mockup + optional Pencil visual design |
|
|
232
|
+
| `/sk:gates` | All quality gates in parallel batches |
|
|
233
|
+
| `/sk:help` | Show all commands |
|
|
234
|
+
| `/sk:hotfix` | Emergency fix workflow |
|
|
235
|
+
| `/sk:laravel-init` | Configure existing Laravel project |
|
|
236
|
+
| `/sk:laravel-new` | Scaffold fresh Laravel app |
|
|
237
|
+
| `/sk:lint` | Auto-detect and run all linters |
|
|
238
|
+
| `/sk:mvp` | Generate MVP app from a prompt |
|
|
239
|
+
| `/sk:perf` | Performance audit |
|
|
240
|
+
| `/sk:plan` | Create/refresh planning files |
|
|
241
|
+
| `/sk:release` | Version bump + tag (`--android` / `--ios` for store audit) |
|
|
242
|
+
| `/sk:retro` | Post-ship retrospective |
|
|
243
|
+
| `/sk:reverse-doc` | Generate docs from existing code |
|
|
244
|
+
| `/sk:review` | 7-dimension code review |
|
|
245
|
+
| `/sk:schema-migrate` | Database schema change analysis |
|
|
246
|
+
| `/sk:scope-check` | Detect scope creep mid-implementation |
|
|
247
|
+
| `/sk:security-check` | OWASP security audit |
|
|
248
|
+
| `/sk:seo-audit` | sk:seo-audit for web projects |
|
|
249
|
+
| `/sk:set-profile` | Switch model routing profile |
|
|
250
|
+
| `/sk:setup-claude` | Bootstrap project scaffolding |
|
|
251
|
+
| `/sk:smart-commit` | Conventional commit with approval |
|
|
252
|
+
| `/sk:start` | Smart entry point — classifies task, routes to optimal flow |
|
|
253
|
+
| `/sk:status` | Show workflow + task status |
|
|
254
|
+
| `/sk:team` | Parallel domain agents for full-stack tasks |
|
|
255
|
+
| `/sk:test` | Run all test suites |
|
|
256
|
+
| `/sk:update-task` | Mark task done |
|
|
257
|
+
| `/sk:write-plan` | Write plan to `tasks/todo.md` |
|
|
258
|
+
| `/sk:write-tests` | TDD: write failing tests first |
|
|
259
|
+
|
|
260
|
+
</details>
|
|
340
261
|
|
|
341
262
|
---
|
|
342
263
|
|
|
343
|
-
##
|
|
264
|
+
## Learn More
|
|
344
265
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
266
|
+
| Topic | Where |
|
|
267
|
+
|-------|-------|
|
|
268
|
+
| Detailed workflow steps (21-step table) | [DOCUMENTATION.md](.claude/docs/DOCUMENTATION.md) |
|
|
269
|
+
| Feature specifications | [docs/FEATURES.md](docs/FEATURES.md) |
|
|
270
|
+
| Model routing profiles & config | [DOCUMENTATION.md — Config](.claude/docs/DOCUMENTATION.md#config-reference) |
|
|
271
|
+
| Infrastructure (hooks, agents, rules) | [DOCUMENTATION.md — Setup](.claude/docs/DOCUMENTATION.md#what-gets-created) |
|
|
272
|
+
| Security & permissions | [DOCUMENTATION.md — Security](.claude/docs/DOCUMENTATION.md#security) |
|
|
348
273
|
|
|
349
274
|
---
|
|
350
275
|
|
|
351
276
|
<div align="center">
|
|
352
277
|
|
|
278
|
+
MIT License — Built by [Kenneth Solomon](https://github.com/kennethsolomon)
|
|
279
|
+
|
|
353
280
|
**Claude Code is powerful. ShipKit makes it reliable.**
|
|
354
281
|
|
|
355
282
|
</div>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Hands-free workflow — all 21 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 21 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.
|
|
@@ -28,6 +28,8 @@ Valid profiles: `full-sail` · `quality` · `balanced` · `budget`
|
|
|
28
28
|
| perf, schema-migrate, accessibility | opus | sonnet | sonnet | haiku |
|
|
29
29
|
| lint, test | sonnet | sonnet | haiku | haiku |
|
|
30
30
|
| smart-commit, branch, update-task | haiku | haiku | haiku | haiku |
|
|
31
|
+
| autopilot, team | opus | opus | sonnet | sonnet |
|
|
32
|
+
| start | haiku | haiku | haiku | haiku |
|
|
31
33
|
|
|
32
34
|
Note: `opus` = inherit (uses the current session model). Switch to Opus 4.5 in your session to get the full benefit.
|
|
33
35
|
|
|
@@ -66,6 +68,8 @@ Model assignments for this project:
|
|
|
66
68
|
perf, schema-migrate, accessibility → <model>
|
|
67
69
|
lint, test → <model>
|
|
68
70
|
smart-commit, branch, update-task → haiku
|
|
71
|
+
autopilot, team → <model>
|
|
72
|
+
start → haiku
|
|
69
73
|
|
|
70
74
|
Run /sk:config to see all settings or make further changes.
|
|
71
75
|
```
|
|
@@ -0,0 +1,30 @@
|
|
|
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.
|
|
@@ -0,0 +1,23 @@
|
|
|
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.
|