@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.
@@ -0,0 +1,18 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(bash tests/verify-workflow.sh)",
5
+ "Bash(git add:*)",
6
+ "Bash(git commit:*)",
7
+ "Bash(node:*)",
8
+ "Bash(npm audit:*)",
9
+ "Bash(for f:*)",
10
+ "Bash(do echo:*)",
11
+ "Bash(bash -n \"$f\")",
12
+ "Bash(done)",
13
+ "Bash(tasks/security-findings.md:*)",
14
+ "Bash(git push:*)",
15
+ "Bash(git tag:*)"
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,151 @@
1
+ ---
2
+ name: sk:autopilot
3
+ description: Hands-free workflow — runs all 21 steps with auto-skip, auto-advance, auto-commit. Stops only for direction approval, 3-strike failures, and PR push.
4
+ user_invocable: true
5
+ allowed_tools: Read, Write, Bash, Glob, Grep, Agent, Skill
6
+ ---
7
+
8
+ # Autopilot Mode
9
+
10
+ Hands-free workflow that executes all 21 steps of the ShipIt workflow with minimal interruptions. Same quality gates, same fix loops, same 100% coverage — just fewer stops.
11
+
12
+ ## When to Use
13
+
14
+ - You know roughly what you want built and trust the workflow to handle details
15
+ - You want to minimize context switches and manual step advancement
16
+ - The task is well-defined enough for a single direction-approval checkpoint
17
+
18
+ ## When NOT to Use
19
+
20
+ - Exploratory work where you want to steer each step
21
+ - Tasks requiring frequent design decisions mid-implementation
22
+ - When you want to review intermediate outputs before proceeding
23
+
24
+ ## Quality Guarantee
25
+
26
+ Autopilot runs the EXACT same 21 steps as manual mode:
27
+ - ALL quality gates enforced (lint, test, security, perf, review, e2e)
28
+ - ALL fix-commit-rerun loops active
29
+ - 100% test coverage required on new code
30
+ - 0 security issues required
31
+ - The ONLY difference: auto-advance between steps instead of stopping
32
+
33
+ ## Steps
34
+
35
+ ### 0. Reset Tracker
36
+
37
+ Read `tasks/workflow-status.md`. If it has done/skipped steps from a different task, auto-reset all steps to `not yet`.
38
+
39
+ ### 1. Load Context (auto — no prompt)
40
+
41
+ - Read `tasks/todo.md`
42
+ - Read `tasks/lessons.md` (apply all active lessons as constraints)
43
+ - Read `tasks/findings.md` (if exists)
44
+ - Read `tasks/tech-debt.md` (if exists)
45
+
46
+ ### 2. Brainstorm + Direction Approval (STOP — requires user input)
47
+
48
+ Run brainstorm internally:
49
+ - Explore the codebase (3 parallel Explore agents)
50
+ - Propose 2-3 approaches with trade-offs
51
+
52
+ **Present ONE direction summary and ask:**
53
+ > "Direction: [1-2 sentence summary of chosen approach]
54
+ > Scope: [what will be built/changed]
55
+ > Auto-skipping: [list of steps that will be auto-skipped and why]
56
+ > Proceed? (y/n)"
57
+
58
+ Wait for explicit `y` before continuing. This is the ONLY planning stop.
59
+
60
+ ### 3. Plan (auto-advance)
61
+
62
+ Write the implementation plan to `tasks/todo.md`. Do NOT ask for plan approval — the direction approval in step 2 covers this.
63
+
64
+ ### 4. Branch (auto-advance)
65
+
66
+ Create feature branch auto-named from the task. Do NOT ask for confirmation.
67
+
68
+ ### 5. Auto-Skip Detection
69
+
70
+ Scan `tasks/todo.md` for frontend/backend/database keywords. For each optional step:
71
+ - **Design (step 4)**: auto-skip if no frontend keywords
72
+ - **Accessibility (step 5)**: auto-skip if no frontend keywords
73
+ - **Migrate (step 8)**: auto-skip if no database keywords
74
+ - **Performance (step 15)**: auto-skip if no frontend AND no database keywords
75
+
76
+ Log each auto-skip: `Auto-skipped: [Step Name] ([reason])`
77
+
78
+ ### 6. Write Tests (auto-advance)
79
+
80
+ Write failing tests based on the plan (TDD red phase). Auto-advance when done.
81
+
82
+ ### 7. Implement (auto-advance)
83
+
84
+ Execute the plan — make failing tests pass. Use wave-based sub-agents for parallel work where possible.
85
+
86
+ ### 8. Commit (auto-commit)
87
+
88
+ Auto-commit with conventional commit format. Do NOT ask for commit message approval.
89
+ Format: `type(scope): description`
90
+
91
+ ### 9. Gates (auto-advance on clean pass)
92
+
93
+ Run all quality gates. Use `/sk:gates` if available, otherwise run sequentially:
94
+ 1. Lint + dep audit
95
+ 2. Test (100% coverage)
96
+ 3. Security (0 issues)
97
+ 4. Performance (if not auto-skipped)
98
+ 5. Review + simplify
99
+ 6. E2E
100
+
101
+ Each gate auto-fixes and re-runs internally. Auto-advance to next gate on clean pass.
102
+
103
+ ### 10. PR Push (STOP — requires user confirmation)
104
+
105
+ **This is the second mandatory stop.** Present:
106
+ > "All gates passed. Ready to create PR.
107
+ > Title: [conventional format]
108
+ > Changes: [file count] files, [line count] lines
109
+ > Confirm push + PR? (y/n)"
110
+
111
+ Wait for explicit confirmation — pushing is visible to others.
112
+
113
+ ### 11. Finalize (auto-advance)
114
+
115
+ - Create PR
116
+ - Sync features (`/sk:features`)
117
+ - Ask about release (step 21 is never auto-skipped)
118
+
119
+ ## 3-Strike Protocol
120
+
121
+ If any step fails 3 times:
122
+ - **STOP immediately**
123
+ - Report: what failed, what was tried, error details
124
+ - Ask user for guidance before continuing
125
+ - This overrides auto-advance — 3 strikes always stops
126
+
127
+ ## Stops Summary
128
+
129
+ | Stop | When | Why |
130
+ |------|------|-----|
131
+ | Direction approval | After brainstorm (step 2) | User must approve the approach |
132
+ | 3-strike failure | Any step fails 3x | Needs human judgment |
133
+ | PR push | Before creating PR (step 10) | Visible to others — always confirm |
134
+
135
+ Everything else auto-advances.
136
+
137
+ ## Model Routing
138
+
139
+ Read `.shipkit/config.json` from the project root if it exists.
140
+
141
+ - If `model_overrides["sk:autopilot"]` is set, use that model — it takes precedence.
142
+ - Otherwise use the `profile` field. Default: `balanced`.
143
+
144
+ | Profile | Model |
145
+ |---------|-------|
146
+ | `full-sail` | opus (inherit) |
147
+ | `quality` | opus (inherit) |
148
+ | `balanced` | sonnet |
149
+ | `budget` | sonnet |
150
+
151
+ > `opus` = inherit. When spawning sub-agents via the Agent tool, pass `model: "<resolved-model>"`.
@@ -27,6 +27,7 @@ After bootstrapping a project, the recommended workflow becomes:
27
27
  - `tasks/progress.md` — chronological work log + test results
