@slamb2k/mad-skills 2.0.34 → 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.
package/package.json
CHANGED
package/skills/manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generated": "2026-03-13T08:
|
|
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":
|
|
79
|
+
"lines": 422,
|
|
80
80
|
"hasScripts": false,
|
|
81
81
|
"hasReferences": true,
|
|
82
82
|
"hasAssets": false,
|
package/skills/ship/SKILL.md
CHANGED
|
@@ -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
|
|
350
|
+
description: "Merge PR",
|
|
349
351
|
prompt: <read from references/stage-prompts.md#stage-5>
|
|
350
352
|
)
|
|
351
353
|
```
|
|
@@ -355,6 +357,14 @@ 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
|
+
|
|
358
368
|
---
|
|
359
369
|
|
|
360
370
|
## What's Next?
|
|
@@ -367,7 +367,8 @@ FIX_REPORT:
|
|
|
367
367
|
**Agent:** Bash (haiku)
|
|
368
368
|
|
|
369
369
|
```
|
|
370
|
-
Merge the pull request
|
|
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. **
|
|
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
|
```
|