@sassywares/skills 0.14.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.
- package/README.md +58 -34
- package/package.json +1 -2
- package/skills/sassy-babysit/SKILL.md +3 -0
- package/skills/sassy-commit/SKILL.md +4 -1
- package/skills/sassy-commit-push-pr/SKILL.md +4 -1
- package/skills/sassy-compound/SKILL.md +4 -1
- package/skills/sassy-compound/references/concepts.md +8 -2
- package/skills/sassy-compound/references/templates.md +6 -0
- package/skills/sassy-cycle/SKILL.md +4 -1
- package/skills/sassy-debug/SKILL.md +3 -0
- package/skills/sassy-docs/SKILL.md +3 -0
- package/skills/sassy-docs/references/handbook-format.md +6 -0
- package/skills/sassy-docs/references/handbook.md +6 -0
- package/skills/sassy-docs/references/review.md +11 -2
- package/skills/sassy-dogfood/SKILL.md +3 -0
- package/skills/sassy-dogfood/references/check.md +6 -0
- package/skills/sassy-dogfood/references/discover.md +6 -0
- package/skills/sassy-dogfood/references/run.md +6 -0
- package/skills/sassy-goal/SKILL.md +18 -12
- package/skills/sassy-goal/references/check.md +7 -1
- package/skills/sassy-goal/references/close.md +11 -4
- package/skills/sassy-goal/references/goal-format.md +17 -4
- package/skills/sassy-goal/references/next.md +15 -9
- package/skills/sassy-goal/references/revise.md +25 -0
- package/skills/sassy-goal/references/write.md +8 -0
- package/skills/sassy-handoff/SKILL.md +3 -0
- package/skills/sassy-handoff/references/read.md +6 -0
- package/skills/sassy-handoff/references/write.md +6 -0
- package/skills/sassy-overview/SKILL.md +3 -0
- package/skills/sassy-overview/references/identify.md +6 -0
- package/skills/sassy-plan/SKILL.md +30 -23
- package/skills/sassy-plan/references/interview.md +8 -2
- package/skills/sassy-plan/references/plan-format.md +40 -11
- package/skills/sassy-plan/references/revision-format.md +86 -0
- package/skills/sassy-plan/references/sketches.md +6 -0
- package/skills/sassy-review/SKILL.md +3 -0
- package/skills/sassy-scout/SKILL.md +3 -0
- package/skills/sassy-setup/SKILL.md +22 -11
- package/skills/sassy-setup/assets/agents-md.md +71 -0
- package/skills/sassy-setup/assets/roster +1 -1
- package/skills/sassy-setup/references/anchors.md +128 -0
- package/skills/sassy-setup/references/branching.md +19 -10
- package/skills/sassy-setup/references/check.md +20 -2
- package/skills/sassy-setup/references/config.md +22 -12
- package/skills/sassy-setup/references/dogfood.md +6 -0
- package/skills/sassy-setup/references/harness.md +6 -0
- package/skills/sassy-setup/references/init.md +10 -0
- package/skills/sassy-setup/references/plan-resolution.md +53 -0
- package/skills/sassy-setup/references/scaffold-header.md +6 -0
- package/skills/sassy-setup/references/workspace.md +29 -0
- package/skills/sassy-setup/references/worktree.md +6 -0
- package/skills/sassy-setup/scripts/detect.sh +282 -31
- package/skills/sassy-ship/SKILL.md +8 -5
- package/skills/sassy-ship/references/brief.md +6 -0
- package/skills/sassy-ship/references/plan.md +7 -1
- package/skills/sassy-ship/references/slice.md +6 -0
- package/skills/sassy-simplify/SKILL.md +3 -0
- package/skills/sassy-skill/SKILL.md +3 -0
- package/skills/sassy-skill/references/create.md +6 -0
- package/skills/sassy-skill/references/retune.md +6 -0
- package/skills/sassy-skill/references/verify.md +6 -0
- package/skills/sassy-strategy/SKILL.md +69 -0
- package/skills/sassy-strategy/references/check.md +87 -0
- package/skills/sassy-strategy/references/strategy-format.md +90 -0
- package/skills/sassy-strategy/references/write.md +186 -0
- package/skills/sassy-validate/SKILL.md +4 -1
- package/skills/sassy-work/SKILL.md +66 -68
- package/skills/sassy-worktree/SKILL.md +3 -0
- package/skills/sassy-worktree/references/create.md +6 -0
- package/skills/sassy-worktree/references/list.md +6 -0
- package/skills/sassy-worktree/references/remove.md +6 -0
- package/CONCEPTS.md +0 -178
- package/skills/sassy-lfg/SKILL.md +0 -92
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: skill
|
|
4
|
+
generated_by: sassy-strategy
|
|
5
|
+
name: sassy-strategy
|
|
6
|
+
description: >-
|
|
7
|
+
Write and revise a project's strategy — what the product is for, who it is for,
|
|
8
|
+
and what it refuses — and judge whether work fits it. mode:write (default)
|
|
9
|
+
grounds in the repo, shows a model to correct, interviews with pushback,
|
|
10
|
+
stress-tests three to five metrics, and writes the strategy file one section at
|
|
11
|
+
a time; mode:check gives a read-only fit verdict on a plan, goal, proposal, or
|
|
12
|
+
diff and never writes. Use when asked for direction, positioning, what this
|
|
13
|
+
product is for, to write or revise a strategy, or whether a piece of work is on
|
|
14
|
+
strategy.
|
|
15
|
+
argument-hint: "[mode:write|check] [doc path] [section]"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Sassy Strategy
|
|
19
|
+
|
|
20
|
+
**Outcome:** one settled strategy document at the configured path — Purpose, Positioning, Users, Boundaries, Key metrics, Tracks — that a reader can take in under five minutes; and, in `mode:check`, a read-only verdict on whether a plan, goal, proposal, or diff fits it.
|
|
21
|
+
|
|
22
|
+
**The strategy is a question, never a veto.** A boundary it states changes what a run asks before it starts, and nothing a run does. The answer is always the user's.
|
|
23
|
+
|
|
24
|
+
**Direction only.** No roadmap, no dates, no feature list, no backlog, no status. A strategy that lists what is next has stopped being a strategy and become a plan that nothing owns.
|
|
25
|
+
|
|
26
|
+
**Config.** Resolve `.sassywares/config.yaml` (nearest, walking up) per the `sassy-setup` skill's `references/config.md`. The file's path is `artifacts.strategy` — never assume `docs/strategy.md`, and never hardcode a path. The shared anchor rules — what counts as a conflict, the three outs, the override record, and the `draft` rule — live in the `sassy-setup` skill's `references/anchors.md`; read it before offering an out.
|
|
27
|
+
|
|
28
|
+
**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.
|
|
29
|
+
|
|
30
|
+
## Modes
|
|
31
|
+
|
|
32
|
+
| Mode | Load | Runs | It ends with |
|
|
33
|
+
|---|---|---|---|
|
|
34
|
+
| `write` (default) | `references/write.md`, plus `references/strategy-format.md` for the format contract | no strategy on file, or a revision | the file written, or one section revised, `status: active` only after the read-back |
|
|
35
|
+
| `check` | `references/check.md`, plus `references/strategy-format.md` when it quotes the file | a plan, goal, proposal, or diff to test against the strategy | a verdict quoting the strategy line, and no file touched |
|
|
36
|
+
|
|
37
|
+
Resolve the mode: an explicit `mode:` token wins. With none, a question about whether something fits — "is this on strategy", "does this match the strategy" — is `check`; anything else is `write`. Read the one **mode** reference for that mode **and only that one** — `references/strategy-format.md` is the format contract, not a mode reference, and it comes with any run that writes, revises, or quotes the file.
|
|
38
|
+
|
|
39
|
+
`references/strategy-format.md` owns the six canonical section names, their locked order, the frontmatter, and the `draft`→`active` rule.
|
|
40
|
+
|
|
41
|
+
## Routing a `write` run
|
|
42
|
+
|
|
43
|
+
| The argument | It is |
|
|
44
|
+
|---|---|
|
|
45
|
+
| no file at `artifacts.strategy` | a new strategy — `write.md`, from the top |
|
|
46
|
+
| a file, no section | a revision, entered at the bare-invocation step in `write.md` |
|
|
47
|
+
| a section, with or without a doc path | a section revision — the section-argument contract in `write.md` |
|
|
48
|
+
| anything else after the path | a usage error: name the six canonical sections and stop |
|
|
49
|
+
|
|
50
|
+
A section name matches **case-insensitively against the six canonical headings and nothing else**; any other word is a usage error.
|
|
51
|
+
|
|
52
|
+
## Hard rules
|
|
53
|
+
|
|
54
|
+
| Rule | Requirement |
|
|
55
|
+
|------|-------------|
|
|
56
|
+
| Never a veto | A conflict is quoted from the file, then three outs are offered. No run blocks on the strategy, and no agent picks an out for the user. |
|
|
57
|
+
| Direction only | Nothing in the file schedules, lists, or tracks work. A date, a roadmap row, or a feature list is removed on sight. |
|
|
58
|
+
| One section at a time | A revision reopens exactly one canonical section and leaves every other byte of the file alone. |
|
|
59
|
+
| Grounded | Every user, metric, boundary, and product claim comes from the repo or from the user, with one exception: the model you show them before the interview, labelled as a guess. Never invent a command, a number, or a metric's source. |
|
|
60
|
+
| Draft is not settled | A `status: draft` strategy is reported as unsettled and never enforced — not by this skill, and not by a reader. |
|
|
61
|
+
| Five-minute read | If the file no longer reads inside five minutes, cut it. Detail belongs in the plan that the strategy guided. |
|
|
62
|
+
| Write boundary | `artifacts.strategy` (creating its directory when needed) and, only when no `README.md` exists at the project root, the seeded `README.md`. Nothing else: never `AGENTS.md`, plans, code, or an existing README. |
|
|
63
|
+
|
|
64
|
+
## Workflow
|
|
65
|
+
|
|
66
|
+
1. **Resolve the path.** `artifacts.strategy` from the config, or the doc path the user named. A path outside the project is a usage error — the strategy is the project's, not a machine's.
|
|
67
|
+
2. **Resolve the mode and the entry point** from the routing table above, and read that one reference. `references/strategy-format.md` comes with any run that touches the file's bytes.
|
|
68
|
+
3. **Do the run** the reference lays out.
|
|
69
|
+
4. **Report** in the reference's shape: the path, what changed, `status`, and what is not settled — plus, after a `write`, the one command that revises a section.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-strategy
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mode: check — a read-only fit verdict
|
|
8
|
+
|
|
9
|
+
Read the shared sections in `SKILL.md` and `references/strategy-format.md` first.
|
|
10
|
+
This file is the judgement only: **check writes nothing** — no edit to the
|
|
11
|
+
strategy, no edit to the plan, goal, proposal, or diff it was handed, no commit.
|
|
12
|
+
A check that fixes "one stale line while it is there" has become a `write` run
|
|
13
|
+
nobody approved.
|
|
14
|
+
|
|
15
|
+
## 1. Resolve and read
|
|
16
|
+
|
|
17
|
+
1. The strategy file from `artifacts.strategy`, or one the user named. No file →
|
|
18
|
+
the verdict is **no strategy on file**: report the configured path and the
|
|
19
|
+
command that writes one, and stop. That is a valid answer, not an error, and
|
|
20
|
+
never a reason to invent a strategy from the repo.
|
|
21
|
+
2. Read `status` before the body. `draft` (or a missing/unknown value) → the
|
|
22
|
+
verdict is **unsettled**: report the path and that the document is not
|
|
23
|
+
enforced, then stop. Do not quote a draft as binding and do not weigh the work
|
|
24
|
+
against it — a draft is context, and enforcing it is how a half-written
|
|
25
|
+
document starts blocking real work.
|
|
26
|
+
3. Read the work: the plan, the goal, the proposal, or the diff. For a diff, read
|
|
27
|
+
what it changes, not its size. For a plan, its intent and its phases.
|
|
28
|
+
|
|
29
|
+
## 2. What can conflict
|
|
30
|
+
|
|
31
|
+
Only **Boundaries**, **Positioning**, and **Tracks** can conflict. What counts as a conflict is the `sassy-setup` skill's `references/anchors.md`.
|
|
32
|
+
|
|
33
|
+
## 3. The verdict, then the outs
|
|
34
|
+
|
|
35
|
+
The output is the quoted line and the question, never a ruling:
|
|
36
|
+
|
|
37
|
+
```md
|
|
38
|
+
**Fit — fits | conflicts | unsettled**
|
|
39
|
+
|
|
40
|
+
- Strategy: "<verbatim line>" (Boundaries)
|
|
41
|
+
- The work: <one line — the request or diff hunk that meets it>
|
|
42
|
+
- Outs:
|
|
43
|
+
1. Change the work — <what would no longer meet the line>
|
|
44
|
+
2. Make it a track — a strategy revision that admits this direction
|
|
45
|
+
3. Override — recorded in the plan with provenance, and the run continues
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- Quote the line **verbatim**, with the section it came from. A paraphrase is a
|
|
49
|
+
finding the user cannot check.
|
|
50
|
+
- Name the work concretely: the phase, the request, the file and hunk.
|
|
51
|
+
- Offer all three outs. Order them as above; never mark one as recommended
|
|
52
|
+
unless the user asks which you would pick.
|
|
53
|
+
- **Never a veto, and never a silent pass.** The run continues either way: the
|
|
54
|
+
obligation is to ask, the answer is the user's. Nothing about the strategy
|
|
55
|
+
makes a run stop or fail.
|
|
56
|
+
|
|
57
|
+
Then the shared rules take over: taking *change the work* is the caller's edit,
|
|
58
|
+
*make it a track* is a `write` run's section revision, and *override* is recorded
|
|
59
|
+
in the plan per the `sassy-setup` skill's `references/anchors.md` — check records
|
|
60
|
+
nothing itself.
|
|
61
|
+
|
|
62
|
+
## 4. A second override on the same boundary
|
|
63
|
+
|
|
64
|
+
When the work's plan already records an override of **this same line**, the
|
|
65
|
+
verdict is not another argument. State that it is the second one, and make
|
|
66
|
+
**exactly one** offer to revise the strategy:
|
|
67
|
+
|
|
68
|
+
> This is the second override of "<line>". The strategy may be the thing that is
|
|
69
|
+
> stale — want to revise Boundaries?
|
|
70
|
+
|
|
71
|
+
The offer, and what a declined one means, follow the "A second override on the
|
|
72
|
+
same boundary" rule in the `sassy-setup` skill's `references/anchors.md`.
|
|
73
|
+
|
|
74
|
+
## 5. Report shape
|
|
75
|
+
|
|
76
|
+
Report the verdict block, and under it:
|
|
77
|
+
|
|
78
|
+
- **fits** — the nearest line the work does honour, in one clause, so the user can
|
|
79
|
+
see what was checked.
|
|
80
|
+
- **conflicts** — the line, the three outs, and the one-sentence offer if it is a
|
|
81
|
+
repeat.
|
|
82
|
+
- **unsettled** — the path, `status`, and the command that finishes the write.
|
|
83
|
+
- **no strategy on file** — the configured path and the write command.
|
|
84
|
+
|
|
85
|
+
End by naming what you did **not** check: a section you read but could not judge,
|
|
86
|
+
a diff whose intent is unclear, a proposal with no line to test against. Then
|
|
87
|
+
stop. Nothing is written, and no verdict is a veto.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-strategy
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Strategy format
|
|
8
|
+
|
|
9
|
+
The format is settled: six sections, one locked order, one frontmatter. A run
|
|
10
|
+
never invents a seventh section, renames a heading, or reorders the file. What
|
|
11
|
+
changes is the words inside a section, one revision at a time.
|
|
12
|
+
|
|
13
|
+
## Frontmatter
|
|
14
|
+
|
|
15
|
+
```yaml
|
|
16
|
+
---
|
|
17
|
+
status: draft
|
|
18
|
+
created: YYYY-MM-DD
|
|
19
|
+
updated: YYYY-MM-DD
|
|
20
|
+
---
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
- `status` — `draft` while the document is being written or revised into shape,
|
|
24
|
+
`active` once it is settled. A missing or unknown value reads as `draft`: an
|
|
25
|
+
unsettled strategy is the safe assumption, never the reverse.
|
|
26
|
+
- `created` — the day the file was first opened. It never changes.
|
|
27
|
+
- `updated` — the day the content last changed. Every write, revision, or status
|
|
28
|
+
flip refreshes it in that same edit. A reader uses it to decide whether the
|
|
29
|
+
document is behind the repo; that is the only date the file is allowed to hold.
|
|
30
|
+
|
|
31
|
+
No `type`, no `owner`, no `version`, and no dates in prose. A sentence that
|
|
32
|
+
describes when something will happen is a roadmap line in disguise and does not
|
|
33
|
+
belong in the file.
|
|
34
|
+
|
|
35
|
+
## The six sections, in this order
|
|
36
|
+
|
|
37
|
+
| # | Heading | What it answers | Shape |
|
|
38
|
+
|---|---|---|---|
|
|
39
|
+
| 1 | `## Purpose` | Why this product exists, and for whom, in the present tense | One paragraph |
|
|
40
|
+
| 2 | `## Positioning` | What it is, and the one thing it does that the alternatives do not | One paragraph, ideally one distinguishing sentence the reader could repeat |
|
|
41
|
+
| 3 | `## Users` | Who has the problem, and what they do today without this | Two to four named groups, one line each — never "everyone" |
|
|
42
|
+
| 4 | `## Boundaries` | What the product will not become, including a `_Resist a change when:_` line | A short list of refusals, each concrete enough to recognise in a request |
|
|
43
|
+
| 5 | `## Key metrics` | How we would know it is working, and where that is read | Three to five entries, one line each: definition, then where it is measured |
|
|
44
|
+
| 6 | `## Tracks` | The directions deliberately being pursued | Two to five named directions, one line each, no features under them |
|
|
45
|
+
|
|
46
|
+
The headings are exactly these words: no numbering, no punctuation, no
|
|
47
|
+
synonyms ("Goals", "Non-goals", "Metrics", "Roadmap"). Section matching is
|
|
48
|
+
literal, so a second heading — a track, a boundary group, a metrics table — would
|
|
49
|
+
break the one contract this file has. A track is a line under Tracks, never a
|
|
50
|
+
heading of its own.
|
|
51
|
+
|
|
52
|
+
### Boundaries leads with the resist line
|
|
53
|
+
|
|
54
|
+
Boundaries carries the one line a reader will quote back at a request:
|
|
55
|
+
|
|
56
|
+
```md
|
|
57
|
+
_Resist a change when:_ it would make the product a general-purpose tool.
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Then the refusals themselves, each a sentence the reader can check a request
|
|
61
|
+
against. A boundary that permits everything ("we stay flexible") is not a
|
|
62
|
+
boundary and is not written.
|
|
63
|
+
|
|
64
|
+
### Key metrics is a measuring list
|
|
65
|
+
|
|
66
|
+
Three to five entries. Each is a one-line definition plus where it is read — a
|
|
67
|
+
dashboard, a table, a query, a report someone actually opens. A metric with no
|
|
68
|
+
place it is measured is a wish; it is either given a source or left out, and the
|
|
69
|
+
section may carry fewer than three only while it is unsettled.
|
|
70
|
+
|
|
71
|
+
## Draft and active
|
|
72
|
+
|
|
73
|
+
- The file is opened as `status: draft` at its final path before the interview's
|
|
74
|
+
second settled section, and each section is appended as it settles. The file,
|
|
75
|
+
not the conversation, is the ledger — a run that compacts must not lose what
|
|
76
|
+
the user already confirmed.
|
|
77
|
+
- Only the confirmed read-back at the end of `write.md` flips it to `active`, in
|
|
78
|
+
the same edit that refreshes `updated`. Nothing else may.
|
|
79
|
+
- A section revision on an `active` file leaves it `active`; it refreshes
|
|
80
|
+
`updated`. A revision that pulls a section apart far enough that the document
|
|
81
|
+
no longer reads as settled is reported as such, and leaving it `active` or
|
|
82
|
+
returning it to `draft` is the user's call, not the run's.
|
|
83
|
+
- Readers treat `draft` as context only, per the `sassy-setup` skill's
|
|
84
|
+
`references/anchors.md`.
|
|
85
|
+
|
|
86
|
+
## Length
|
|
87
|
+
|
|
88
|
+
The whole document reads in under five minutes — a page, not a chapter. When a
|
|
89
|
+
section needs more than its shape allows, the extra is an argument for a plan or
|
|
90
|
+
a decision record, not a paragraph here. Cut it and say where it went.
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: reference
|
|
4
|
+
generated_by: sassy-strategy
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Mode: write — author or revise the strategy
|
|
8
|
+
|
|
9
|
+
Read the shared sections in `SKILL.md` first, and `references/strategy-format.md`
|
|
10
|
+
before the first line is written. This file is the write path only.
|
|
11
|
+
|
|
12
|
+
Two ways in, and they share one rule: **the document is direction, so every
|
|
13
|
+
sentence in it must survive the question "would this still be true if we shipped
|
|
14
|
+
nothing this quarter?"**
|
|
15
|
+
|
|
16
|
+
| Entry | When | Runs |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| A — new | Nothing at `artifacts.strategy` | Ground, show a model, open as `draft`, interview, stress-test, one edit pass, read-back, offer a README seed |
|
|
19
|
+
| B — revise | A file, no section | Summarize in three to five lines, check it against the repo since `updated`, then ask which section to open |
|
|
20
|
+
| B — section | A file and a section argument | The section-argument contract, below |
|
|
21
|
+
|
|
22
|
+
## A — a new strategy
|
|
23
|
+
|
|
24
|
+
### 1. Ground in the repo first
|
|
25
|
+
|
|
26
|
+
Read before asking anything, bounded to the smallest set that answers the
|
|
27
|
+
questions: `README.md`, the package manifest, the top-level tree, the configured
|
|
28
|
+
`artifacts.plans` and `artifacts.solutions` folders, `.sassywares/config.yaml`,
|
|
29
|
+
and the last thirty commits' subjects. On a large repo, load `sassy-scout` for
|
|
30
|
+
this instead of reading wide.
|
|
31
|
+
|
|
32
|
+
What this buys: the users it already speaks to, the vocabulary it already uses,
|
|
33
|
+
what has actually changed lately, and what has been explicitly refused before.
|
|
34
|
+
Write down what the repo does **not** answer — those are the interview's real
|
|
35
|
+
questions, and asking them is the point of the run.
|
|
36
|
+
|
|
37
|
+
### 2. Show a model to correct
|
|
38
|
+
|
|
39
|
+
Before the interview, put a filled-in draft of the six sections in chat, marked
|
|
40
|
+
at the top as *my guess from the repo — correct me*. Not a blank template: a
|
|
41
|
+
model is something to push against, and a user who sees a plausible wrong
|
|
42
|
+
Positioning will fix it in one sentence where a blank prompt gets a paragraph of
|
|
43
|
+
hedging.
|
|
44
|
+
|
|
45
|
+
Say plainly which lines are the repo's and which are the guess.
|
|
46
|
+
|
|
47
|
+
### 3. Open the file as `draft`
|
|
48
|
+
|
|
49
|
+
Write `artifacts.strategy` (creating the directory if needed) with the
|
|
50
|
+
frontmatter and nothing else — no empty headings, no placeholders. It is opened
|
|
51
|
+
at its final path on purpose: the draft is what survives a compaction, and a
|
|
52
|
+
half-written file with six empty sections reads as finished to the next agent.
|
|
53
|
+
|
|
54
|
+
Then append each section **as it settles**, in the locked order, never batched to
|
|
55
|
+
the end. Refresh `updated` with each append.
|
|
56
|
+
|
|
57
|
+
### 4. Interview
|
|
58
|
+
|
|
59
|
+
One question at a time, in the user's words, and never a list. Ask about what the
|
|
60
|
+
repo could not answer, and ask until the answer is specific enough to write a
|
|
61
|
+
line the user would defend.
|
|
62
|
+
|
|
63
|
+
Push back — that is the job, not a courtesy:
|
|
64
|
+
|
|
65
|
+
- **A user that is everyone is not a user.** "Developers", "teams", "anyone who…"
|
|
66
|
+
gets one question: who has this problem badly enough to change what they do,
|
|
67
|
+
and what do they do today instead? A group with no workaround is suspect.
|
|
68
|
+
- **A boundary that permits everything is not a boundary.** Ask for the change
|
|
69
|
+
they would refuse — ideally one somebody has already asked for. If they cannot
|
|
70
|
+
name one, the section stays unsettled and says so.
|
|
71
|
+
- **Positioning is a difference, not an adjective.** "Fast", "simple", "modern"
|
|
72
|
+
are claims every competitor makes. Ask: compared to what, and what does the
|
|
73
|
+
alternative force the user to do that this does not?
|
|
74
|
+
- **A metric with no home is a wish.** Ask where it is read before accepting it.
|
|
75
|
+
- **Purpose is present tense.** If the answer describes a future state, that is a
|
|
76
|
+
roadmap line: take it out of the strategy and note it for a plan.
|
|
77
|
+
- **An unverifiable claim is the user's assertion.** Market size, competitor
|
|
78
|
+
behavior, a claim about users nobody has spoken to — write it only as the
|
|
79
|
+
user's stated belief, or leave it out and say why.
|
|
80
|
+
- **A restatement is not a section.** If Users repeats Positioning, say so and ask
|
|
81
|
+
for the line that distinguishes them.
|
|
82
|
+
- **"TBD" is not settled.** Record the section as open, keep the file `draft`,
|
|
83
|
+
and say in the report what is open — never fill it with a plausible invention.
|
|
84
|
+
|
|
85
|
+
Never answer your own question. A section the user has not settled is reported
|
|
86
|
+
as unsettled, and the run stops short of writing it.
|
|
87
|
+
|
|
88
|
+
### 5. The metric stress test
|
|
89
|
+
|
|
90
|
+
Propose **three to five** metrics yourself, derived from what the repo can
|
|
91
|
+
measure, then push back on the user's:
|
|
92
|
+
|
|
93
|
+
- **Vanity** — a number that only goes up (signups, downloads, total commits),
|
|
94
|
+
or that no decision would change. Ask what they would do differently if it
|
|
95
|
+
halved. If the answer is "nothing", it is not a metric.
|
|
96
|
+
- **Unmeasurable here** — no table, dashboard, report, or query produces it
|
|
97
|
+
today. Either name where it will be read, or drop it.
|
|
98
|
+
- **Proxy dressed as outcome** — a metric that measures activity rather than the
|
|
99
|
+
thing the user cares about. Say what it is a proxy for and ask whether the real
|
|
100
|
+
thing is readable.
|
|
101
|
+
- **Too many** — more than five means no one is watching any of them. Cut to the
|
|
102
|
+
ones a decision depends on.
|
|
103
|
+
|
|
104
|
+
Every surviving entry carries a one-line definition and where it is measured.
|
|
105
|
+
Fewer than three is allowed only while the section is unsettled, and the report
|
|
106
|
+
names it.
|
|
107
|
+
|
|
108
|
+
### 6. One edit pass
|
|
109
|
+
|
|
110
|
+
When all six sections are on file, read the document back in chat and give the
|
|
111
|
+
user exactly **one** pass of edits. Collect every correction, apply them in one
|
|
112
|
+
go, and refresh `updated`. Further changes after that are a **section revision**
|
|
113
|
+
(the contract below), not another full pass: revision is usually one rotten
|
|
114
|
+
section, and full-pass friction is how a strategy document stops being revised at
|
|
115
|
+
all.
|
|
116
|
+
|
|
117
|
+
### 7. Read-back, then `active`
|
|
118
|
+
|
|
119
|
+
Read the whole document back — the actual file's words, not a summary — and ask
|
|
120
|
+
for confirmation. Only the confirmed read-back flips `status` to `active`, in the
|
|
121
|
+
same edit that refreshes `updated`. A read-back that produces corrections returns
|
|
122
|
+
to step 6.
|
|
123
|
+
|
|
124
|
+
### 8. Report, and offer a README seed
|
|
125
|
+
|
|
126
|
+
Report: the path, the sections written, `status`, what is unsettled, and the one
|
|
127
|
+
command that revises a section (`sassy-strategy <doc> <section>`, in the harness's
|
|
128
|
+
syntax per the `sassy-setup` skill's `references/harness.md`).
|
|
129
|
+
|
|
130
|
+
Then the seed offer, **only when the project root has no `README.md`**:
|
|
131
|
+
|
|
132
|
+
> There is no README. Want me to seed one from the strategy?
|
|
133
|
+
|
|
134
|
+
On yes, write a minimal `README.md`: the project's title, one paragraph of
|
|
135
|
+
what-this-is drawn from Purpose and Positioning (their words, not new claims), and
|
|
136
|
+
`## Install` and `## Run` headings whose bodies are a literal `TODO:` line — never
|
|
137
|
+
a guessed command, never a script name from the manifest, never a copied line
|
|
138
|
+
from another project. A TODO is the correct outcome; a wrong command is worse
|
|
139
|
+
than an empty section, because it is believed.
|
|
140
|
+
|
|
141
|
+
Never rewrite an existing `README.md`, and never offer this outside a `write` run
|
|
142
|
+
that just finished. The README is the project's, and its install steps are not
|
|
143
|
+
inferable from a strategy.
|
|
144
|
+
|
|
145
|
+
## B — revise
|
|
146
|
+
|
|
147
|
+
Revision is **section-scoped** by design. The full pass exists once, in entry A;
|
|
148
|
+
afterwards every change reopens one section and leaves every other byte alone.
|
|
149
|
+
|
|
150
|
+
### Bare invocation on an existing file
|
|
151
|
+
|
|
152
|
+
1. **Summarize what is on file** in three to five lines — the six sections in one
|
|
153
|
+
clause each, and `status` with `updated`.
|
|
154
|
+
2. **Check it against the repo since `updated`**: what the commits, the tree, and
|
|
155
|
+
the plans say changed. Name any line the repo now contradicts, any Track with
|
|
156
|
+
no commits behind it, and a `draft` status — these are prompts for the user,
|
|
157
|
+
never corrections you make on your own.
|
|
158
|
+
3. **Ask which section to open**, listing the six canonical names.
|
|
159
|
+
4. On an answer, run the section contract for that section. On no answer, stop —
|
|
160
|
+
a bare revision never edits on a guess.
|
|
161
|
+
|
|
162
|
+
### The section-argument contract
|
|
163
|
+
|
|
164
|
+
`sassy-strategy <doc> <section>` (or `<section>` alone, when the config resolves
|
|
165
|
+
the file):
|
|
166
|
+
|
|
167
|
+
- **Matching is case-insensitive against the six canonical headings, and nothing
|
|
168
|
+
else.** `Users`, `users`, and `USERS` are the same section. There is no fuzzy
|
|
169
|
+
match, no partial word, no alias table, and no "did you mean" — nothing predates
|
|
170
|
+
this format, so every near miss is a typo and treating it as a guess is how a
|
|
171
|
+
tool writes into the wrong section.
|
|
172
|
+
- **An unrecognized word is a usage error.** Print the six canonical names, one
|
|
173
|
+
per line, and stop. Do not open the file, do not summarize, do not guess.
|
|
174
|
+
- **Reopen exactly one section.** Quote its current text, ask the questions that
|
|
175
|
+
section needs (the pushback rules above apply unchanged), and rewrite only
|
|
176
|
+
those lines. Every other byte in the file — other sections, their order, the
|
|
177
|
+
frontmatter's `created` — stays identical. `git diff` on a section revision
|
|
178
|
+
shows exactly two hunks — the section, and the frontmatter's `updated` line —
|
|
179
|
+
and nothing else.
|
|
180
|
+
- **No new sections, no renames, no reordering**, even when the new content would
|
|
181
|
+
read better elsewhere. Say the better home; the format is locked.
|
|
182
|
+
- Refresh `updated`, keep `status` as it was, and report the section, the change,
|
|
183
|
+
and `status` in one short block.
|
|
184
|
+
- A revision that reveals the strategy itself is wrong — not stale — is the
|
|
185
|
+
user's call: offer, in one line, to revise the neighbouring section or return
|
|
186
|
+
the whole document to the full pass. Do not do either unasked.
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
+
suite: sassy-skills
|
|
3
|
+
artifact: skill
|
|
4
|
+
generated_by: sassy-validate
|
|
2
5
|
name: sassy-validate
|
|
3
6
|
description: >-
|
|
4
7
|
Check whether implemented work matches what a plan or stated intent expected,
|
|
@@ -33,7 +36,7 @@ Use the mode the caller passed; never pick one yourself.
|
|
|
33
36
|
|
|
34
37
|
## Workflow
|
|
35
38
|
|
|
36
|
-
1. **Intent.** Resolve the reference: a plan path plus phase (preferred), a plan path with no phase — the whole plan — or an explicit intent the user states. If none exists, ask and stop. When the reference is a plan
|
|
39
|
+
1. **Intent.** Resolve the reference: a plan path plus phase (preferred), a plan path with no phase — the whole plan — or an explicit intent the user states. A plan path resolves per the `sassy-setup` skill's `references/plan-resolution.md`, so a directory and a legacy flat file both work. If none exists, ask and stop. When the reference is a plan, read its frontmatter `status` first: `draft` → refuse, because a plan still being written has nothing implemented to validate against, and send the user back to `sassy-plan`. `active` and `done` both validate normally — a closed-out plan is exactly what a conformance check is for — and a plan with no `status` key counts as `active` (`sassy-plan`'s `references/plan-format.md` owns that rule).
|
|
37
40
|
2. **Validate.** Dispatch the `validator` with that intent reference. When the caller passed `range:<base>..<head>`, hand it to the validator as the commit range to validate; otherwise the validator scopes the work itself.
|
|
38
41
|
3. **Return.** In `mode:return`, return the validator's grade, evidence, and gaps as-is and stop.
|
|
39
42
|
4. **Conforms?** If the grade is `Conforms`, report it and stop. If `Blocked — insufficient grounding`, report what it needs and stop — do not guess.
|