criteria-review 0.7.1 → 0.7.2
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/agents/README.md
CHANGED
|
@@ -171,6 +171,7 @@ observed wrongly. Same artefacts, opposite meaning.
|
|
|
171
171
|
|
|
172
172
|
| Skill | For |
|
|
173
173
|
|---|---|
|
|
174
|
+
| [`criteria-help`](skills/claude-code/criteria-help/SKILL.md) | **Start here.** Asks what you are doing and routes to the right skill, by situation rather than by name |
|
|
174
175
|
| [`criteria-architect`](skills/claude-code/criteria-architect/SKILL.md) | **Forward.** Vet the request, design the tier 1 spec and tier 2 shortlist, write the brief, save the declaration where the team takes work from |
|
|
175
176
|
| [`criteria-backfill`](skills/claude-code/criteria-backfill/SKILL.md) | **Reverse.** Reverse engineer a legacy area into criteria and characterisation journeys from observation, intent inferred and unconfirmed |
|
|
176
177
|
| [`criteria-plan`](skills/claude-code/criteria-plan/SKILL.md) | Turning a task into a working list of scenario ids: ask, verify, prepare, then act |
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: criteria-help
|
|
3
|
+
description: Work out which criteria skill fits what you are about to do, and say why. Routes by the situation - a legacy app with nothing written down, a fresh request, a task to pick up, a scenario to judge, a test to write, evidence to produce - rather than listing everything. Use when the architect says "which skill", "what should I use", "help", "what can this do", "where do I start", or describes a job without naming a skill.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Which skill do you want
|
|
7
|
+
|
|
8
|
+
A router, not a catalogue. Ask what they are trying to do, name the one skill that fits, say what
|
|
9
|
+
it will do first, and get out of the way.
|
|
10
|
+
|
|
11
|
+
If the situation is obvious from what they have already said, **do not ask** - name the skill and
|
|
12
|
+
start. The question below is for when it genuinely is not.
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
What are you doing?
|
|
16
|
+
1 a request came in, nothing designed yet -> criteria-architect
|
|
17
|
+
2 the software exists, nothing is written down -> criteria-backfill
|
|
18
|
+
3 I have a task to pick up -> criteria-plan
|
|
19
|
+
4 I need to decide something about a scenario -> criteria-lookup
|
|
20
|
+
5 a criterion has no test -> criteria-test
|
|
21
|
+
6 a criterion the build does not satisfy -> criteria-develop
|
|
22
|
+
7 a word changed, or criteria spell a domain noun -> criteria-glossary
|
|
23
|
+
8 a task is finished and needs its evidence -> criteria-bundle
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## The one distinction worth getting right
|
|
29
|
+
|
|
30
|
+
**Which direction is the work running?** Everything else follows from it, and confusing the two
|
|
31
|
+
produces criteria that look right and mean the opposite.
|
|
32
|
+
|
|
33
|
+
**Forward** - somebody wanted something and the software does not exist yet. Intent comes first,
|
|
34
|
+
criteria are written from it, tests prove them, code satisfies them. `criteria-architect` starts
|
|
35
|
+
it. A test here that disagrees with its criterion is **a defect in the software**.
|
|
36
|
+
|
|
37
|
+
**Reverse** - the software exists and nobody wrote down what it promises. Behaviour comes first,
|
|
38
|
+
criteria are derived from it, intent is inferred and unconfirmed. `criteria-backfill` does it. A
|
|
39
|
+
test here that disagrees with its criterion means **you observed it wrongly**.
|
|
40
|
+
|
|
41
|
+
Same artefacts, opposite meaning. If someone asks for "criteria for the payments module" and
|
|
42
|
+
payments already exists, they want backfill, not architect - and the difference matters, because
|
|
43
|
+
architect would invent intent nobody holds.
|
|
44
|
+
|
|
45
|
+
## What each one is for
|
|
46
|
+
|
|
47
|
+
| Skill | Use it when | It will not |
|
|
48
|
+
|---|---|---|
|
|
49
|
+
| `criteria-architect` | A request arrived and needs designing into a spec, a brief and a declaration | Design a request whose intent is missing - it returns or holds it instead |
|
|
50
|
+
| `criteria-backfill` | A legacy area has no criteria and someone needs something to verify | Claim its inferred intent is fact, or mark anything confirmed |
|
|
51
|
+
| `criteria-glossary` | A domain word changed, or criteria spell one | Invent the vocabulary - it finds the real source and scripts the export |
|
|
52
|
+
| `criteria-plan` | A task needs turning into a working list of scenarios | Write anything before you have seen and corrected the list |
|
|
53
|
+
| `criteria-lookup` | A scenario needs judging, or a queue needs walking | Promote a status you did not ask for |
|
|
54
|
+
| `criteria-test` | A criterion has no journey and the software exists to drive | Edit the criterion when the app disagrees - it raises a flag |
|
|
55
|
+
| `criteria-develop` | A criterion is right and the build cannot satisfy it | Change a criterion or a clause to make a test pass |
|
|
56
|
+
| `criteria-bundle` | A task is done and needs watchable evidence | Promote a status because a recording exists |
|
|
57
|
+
|
|
58
|
+
The third column is the useful one. Every skill refuses something, and the refusals are why the
|
|
59
|
+
set is worth having rather than a pile of prompts.
|
|
60
|
+
|
|
61
|
+
## Where the rules live
|
|
62
|
+
|
|
63
|
+
The skills are how to run the process. The process itself is the standard:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
npx criteria-review guide # the protocol, in four ideas
|
|
67
|
+
npx criteria-review here # open the reading tab and read the standard
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Point people at the standard when the question is "what should a scenario look like" or "what
|
|
71
|
+
does verified mean". Point them at a skill when the question is "what do I do now".
|
|
72
|
+
|
|
73
|
+
## Two things people ask that are not skills
|
|
74
|
+
|
|
75
|
+
**"How do I set this up in my project?"** - that is `adopting-the-standard` in the standard, plus
|
|
76
|
+
`criteria-review standard eject` if the team wants to own the rules.
|
|
77
|
+
|
|
78
|
+
**"How do I know if this task is done?"** - `criteria-review plan check`, which answers from the
|
|
79
|
+
documents and exits non-zero while anything declared is outstanding.
|