@sassywares/skills 0.15.0 → 0.16.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.
Files changed (72) hide show
  1. package/README.md +39 -29
  2. package/package.json +1 -1
  3. package/skills/sassy-babysit/SKILL.md +3 -0
  4. package/skills/sassy-commit/SKILL.md +4 -1
  5. package/skills/sassy-commit-push-pr/SKILL.md +4 -1
  6. package/skills/sassy-compound/SKILL.md +3 -0
  7. package/skills/sassy-compound/references/concepts.md +6 -0
  8. package/skills/sassy-compound/references/templates.md +6 -0
  9. package/skills/sassy-cycle/SKILL.md +4 -1
  10. package/skills/sassy-debug/SKILL.md +3 -0
  11. package/skills/sassy-docs/SKILL.md +3 -0
  12. package/skills/sassy-docs/references/handbook-format.md +6 -0
  13. package/skills/sassy-docs/references/handbook.md +6 -0
  14. package/skills/sassy-docs/references/review.md +6 -0
  15. package/skills/sassy-dogfood/SKILL.md +3 -0
  16. package/skills/sassy-dogfood/references/check.md +6 -0
  17. package/skills/sassy-dogfood/references/discover.md +6 -0
  18. package/skills/sassy-dogfood/references/run.md +6 -0
  19. package/skills/sassy-goal/SKILL.md +18 -12
  20. package/skills/sassy-goal/references/check.md +7 -1
  21. package/skills/sassy-goal/references/close.md +6 -0
  22. package/skills/sassy-goal/references/goal-format.md +17 -4
  23. package/skills/sassy-goal/references/next.md +15 -9
  24. package/skills/sassy-goal/references/revise.md +25 -0
  25. package/skills/sassy-goal/references/write.md +6 -0
  26. package/skills/sassy-handoff/SKILL.md +3 -0
  27. package/skills/sassy-handoff/references/read.md +6 -0
  28. package/skills/sassy-handoff/references/write.md +6 -0
  29. package/skills/sassy-overview/SKILL.md +3 -0
  30. package/skills/sassy-overview/references/identify.md +6 -0
  31. package/skills/sassy-plan/SKILL.md +29 -22
  32. package/skills/sassy-plan/references/interview.md +6 -0
  33. package/skills/sassy-plan/references/plan-format.md +40 -11
  34. package/skills/sassy-plan/references/revision-format.md +86 -0
  35. package/skills/sassy-plan/references/sketches.md +6 -0
  36. package/skills/sassy-review/SKILL.md +3 -0
  37. package/skills/sassy-scout/SKILL.md +3 -0
  38. package/skills/sassy-setup/SKILL.md +4 -1
  39. package/skills/sassy-setup/assets/agents-md.md +3 -3
  40. package/skills/sassy-setup/assets/roster +0 -1
  41. package/skills/sassy-setup/references/anchors.md +7 -1
  42. package/skills/sassy-setup/references/branching.md +19 -10
  43. package/skills/sassy-setup/references/check.md +6 -0
  44. package/skills/sassy-setup/references/config.md +11 -6
  45. package/skills/sassy-setup/references/dogfood.md +6 -0
  46. package/skills/sassy-setup/references/harness.md +6 -0
  47. package/skills/sassy-setup/references/init.md +6 -0
  48. package/skills/sassy-setup/references/plan-resolution.md +53 -0
  49. package/skills/sassy-setup/references/scaffold-header.md +6 -0
  50. package/skills/sassy-setup/references/workspace.md +6 -0
  51. package/skills/sassy-setup/references/worktree.md +6 -0
  52. package/skills/sassy-setup/scripts/detect.sh +2 -2
  53. package/skills/sassy-ship/SKILL.md +8 -5
  54. package/skills/sassy-ship/references/brief.md +6 -0
  55. package/skills/sassy-ship/references/plan.md +7 -1
  56. package/skills/sassy-ship/references/slice.md +6 -0
  57. package/skills/sassy-simplify/SKILL.md +3 -0
  58. package/skills/sassy-skill/SKILL.md +3 -0
  59. package/skills/sassy-skill/references/create.md +6 -0
  60. package/skills/sassy-skill/references/retune.md +6 -0
  61. package/skills/sassy-skill/references/verify.md +6 -0
  62. package/skills/sassy-strategy/SKILL.md +3 -0
  63. package/skills/sassy-strategy/references/check.md +6 -0
  64. package/skills/sassy-strategy/references/strategy-format.md +6 -0
  65. package/skills/sassy-strategy/references/write.md +6 -0
  66. package/skills/sassy-validate/SKILL.md +4 -1
  67. package/skills/sassy-work/SKILL.md +66 -68
  68. package/skills/sassy-worktree/SKILL.md +3 -0
  69. package/skills/sassy-worktree/references/create.md +6 -0
  70. package/skills/sassy-worktree/references/list.md +6 -0
  71. package/skills/sassy-worktree/references/remove.md +6 -0
  72. package/skills/sassy-lfg/SKILL.md +0 -92
