@slamb2k/mad-skills 2.0.33 → 2.0.35

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mad-skills",
3
3
  "description": "AI-assisted planning, development and governance tools",
4
- "version": "2.0.33",
4
+ "version": "2.0.35",
5
5
  "author": {
6
6
  "name": "slamb2k",
7
7
  "url": "https://github.com/slamb2k"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slamb2k/mad-skills",
3
- "version": "2.0.33",
3
+ "version": "2.0.35",
4
4
  "description": "Claude Code skills collection — full lifecycle development tools",
5
5
  "type": "module",
6
6
  "repository": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "generated": "2026-03-13T08:31:55.875Z",
2
+ "generated": "2026-03-13T08:59:11.298Z",
3
3
  "count": 10,
4
4
  "skills": [
5
5
  {
@@ -76,7 +76,7 @@
76
76
  "name": "ship",
77
77
  "directory": "ship",
78
78
  "description": "\"Ship changes through the full PR lifecycle. Use after completing feature work to commit, push, create PR, wait for checks, and merge. Handles the entire workflow: syncs with main, creates feature branch if needed, groups commits logically with semantic messages, creates detailed PR, monitors CI, fixes issues, squash merges, and cleans up. Invoke when work is ready to ship.\"",
79
- "lines": 388,
79
+ "lines": 422,
80
80
  "hasScripts": false,
81
81
  "hasReferences": true,
82
82
  "hasAssets": false,
@@ -339,13 +339,15 @@ confirmation.** The user invoked `/ship` expecting the full lifecycle; stopping
339
339
  to ask defeats the purpose. Squash merge and delete the source branch are the
340
340
  defaults (override via `--no-squash` and `--keep-branch` flags only).
341
341
 
342
+ ### 5a. Merge the PR
343
+
342
344
  Launch **Bash subagent** (haiku — simple git + platform CLI commands):
343
345
 
344
346
  ```
345
347
  Task(
346
348
  subagent_type: "Bash",
347
349
  model: "haiku",
348
- description: "Merge PR and sync",
350
+ description: "Merge PR",
349
351
  prompt: <read from references/stage-prompts.md#stage-5>
350
352
  )
351
353
  ```
@@ -355,6 +357,32 @@ Substitute `{PR_NUMBER}`, `{REMOTE}`, `{DEFAULT_BRANCH}`, `{PLATFORM}`,
355
357
 
356
358
  Parse LAND_REPORT.
357
359
 
360
+ ### 5b. Sync local repo
361
+
362
+ After the merge subagent succeeds, invoke `/sync` from the orchestrator to
363
+ checkout the default branch, pull the merge commit, and **clean up stale
364
+ branches** (prune gone remotes, delete merged branches). This replaces any
365
+ manual `git checkout`/`git pull` — `/sync` handles everything including stash
366
+ restore and branch cleanup.
367
+
368
+ ---
369
+
370
+ ## What's Next?
371
+
372
+ After a successful merge, determine what work comes next by checking these
373
+ sources (in priority order):
374
+
375
+ 1. **Active tasks** — check `TaskList` for any in-progress or pending tasks
376
+ in the current session
377
+ 2. **Session context** — review the conversation so far for any stated plans,
378
+ follow-up items, or deferred work the user mentioned
379
+ 3. **Memory** — if the `claude-mem` plugin is available, search for recent
380
+ checkpoints or plans related to this project
381
+
382
+ Summarize the result as 1–3 short bullet points for the `⚡ Next` section of
383
+ the report. If nothing is found, omit the section entirely — do not fabricate
384
+ next steps.
385
+
358
386
  ---
359
387
 
360
388
  ## Final Report to User
@@ -376,9 +404,15 @@ Compile all stage reports into a summary:
376
404
 
377
405
  │ 📊 {count} files changed ({diff_summary})
378
406
 
407
+ │ ⚡ Next
408
+ │ • {next item 1}
409
+ │ • {next item 2}
410
+
379
411
  └─────────────────────────────────────────────────
380
412
  ```
381
413
 
414
+ If nothing was found for "What's Next?", omit the `⚡ Next` section.
415
+
382
416
  If any stage failed, add:
383
417
  ```
384
418
  │ ❌ Failed at: {stage name}
@@ -367,7 +367,8 @@ FIX_REPORT:
367
367
  **Agent:** Bash (haiku)
368
368
 
369
369
  ```
370
- Merge the pull request and sync local {DEFAULT_BRANCH}.
370
+ Merge the pull request. Do NOT sync locally — the orchestrator handles that
371
+ via /sync after this subagent returns.
371
372
  Do NOT ask the user for confirmation — proceed immediately.
372
373
 
373
374
  Limit LAND_REPORT to 10 lines maximum.
@@ -458,12 +459,7 @@ BRANCH_FLAGS: {--delete-branch (default) | omit if --keep-branch}
458
459
  "$PR_API?api-version=7.0" \
459
460
  -d "{\"status\": \"completed\", \"completionOptions\": {\"mergeStrategy\": \"$MERGE_STRATEGY\", \"deleteSourceBranch\": $DELETE_BRANCH}}"
460
461
 
461
- 2. **Sync local repository**
462
- Invoke `/sync` to checkout {DEFAULT_BRANCH}, pull latest changes, restore
463
- any stashed work, and clean up merged branches. This replaces manual git
464
- checkout/pull/fetch/prune — /sync handles all of it including stash restore.
465
-
466
- 3. **Report**
462
+ 2. **Report**
467
463
  MERGE_COMMIT=$(git rev-parse --short HEAD)
468
464
 
469
465
  ## Output Format
@@ -473,6 +469,5 @@ LAND_REPORT:
473
469
  - merge_commit: {hash}
474
470
  - merge_type: squash|merge
475
471
  - branch_deleted: true|false
476
- - branches_cleaned: {list or "none"}
477
472
  - errors: {any errors}
478
473
  ```