28
28
  - `tasks/lessons.md` — durable “don’t repeat mistakes” log (**never overwrite**)
29
29
  - `tasks/security-findings.md` — security audit results from `/sk:security-check` (**never overwrite**)
30
+ - `tasks/cross-platform.md` — changes that need replication in companion codebase (web <-> mobile) (**never overwrite**)
30
31
 
31
32
  ### Project Commands (in `.claude/commands/`)
32
33
  - `brainstorm.md` — invokes the global `brainstorming` skill
@@ -88,6 +89,7 @@ Never overwrite `tasks/lessons.md` — always append.
88
89
  - `tasks/progress.md`
89
90
  - `tasks/lessons.md`
90
91
  - `tasks/security-findings.md`
92
+ - `tasks/cross-platform.md`
91
93
  - `CHANGELOG.md`
92
94
  - custom `CLAUDE.md` (anything not marked `<!-- Generated by /sk:setup-claude -->`)
93
95
 
@@ -443,6 +443,7 @@ def apply(
443
443
  add("templates/tasks/lessons.md.template", "tasks/lessons.md", "missing")
444
444
  add("templates/tasks/security-findings.md.template", "tasks/security-findings.md", "missing")
445
445
  add("templates/tasks/workflow-status.md.template", "tasks/workflow-status.md", "missing")
446
+ add("templates/tasks/cross-platform.md.template", "tasks/cross-platform.md", "missing")
446
447
 
447
448
  # commands (update if generated)
448
449
  add("templates/commands/brainstorm.md.template", ".claude/commands/brainstorm.md", "generated")
@@ -0,0 +1,63 @@
1
+ ---
2
+ name: backend-dev
3
+ model: sonnet
4
+ description: Backend development agent — writes backend tests and implements API/services/models against the API contract.
5
+ allowed_tools: Bash, Read, Edit, Write, Glob, Grep
6
+ ---
7
+
8
+ # Backend Development Agent
9
+
10
+ You are the Backend Agent in a team workflow. Your job is to write backend tests and implement backend code based on the plan and API contract.
11
+
12
+ ## Context
13
+
14
+ You are working in an **isolated worktree** — a separate copy of the repository. Another agent (Frontend Agent) is working in parallel on frontend code. A QA Agent is writing E2E scenarios in the background.
15
+
16
+ The **API contract** in `tasks/todo.md` is your shared interface with the Frontend Agent. Implement endpoints that match the contract exactly.
17
+
18
+ ## Behavior
19
+
20
+ ### 1. Read the Plan
21
+
22
+ - Read `tasks/todo.md` — find the API contract section and all backend tasks
23
+ - Read `tasks/lessons.md` — apply all active lessons
24
+ - Identify: models, migrations, controllers, services, validation, routes
25
+
26
+ ### 2. Write Backend Tests (TDD Red Phase)
27
+
28
+ Write failing tests for all backend behavior:
29
+ - **Controller tests**: HTTP method, route, request validation, response shape
30
+ - **Model tests**: Relationships, scopes, accessors, mutators
31
+ - **Service tests**: Business logic, edge cases, error handling
32
+ - **Validation tests**: All form request / input validation rules
33
+ - Follow existing test conventions (read 1-2 existing test files first)
34
+
35
+ ### 3. Implement Backend Code (TDD Green Phase)
36
+
37
+ Implement in dependency order:
38
+ 1. Migrations (if needed)
39
+ 2. Models + relationships
40
+ 3. Services / business logic
41
+ 4. Controllers + form requests
42
+ 5. Routes
43
+
44
+ Make each test pass before moving to the next.
45
+
46
+ ### 4. Verify
47
+
48
+ Run the backend test suite:
49
+ - All new tests must pass
50
+ - Existing tests must not break
51
+ - Report: test count, pass/fail, coverage %
52
+
53
+ ### 5. Auto-Commit
54
+
55
+ Commit with: `feat(backend): [description]`
56
+
57
+ ## Rules
58
+
59
+ - ONLY touch backend files (models, controllers, services, migrations, routes, backend tests)
60
+ - Do NOT touch frontend files (components, views, CSS, frontend tests)
61
+ - Do NOT modify the API contract in `tasks/todo.md`
62
+ - Follow the API contract exactly — request/response shapes must match
63
+ - 3-strike protocol: if something fails 3 times, stop and report
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: frontend-dev
3
+ model: sonnet
4
+ description: Frontend development agent — writes frontend tests and implements UI/components/pages using mocked API contract.
5
+ allowed_tools: Bash, Read, Edit, Write, Glob, Grep
6
+ ---
7
+
8
+ # Frontend Development Agent
9
+
10
+ You are the Frontend Agent in a team workflow. Your job is to write frontend tests and implement UI code based on the plan and API contract.
11
+
12
+ ## Context
13
+
14
+ You are working in an **isolated worktree** — a separate copy of the repository. Another agent (Backend Agent) is implementing the real API in parallel. A QA Agent is writing E2E scenarios in the background.
15
+
16
+ The **API contract** in `tasks/todo.md` defines the endpoints you will consume. Mock these endpoints in your tests — the real backend will replace mocks after merge.
17
+
18
+ ## Behavior
19
+
20
+ ### 1. Read the Plan
21
+
22
+ - Read `tasks/todo.md` — find the API contract section and all frontend tasks
23
+ - Read `tasks/lessons.md` — apply all active lessons
24
+ - Identify: components, pages, composables/hooks, forms, state management
25
+
26
+ ### 2. Write Frontend Tests (TDD Red Phase)
27
+
28
+ Write failing tests for all frontend behavior:
29
+ - **Component tests**: Rendering with props, conditional display, slots/children
30
+ - **Interaction tests**: Click, type, submit, navigate
31
+ - **Form tests**: Validation, submission, error display
32
+ - **Hook/composable tests**: State changes, side effects
33
+ - Mock API endpoints using the contract shapes
34
+ - Use `@testing-library` conventions: prefer `getByRole`, `getByText`, `getByLabelText`
35
+ - Follow existing test conventions (read 1-2 existing test files first)
36
+
37
+ ### 3. Implement Frontend Code (TDD Green Phase)
38
+
39
+ Implement in dependency order:
40
+ 1. API client / service layer (typed from contract)
41
+ 2. Composables / hooks
42
+ 3. Components (smallest first)
43
+ 4. Pages (compose components)
44
+ 5. Routes / navigation
45
+
46
+ Make each test pass before moving to the next.
47
+
48
+ ### 4. Verify
49
+
50
+ Run the frontend test suite:
51
+ - All new tests must pass
52
+ - Existing tests must not break
53
+ - Report: test count, pass/fail, coverage %
54
+
55
+ ### 5. Auto-Commit
56
+
57
+ Commit with: `feat(frontend): [description]`
58
+
59
+ ## Rules
60
+
61
+ - ONLY touch frontend files (components, pages, composables, CSS, frontend tests, API client)
62
+ - Do NOT touch backend files (models, controllers, services, migrations, routes)
63
+ - Do NOT modify the API contract in `tasks/todo.md`
64
+ - Mock API responses based on the contract shapes — do NOT call the real backend
65
+ - 3-strike protocol: if something fails 3 times, stop and report
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: qa-engineer
3
+ model: sonnet
4
+ description: QA engineer agent — writes E2E test scenarios based on the plan while other agents implement.
5
+ allowed_tools: Bash, Read, Write, Glob, Grep
6
+ ---
7
+
8
+ # QA Engineer Agent
9
+
10
+ You are the QA Agent in a team workflow. Your job is to write E2E test scenarios while the Backend and Frontend agents implement code in parallel.
11
+
12
+ ## Context
13
+
14
+ You run in the **background** while other agents work. Your E2E scenarios will be executed AFTER the backend and frontend code is merged. Write scenarios that validate the integrated result from a user's perspective.
15
+
16
+ ## Behavior
17
+
18
+ ### 1. Read the Plan
19
+
20
+ - Read `tasks/todo.md` — extract user-facing flows and acceptance criteria
21
+ - Read `tasks/lessons.md` — apply all active lessons
22
+ - Identify: user journeys, happy paths, error scenarios, edge cases
23
+
24
+ ### 2. Detect E2E Framework
25
+
26
+ Check the project for:
27
+ - `playwright.config.ts` → use Playwright
28
+ - `cypress.config.ts` → use Cypress
29
+ - Neither → write framework-agnostic scenario descriptions in markdown
30
+
31
+ ### 3. Write E2E Scenarios
32
+
33
+ For each user flow identified in the plan:
34
+
35
+ **If Playwright detected:**
36
+ - Create `e2e/<feature>.spec.ts` files
37
+ - Use `test.describe` / `test` blocks
38
+ - Use role-based locators: `getByRole`, `getByLabel`, `getByText`
39
+ - Use `test.beforeEach` for shared setup (auth, navigation)
40
+ - Guard credential-dependent tests with `test.skip`
41
+
42
+ **If no framework detected:**
43
+ - Create `tasks/e2e-scenarios.md` with structured scenarios:
44
+ ```
45
+ ## Scenario: [name]
46
+ **Given** [precondition]
47
+ **When** [action]
48
+ **Then** [expected result]
49
+ ```
50
+
51
+ ### 4. Coverage Summary
52
+
53
+ Report:
54
+ - Total scenarios written
55
+ - Happy path coverage: [list of flows covered]
56
+ - Edge cases covered: [list]
57
+ - NOT covered (out of scope): [list]
58
+
59
+ ## Rules
60
+
61
+ - Do NOT run E2E tests — they will fail because code isn't implemented yet
62
+ - Do NOT touch backend or frontend source files
63
+ - ONLY create E2E test files or scenario documents
64
+ - Write scenarios based on the PLAN, not on existing code
65
+ - Focus on user-visible behavior, not implementation details
66
+ - 3-strike protocol: if something fails 3 times, stop and report
@@ -99,9 +99,17 @@ Progress is tracked in `tasks/workflow-status.md`. This file persists across con
99
99
 
100
100
  3. **Optional steps** (4, 5, 8, 15, 21): Ask the user "Skip [step]?" and require explicit confirmation. Record the reason in Notes.
101
101
 
102
- 4. **Gates own their commits.** Each hard gate (steps 12–17) is responsible for committing any fixes it produces before passing control to the next step. There are no separate conditional commit steps.
102
+ 4. **Auto-skip detection.** Optional steps (4, 5, 8, 15) are auto-skipped when detection criteria are met no confirmation prompt needed, just a log line. Detection runs after the plan is written (step 6) by scanning `tasks/todo.md`:
103
+ - **Step 4 (Design)**: Auto-skipped if plan contains NO frontend keywords (component, view, page, CSS, template, blade, vue, react, svelte, UI, form, modal, button)
104
+ - **Step 5 (Accessibility)**: Auto-skipped if plan contains NO frontend keywords (same list as step 4)
105
+ - **Step 8 (Migrate)**: Auto-skipped if plan contains NO database keywords (migration, schema, table, column, model, database, foreign key, index, seed)
106
+ - **Step 15 (Performance)**: Auto-skipped if plan contains NO frontend keywords AND NO database keywords
107
+ - **Step 21 (Release)**: NEVER auto-skipped — always ask
108
+ - Output when auto-skipped: `Auto-skipped: [Step Name] ([reason])` — e.g., `Auto-skipped: Design (no frontend keywords detected in plan)`
103
109
 
104
- 5. **Loop steps are HARD GATES** (12, 13, 14, 16, 17): These steps BLOCK all forward progress until they pass clean. Fix issues immediately and re-run. Do NOT ask the user to re-run — fix and re-run automatically. Track attempt number in Notes (e.g., "clean on attempt 3").
110
+ 5. **Gates own their commits.** Each hard gate (steps 12–17) is responsible for committing any fixes it produces before passing control to the next step. There are no separate conditional commit steps.
111
+
112
+ 6. **Loop steps are HARD GATES** (12, 13, 14, 16, 17): These steps BLOCK all forward progress until they pass clean. Fix issues immediately and re-run. Do NOT ask the user to re-run — fix and re-run automatically. Track attempt number in Notes (e.g., "clean on attempt 3").
105
113
  - **Step 12 (Lint)**: All detected linting tools must pass — every single one.
106
114
  - **Step 13 (Verify Tests)**: All detected test suites (BE + FE) must pass with 100% coverage on new code.
107
115
  - **Step 14 (Security)**: 0 issues across all severities.
@@ -110,15 +118,15 @@ Progress is tracked in `tasks/workflow-status.md`. This file persists across con
110
118
  - **Step 15 (Performance)**: Optional gate — if run, loop until critical/high findings = 0. Can be skipped with explicit confirmation.
111
119
  - **DO NOT mark these steps as `done` until every check passes.** If even one tool fails, the step is NOT done. Never proceed to the next step with errors remaining.
112
120
 
113
- 6. **Never skip steps without confirmation.** Steps cannot run out of order. Hard gate steps (12, 13, 14, 16, 17) can NEVER be skipped. Optional gate step (15) requires explicit confirmation to skip.
121
+ 7. **Never skip steps without confirmation.** Steps cannot run out of order. Hard gate steps (12, 13, 14, 16, 17) can NEVER be skipped. Optional gate step (15) requires explicit confirmation to skip.
114
122
 
115
- 7. **Requirements change mid-workflow?** Stop the current step and run `/sk:change` immediately. It will classify the scope (behavior tweak / new requirements / scope shift) and tell you exactly where to re-enter the workflow. Never continue implementing stale requirements.
123
+ 8. **Requirements change mid-workflow?** Stop the current step and run `/sk:change` immediately. It will classify the scope (behavior tweak / new requirements / scope shift) and tell you exactly where to re-enter the workflow. Never continue implementing stale requirements.
116
124
 
117
- 7. **Never auto-advance.** When one step completes, stop and tell the user which step is next. Do not proceed automatically.
125
+ 8. **Never auto-advance.** When one step completes, stop and tell the user which step is next. Do not proceed automatically.
118
126
 
119
- 8. **Never write code during design or plan phases.** Steps 1-6 are reading/exploring/planning/design only — no code, no file edits (except `tasks/` files).
127
+ 9. **Never write code during design or plan phases.** Steps 1-6 are reading/exploring/planning/design only — no code, no file edits (except `tasks/` files).
120
128
 
121
- 9. **Step completion summary is NON-NEGOTIABLE.** After finishing ANY step, you MUST output a summary block in this exact format before stopping:
129
+ 10. **Step completion summary is NON-NEGOTIABLE.** After finishing ANY step, you MUST output a summary block in this exact format before stopping:
122
130
 
123
131
  ```
124
132
  --- Step [#] [Name]: [done/skipped/partial] ---
@@ -272,6 +280,21 @@ Use `run_in_background: true` for tasks that don't block your next step:
272
280
  ```
273
281
  <!-- END:sub-agent-patterns -->
274
282
 
283
+ ## Cross-Platform Tracking
284
+
285
+ This project may have a companion codebase (web <-> mobile). During implementation, **log every change that affects the other platform** to `tasks/cross-platform.md`.
286
+
287
+ **When to log:**
288
+ - API contract changes (new/modified endpoints, payload shapes, auth)
289
+ - Data model changes (new fields, type changes, validation rules)
290
+ - Business logic that must behave identically on both platforms
291
+ - UI/UX flows that should have parity
292
+ - Platform-specific deviations (intentional differences)
293
+
294
+ **How to log:** Append a new section using the template in `tasks/cross-platform.md`. Include enough context that a developer in the other codebase can implement without guessing.
295
+
296
+ **When to review:** At the start of every task, check `tasks/cross-platform.md` for pending items targeting this codebase.
297
+
275
298
  ## Project Memory
276
299
 
277
300
  Read these files at the start of every task:
@@ -279,12 +302,14 @@ Read these files at the start of every task:
279
302
  - `tasks/lessons.md` — past mistakes and how to avoid them
280
303
  - `tasks/todo.md` — current plan
281
304
  - `tasks/tech-debt.md` — known shortcuts, deferred work, and areas to revisit
305
+ - `tasks/cross-platform.md` — pending changes from the other codebase
282
306
 
283
307
  Write to these files continuously:
284
308
  - `tasks/progress.md` — every attempt, error, and resolution
285
309
  - `tasks/findings.md` — anything important discovered mid-task
310
+ - `tasks/cross-platform.md` — any change that impacts the other platform
286
311
 
287
- **Never overwrite** `tasks/lessons.md` or `tasks/security-findings.md`.
312
+ **Never overwrite** `tasks/lessons.md`, `tasks/security-findings.md`, or `tasks/cross-platform.md`.
288
313
 
289
314
  ## Lessons Capture
290
315
 
@@ -329,28 +354,38 @@ Create entries in: `[ARCH_CHANGELOG_DIR]`
329
354
 
330
355
  | Command | Purpose |
331
356
  |---------|---------|
332
- | `/sk:brainstorm` | Explore requirements and design |
333
- | `/sk:frontend-design` | UI mockup before implementation. Prompts to create Pencil visual mockup |
334
- | `/sk:api-design` | Design API contracts (endpoints, payloads, auth, errors) before implementation |
335
357
  | `/sk:accessibility` | WCAG 2.1 AA audit — runs after design, before implementation |
336
- | `/sk:write-plan` | Write decision-complete plan into `tasks/todo.md` |
358
+ | `/sk:api-design` | Design API contracts (endpoints, payloads, auth, errors) before implementation |
359
+ | `/sk:autopilot` | Hands-free workflow — all 21 steps, auto-skip, auto-advance, auto-commit |
360
+ | `/sk:brainstorm` | Explore requirements and design |
337
361
  | `/sk:branch` | Create feature branch auto-named from current task |
338
- | `/sk:write-tests` | TDD: Write failing tests before implementation |
339
- | `/sk:execute-plan` | Execute `tasks/todo.md` checkboxes in batches |
340
- | `/sk:smart-commit` | Conventional commit with approval |
341
- | `/sk:lint` | Auto-detect and run all project linters + dependency audits |
342
- | `/sk:test` | Auto-detect and run all project test suites |
362
+ | `/sk:change` | Handle mid-workflow requirement changes re-enter at correct step |
363
+ | `/sk:context` | Load all context files + output session brief for fast session start |
364
+ | `/sk:dashboard` | Read-only workflow Kanban board — localhost server, multi-worktree |
343
365
  | `/sk:debug` | Investigate and debug issues (bug fix entry point) |
344
- | `/sk:security-check` | OWASP security audit on changed files |
345
- | `/sk:perf` | Performance audit — bundle, N+1, Core Web Vitals, memory |
346
- | `/sk:review` | Self-review with simplify pre-pass + multi-dimensional review |
347
366
  | `/sk:e2e` | E2E behavioral verification using agent-browser (final quality gate) |
348
- | `/sk:hotfix` | Emergency fix workflow — skip design/TDD, quality gates enforced |
349
- | `/sk:change` | Handle mid-workflow requirement changes — re-enter at correct step |
350
- | `/sk:update-task` | Mark task done and log completion |
351
- | `/sk:finish-feature` | Changelog + PR creation |
367
+ | `/sk:execute-plan` | Execute `tasks/todo.md` checkboxes in batches |
368
+ | `/sk:fast-track` | Abbreviated workflow for small changes — skip planning, keep all gates |
352
369
  | `/sk:features` | Sync feature specs with shipped implementation |
370
+ | `/sk:finish-feature` | Changelog + PR creation |
371
+ | `/sk:frontend-design` | UI mockup before implementation. Prompts to create Pencil visual mockup |
372
+ | `/sk:gates` | Run all quality gates in optimized parallel batches |
373
+ | `/sk:hotfix` | Emergency fix workflow — skip design/TDD, quality gates enforced |
374
+ | `/sk:lint` | Auto-detect and run all project linters + dependency audits |
375
+ | `/sk:perf` | Performance audit — bundle, N+1, Core Web Vitals, memory |
353
376
  | `/sk:release` | Version bump + changelog + tag |
354
- | `/sk:status` | Show workflow + task status |
355
- | `/sk:context` | Load all context files + output session brief for fast session start |
377
+ | `/sk:retro` | Post-ship retrospective: velocity, blockers, action items |
378
+ | `/sk:reverse-doc` | Generate architecture/design docs from existing code |
379
+ | `/sk:review` | Self-review with simplify pre-pass + multi-dimensional review |
380
+ | `/sk:scope-check` | Compare implementation against plan, detect scope creep |
381
+ | `/sk:security-check` | OWASP security audit on changed files |
382
+ | `/sk:seo-audit` | SEO audit — dual-mode (source templates + dev server), ask-before-fix |
356
383
  | `/sk:setup-optimizer` | Diagnose + update workflow + enrich CLAUDE.md |
384
+ | `/sk:smart-commit` | Conventional commit with approval |
385
+ | `/sk:start` | Smart entry point — classifies task, routes to optimal flow/mode/agents |
386
+ | `/sk:status` | Show workflow + task status |
387
+ | `/sk:team` | Parallel domain agents (backend + frontend + QA) for full-stack tasks |
388
+ | `/sk:test` | Auto-detect and run all project test suites |
389
+ | `/sk:update-task` | Mark task done and log completion |
390
+ | `/sk:write-plan` | Write decision-complete plan into `tasks/todo.md` |
391
+ | `/sk:write-tests` | TDD: Write failing tests before implementation |
@@ -0,0 +1,31 @@
1
+ # Cross-Platform Changes
2
+
3
+ Track changes that need to be replicated in the other codebase (web <-> mobile).
4
+
5
+ <!--
6
+ Format: One section per feature/task.
7
+ Each entry should have enough context for a developer (or Claude session)
8
+ in the other codebase to implement without guessing.
9
+ -->
10
+
11
+ <!-- TEMPLATE — copy this block for each new feature:
12
+
13
+ ## [Feature Name] (YYYY-MM-DD)
14
+ Source: [web|mobile] — the codebase where this was implemented first
15
+
16
+ ### API Changes
17
+ - [ ] Description of endpoint/payload/auth changes
18
+
19
+ ### Data Model Changes
20
+ - [ ] New fields, renamed fields, type changes, validation rules
21
+
22
+ ### Behavior Changes
23
+ - [ ] Business logic that must match across platforms
24
+
25
+ ### UI/UX Parity
26
+ - [ ] Screens, flows, or interactions that should match
27
+
28
+ ### Platform-Specific Notes
29
+ - [ ] Anything that differs intentionally between web and mobile
30
+
31
+ -->
@@ -39,11 +39,13 @@ The single command to keep your CLAUDE.md current. Diagnoses problems, updates t
39
39
 
40
40
  Before making any changes, runs a diagnostic pass on the existing CLAUDE.md:
41
41
 
42
- - **Missing sections** — checks for essential sections (Workflow, Sub-Agent Patterns, Project Memory, Lessons Capture, Testing, Commands, etc.)
42
+ - **Missing sections** — checks for essential sections (Workflow, Sub-Agent Patterns, Cross-Platform Tracking, Project Memory, Lessons Capture, Testing, Commands, etc.)
43
43
  - **Stale content** — detects outdated info (stale model/route counts, removed dependencies, old command names like `/laravel-lint` instead of `/sk:lint`)
44
44
  - **Inconsistencies** — compares documented vs actual project state (directories, scripts, workflows)
45
45
  - **Section completeness** — flags sections that exist but are empty or have only placeholder text
46
46
  - **Outdated workflow** — checks if the workflow matches the current 21-step TDD flow with hard gates
47
+ - **Missing commands** — checks for `sk:start`, `sk:autopilot`, `sk:team` in the Commands table
48
+ - **Auto-skip rules** — checks for auto-skip detection rules in the workflow section
47
49
 
48
50
  Reports findings before proceeding. If issues are found, they inform subsequent steps.
49
51
 
@@ -57,18 +59,20 @@ Read → Explore → Design → Accessibility → Plan → Branch → Migrate
57
59
  ```
58
60
 
59
61
  **What gets updated:**
60
- - Workflow table (21 steps with correct commands: `/sk:write-tests`, `/sk:lint`, `/sk:test`, `/sk:accessibility`, `/sk:perf`, `/sk:e2e`)
62
+ - Workflow table (21 steps with correct commands: `/sk:write-tests`, `/sk:lint`, `/sk:test`, `/sk:accessibility`, `/sk:perf`, `/sk:e2e`, `/sk:start`, `/sk:autopilot`, `/sk:team`)
61
63
  - Step details (TDD red/green/verify descriptions)
62
64
  - Tracker rules (hard gates at 12, 14, 16, 20, 17; optional steps 4, 5, 8, 18, 21)
63
65
  - Step completion summary rule (NON-NEGOTIABLE)
64
66
  - Bug fix flow section
65
67
  - Sub-Agent Patterns section (if missing)
68
+ - Cross-Platform Tracking section (if missing)
66
69
  - Project Memory section (if missing)
67
70
  - Lessons Capture section (if missing)
68
71
  - Testing TDD section (if missing)
69
72
  - 3-Strike Protocol (if missing)
70
73
  - Fix & Retest Protocol section (if missing)
71
74
  - Requirement Change Flow section (if missing)
75
+ - Auto-skip detection rules (if missing)
72
76
 
73
77
  **What gets preserved:**
74
78
  - Everything marked with `<!-- LOCK -->` is never touched