@@ -1,92 +0,0 @@
1
- ---
2
- name: sassy-lfg
3
- description: >-
4
- Execute a whole sassy plan phase by phase, or one settled in-context brief,
5
- then close out via sassy-ship after code approval. The orchestrator only
6
- coordinates. Best for small plans that one context can hold.
7
- argument-hint: "<plan path | brief> [branch:infer|current|new] [worktree:on|off] [review:logic|surface|none]"
8
- ---
9
-
10
- # Sassy LFG
11
-
12
- **Outcome:** every phase in the plan run through `sassy-cycle`, then one gate that carries the code approval and every phase's QA checklist (`Manual` rows from the user, `Auto` rows from a `sassy-dogfood` report), phases marked `Done` only when both pass, then `sassy-ship` closes it out (compound, docs, commit, PR, babysit; under `commit.branch: current`, commit and push with no PR). A brief runs one cycle through the same gate, then ships.
13
-
14
- **The orchestrator does not do work.** Read the plan, dispatch `sassy-cycle` per phase, then `sassy-ship`. Never edit application code. Keep the main context small — all heavy work happens in subagents.
15
-
16
- **Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. Precedence: explicit token > session instruction > config > skill default. Plans live under `artifacts.plans`; `git.repo` decides how the close-out persists; `commit.branch` decides whether the run needs its own branch, and a `worktree:on|off` token answers the checkout question the `sassy-setup` skill's `references/branching.md` asks at step 6. The token outranks config but never widens what `worktrees.enabled` allows.
17
-
18
- **Harness.** Loading another skill, dispatching an agent, and any command you hand the user follow the `sassy-setup` skill's `references/harness.md`. Read it once per run, before the first of those.
19
-
20
- ## Input
21
-
22
- Detect the shape from the argument:
23
-
24
- - **Plan input** — a path to an existing `.md` file under `artifacts.plans`. Read its frontmatter `status` first: `draft` → refuse and send the user back to `sassy-plan` to finish it; `done` → refuse, because the plan was closed out and running it again needs `sassy-plan` to reopen it; `active` → run; no `status` key at all → run, since it counts as `active` (a rule `sassy-plan`'s `references/plan-format.md` owns).
25
- - **Brief input** — anything else. Treat the whole argument as the settled brief from `sassy-plan`.
26
-
27
- If nothing is passed and no plan exists, run `sassy-plan` first and use what the user picks there.
28
-
29
- ## Review tier
30
-
31
- A phase's `**Review:**` line names its change tier — `logic`, `surface`, or `none` — per the `sassy-plan` skill's `references/plan-format.md`. Pass it to `sassy-cycle` for that phase. A `review:` token on this run overrides the plan line; without either, the cycle detects the tier from the work.
32
-
33
- ## QA gate
34
-
35
- Read the plan's frontmatter `qa` key and its per-phase QA tables: `qa: off` means no QA gate for that plan, and no `qa` key means every phase's QA table is part of the gate. QA is part of the completion gate: LFG builds every phase first, then presents one gate carrying code approval plus every phase's QA checklist. No phase turns `Done`, and nothing is committed or shipped, until both pass. When you mark a phase or write a QA row result, a plan edited in place gets `updated` set to today.
36
-
37
- Rows split by `Mode`:
38
-
39
- - **`Manual` rows are the user's.** The agent never ticks one it did not hear confirmed: it becomes `Done` only on the user's explicit confirmation, with their note recorded.
40
- - **`Auto` rows are proved, not opined.** Before the gate, run `sassy-dogfood` in `mode:run` for each row's section and take the verdict from its report; a row becomes `Done` only on a `pass`, with the run id in `Notes`.
41
- - A failed row is a finding. It goes through a rework cycle on its phase (step 5) and the gate is presented again; a row that fails again after its rework is `Blocked` with the reason and stops the run.
42
- - Rows nobody has reported on stay `Pending` and hold their phase `In progress`.
43
-
44
- A brief has no QA table, so its gate is code approval alone. Never invent, enable, or disable QA. Never edit the dogfood recipe to make a red run green — propose the diff and ask.
45
-
46
- ## Steps
47
-
48
- 1. **Load the plan.** Read the plan and its Phase tracking table. If phases are already `In progress` from an interrupted run, ask once whether to resume at the gate or rerun those cycles, then continue from the answer. A change the user brings instead of a resume follows the gate-change path: a new cycle with the change as its work brief.
49
- 2. **Resolve the branch, before touching code.** Follow the `sassy-setup` skill's `references/branching.md` with this run's `branch:` and `worktree:` tokens, if any. LFG runs every phase in one session, so the branch is cut once here and every phase commits onto it. Report the branch and its start point in the gate. A `stop-and-ask` here stops the run before any phase starts.
50
-
51
- When the decision took a checkout, every phase brief and every `sassy-dogfood` run uses the checkout's own address — `WT_PATH`, and `WT_NAMESPACE` — since proof run against the main checkout's instance proves the wrong app.
52
- 3. **Run every phase, in order.** For each phase not `Done`:
53
- - Set the phase `In progress`, then load the `sassy-cycle` skill and follow it, with work brief = the phase's goal/work/"Done when", intent reference = the plan path and phase, and review tier = this run's `review:` token when present, else the phase's `**Review:**` line.
54
- - On `Status: done`, leave the phase `In progress` — its QA rows are still owed, and only the gate closes them.
55
- - On `Status: blocked`, mark it `Blocked` and stop the run.
56
- 4. **The gate.** After the last phase, prove the `Auto` rows — run `sassy-dogfood` in `mode:run` for each row's section; a `failed` verdict is a finding for that phase's rework, and a `class: env` verdict stops the run with the toolchain named. Then report: the plan path, each phase's status, what changed per phase, findings raised and what each single fix pass did with them (self-reported; no verify), the simplifications applied or skipped, the validator/reviewer summaries, and the reviewers' suggestions as options the user may pick. Then give every phase's QA checklist verbatim — row ID, check, `Mode`, and for `Manual` how to run it and what passing looks like, for `Auto` the dogfood verdict and run id — with unreported rows `Pending`. Ask for both decisions: code approval (or the changes wanted, including any suggestions picked) and the result per `Manual` row. Wait. Do not commit.
57
- 5. **Resolve the gate.** Four outcomes:
58
- - **Code approved and every QA row passes** → mark the rows `Done` (`Manual` with the user's notes, `Auto` with the verdict and run id), mark the phases `Done`, then run the close-out below.
59
- - **Code approved, `Manual` rows still pending** → tick nothing, mark nothing `Done`, commit nothing, ship nothing. Report which rows are outstanding and how to resume (invoke `sassy-lfg <plan>` in the harness's syntax), and stop.
60
- - **Changes requested** → a new cycle per affected phase: load `sassy-cycle` with that phase's requested changes as the work brief and the plan path and phase, as amended by those changes, as the intent reference. The cycle detects the change's tier and runs that tier's agents. When every new cycle is `done`, re-prove the `Auto` rows and present the gate again; a `blocked` cycle marks its phase `Blocked` and stops the run. If a QA row also failed, name it in the work brief as an additional requirement. Change requests have no cap — each one is the user's call.
61
- - **A QA row fails, with no change requested** → a rework cycle per affected phase: load `sassy-cycle` with that phase's failing rows as findings and the plan path and phase as the intent reference. When every rework is `done`, present the gate again; a `blocked` rework marks its phase `Blocked` and stops the run. A row that fails again after its rework is `Blocked` with the reason and stops the run.
62
- 6. **Close-out.** On both gates passing, load the `sassy-ship` skill and follow it. Do only the close-out steps the user approves. Babysit options (`merge:on|off`, `delete-branch:on|off`) are forwarded through `sassy-ship` to `sassy-babysit`. The branch from step 2 already carries the work, so ship commits and opens the PR on it; ship never creates the branch. Under `commit.branch: current` ship commits and pushes the checked-out branch to its upstream and skips the PR, `hooks.pr.*`, babysit, and merge.
63
-
64
- ## Brief input
65
-
66
- When the argument is not a plan path, the brief is the one phase:
67
-
68
- 1. Resolve the branch exactly as the plan path does — the `sassy-setup` skill's `references/branching.md`, this run's `branch:` and `worktree:` tokens — before the cycle runs.
69
- 2. Run one `sassy-cycle` with the brief as the work brief, its decisions / done-when as the intent reference, and this run's `review:` token as the tier. Do not split it into multiple phases.
70
- 3. Present the code approval gate with no QA checklist, and wait. Changes requested → a new cycle with the changes as the work brief and the brief's decisions / done-when, as amended by those changes, as the intent reference, then this gate again; `blocked` stops.
71
- 4. On code approval, run `sassy-ship`. Do not run `sassy-plan` or write a plan file.
72
-
73
- ## Hard rules
74
-
75
- | Rule | Requirement |
76
- |------|-------------|
77
- | Orchestrator only | Delegate every phase to `sassy-cycle`. Never read source or edit code. |
78
- | Branch before code | Resolve the branch per the `sassy-setup` skill's `references/branching.md` before any phase runs, so no change lands on a base branch. |
79
- | Phases in plan order | Phases run one after another, in plan order. |
80
- | Done needs both gates | Mark a phase `Done` only when the user approves the code and every QA row for it is `Done`. |
81
- | QA rows follow the user | Tick a `Manual` QA row `Done` only from the user's explicit confirmation, and an `Auto` row only from a passing dogfood report; keep unreported rows `Pending`; a failed row is a finding for a rework cycle. |
82
- | Send-backs split | A user's change request at the gate runs a new `sassy-cycle` at its detected tier; failing QA rows alone go through a one-pass rework. Neither is a direct edit. |
83
- | Gates before shipping | Nothing is committed or shipped until the code is approved and every QA row passes. Shipping is `sassy-ship`. |
84
- | No plan on the brief path | Use the in-context brief; never create or update a plan file. |
85
- | Compact context | Only pass briefs to subagents and keep only their summaries. |
86
-
87
- ## Failure handling
88
-
89
- - A phase returns `blocked` → stop the run, report the open findings and diagnostic.
90
- - QA rows stay pending, or a row fails again after its rework → stop, commit nothing, ship nothing, report the outstanding rows.
91
- - The validator returns **Blocked — insufficient grounding** → stop; do not advance.
92
- - Ambiguous or unsafe failure → stop and ask rather than guessing.