@skitterbyte/skitterspec-azure-boards 3.0.0 → 3.1.1
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/assets/claude-md-section.md +23 -123
- package/assets/project-conventions.md +17 -0
- package/assets/rules/commit-trailers.md +37 -93
- package/assets/rules/negative-checks.md +21 -48
- package/assets/rules/offered-unblocks.md +39 -74
- package/assets/rules/spec-format.md +117 -0
- package/assets/rules/spec-planning.md +128 -1016
- package/assets/rules/spec-reports.md +70 -607
- package/assets/skills/no-spec/SKILL.md +4 -4
- package/assets/skills/spec/SKILL.md +7 -7
- package/assets/skills/spec/kind-routing.md +35 -0
- package/assets/skills/spec-bug/SKILL.md +6 -6
- package/assets/skills/spec-cancel/SKILL.md +1 -1
- package/assets/skills/spec-complete/SKILL.md +11 -1
- package/assets/skills/spec-diff/SKILL.md +6 -2
- package/assets/skills/spec-diff/review-page.md +89 -0
- package/assets/skills/spec-diff/review-wait.md +133 -0
- package/assets/skills/spec-epic-next/SKILL.md +2 -1
- package/assets/skills/spec-epic-next/epics.md +44 -0
- package/assets/skills/spec-hotfix/SKILL.md +11 -5
- package/assets/skills/spec-incident/SKILL.md +1 -1
- package/assets/skills/spec-next/SKILL.md +5 -5
- package/assets/skills/spec-resume/SKILL.md +1 -1
- package/assets/skills/spec-review/SKILL.md +1 -1
- package/assets/skills/spec-start/isolation.md +90 -0
- package/package.json +1 -1
- package/src/cli.js +74 -5
- package/src/conventions.js +43 -0
- package/src/env/hotfix.js +60 -7
- package/src/env/hotfixland.js +2 -1
- package/src/init.js +133 -9
- package/src/spec-planning-history.json +103 -0
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
---
|
|
2
|
+
paths:
|
|
3
|
+
- "specs/**"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Spec Format
|
|
7
|
+
|
|
8
|
+
How a spec is laid out on disk. The lifecycle is in
|
|
9
|
+
`.claude/rules/spec-planning.md`.
|
|
10
|
+
|
|
11
|
+
## Lifecycle folders
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
specs/backlog/ Ready (or Draft) specs (/spec)
|
|
15
|
+
specs/in-progress/ under active implementation (/spec-start, /spec-bug, /spec-incident)
|
|
16
|
+
specs/complete/ finished (/spec-complete)
|
|
17
|
+
specs/cancelled/ abandoned, with a reason on the header (/spec-cancel)
|
|
18
|
+
specs/.core/ project rules — ALWAYS APPLY, never moved
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Every spec is a **folder**, `specs/<bucket>/<name>/`, even a one-line change.
|
|
22
|
+
Inside it:
|
|
23
|
+
|
|
24
|
+
- `00-overview.md` is the dashboard. It holds the header, Summary, Problem,
|
|
25
|
+
Acceptance criteria, Decisions, Solution overview, the **Impact map** (a
|
|
26
|
+
`Surface | Change | Detail` table naming the endpoints, schemas, tables,
|
|
27
|
+
routes and rules touched), the **phase index** (a table linking each phase
|
|
28
|
+
file with `⬜`/`🔄`/`✅`), Open questions, State log and Changelog.
|
|
29
|
+
**No per-phase task lists.**
|
|
30
|
+
- **One file per phase**: `01-<slug>.md`, `02-<slug>.md`, and so on, in
|
|
31
|
+
execution order. Each holds its goal, its task checkboxes (tests included) and
|
|
32
|
+
its notes. A single-phase spec still gets `01-….md`.
|
|
33
|
+
|
|
34
|
+
Keep the index and the phase files in sync. Legacy specs (a bare `<name>.md`,
|
|
35
|
+
or inline phases) are still read, but new specs always use folders.
|
|
36
|
+
|
|
37
|
+
## Kinds
|
|
38
|
+
|
|
39
|
+
Each spec has one of seven kinds, recorded twice: in the header
|
|
40
|
+
(`> **Type:** Feature`, `> **Type:** Chore`, …) and in the folder name
|
|
41
|
+
(`feat-<name>`, `chore-<name>`, `issue-<name>`, `bug-<name>`, `hotfix-<name>`,
|
|
42
|
+
`incident-<name>`, `epic-<name>`). Never use brackets.
|
|
43
|
+
|
|
44
|
+
- **Feature**: user-facing work that changes code. `feat` commits.
|
|
45
|
+
- **Chore**: code work no end user sees (tooling, CI, dependencies, internal
|
|
46
|
+
refactors). `Gating:` defaults to `none: not user-facing`.
|
|
47
|
+
`chore`/`refactor`/`ci` commits with no `Release-Note:`.
|
|
48
|
+
- **Issue**: no code change at all (configuration, a data fix, a support task),
|
|
49
|
+
written as manual steps. `Gating:` defaults to `none: no code`. `docs`
|
|
50
|
+
commits, no `Release-Note:`. It closes when the spec completes.
|
|
51
|
+
- **Bug**: a defect, test-first. `fix` commits.
|
|
52
|
+
- **Hotfix**: a bug fixed against a **released tag**. It carries
|
|
53
|
+
`> **Base version:** <tag>`, forks from that tag, and lands by tagging a patch
|
|
54
|
+
and cherry-picking onto `main`. `/spec-live` refuses it.
|
|
55
|
+
- **Incident**: a live outage, recorded while it happens. It carries
|
|
56
|
+
`> **Severity:**` and a `## Timeline`. Its fixes are separate specs carrying
|
|
57
|
+
`> **Incident:** incident-<name>`, never its phases.
|
|
58
|
+
- **Epic**: a spec of specs, with `00-overview.md` and **no phase files**. The
|
|
59
|
+
ordering lives on the members. See `.claude/skills/spec-epic-next/epics.md`.
|
|
60
|
+
|
|
61
|
+
## Header fields
|
|
62
|
+
|
|
63
|
+
- `> **Name:**`: the folder name, the handle passed to the lifecycle skills.
|
|
64
|
+
- `> **Author:**`: `git config user.name` at creation.
|
|
65
|
+
- `> **Developer:**`: `—` until `/spec-start`, then the builder.
|
|
66
|
+
- `> **Status:**`: the lifecycle status.
|
|
67
|
+
- `> **Gating:**`: only where gating is configured. A flag name, or
|
|
68
|
+
`none: <reason>`.
|
|
69
|
+
- `> **Severity:**`: on bug, hotfix and incident specs, Azure's literal values
|
|
70
|
+
(`1 - Critical` … `4 - Low`).
|
|
71
|
+
- `> **Incident:**`: on a fix for an open incident: `incident-<name>`.
|
|
72
|
+
- `> **Epic:**`: on an epic member: `epic-<name>`.
|
|
73
|
+
- `> **Waits on:**`: on an epic member: `<spec>` or `<spec> phase N`,
|
|
74
|
+
comma-separated, or `none`. A phase file may carry its own. It is met only on
|
|
75
|
+
the base branch.
|
|
76
|
+
- `> **Lanes:**`: on an epic, optional: how many members may be in flight at
|
|
77
|
+
once.
|
|
78
|
+
- `> **Blocked on:**`: on a spec or a phase file: a wait outside the repo, in
|
|
79
|
+
free text, optionally with `(until YYYY-MM-DD)`. Only a person can judge it
|
|
80
|
+
met. `/spec-resume` clears it.
|
|
81
|
+
|
|
82
|
+
**Under a provider's default `pull`**, `Status:`, `Developer:` and the State log
|
|
83
|
+
are the tracker's: write none of them, and add `> **Tracker:** <url>` instead.
|
|
84
|
+
Lines that already exist stay as history.
|
|
85
|
+
|
|
86
|
+
## State log
|
|
87
|
+
|
|
88
|
+
A table of folder and status transitions. Each lifecycle skill appends exactly
|
|
89
|
+
one row when it changes state:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
## State log
|
|
93
|
+
|
|
94
|
+
| Date | Status | Folder | By |
|
|
95
|
+
|------|--------|--------|----|
|
|
96
|
+
| 2026-01-01 | Draft | backlog | Jane Dev |
|
|
97
|
+
| 2026-01-02 | In Progress | in-progress | Jane Dev |
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
State moves go here. Decisions and course corrections go in the **Changelog**.
|
|
101
|
+
|
|
102
|
+
## Finding specs
|
|
103
|
+
|
|
104
|
+
The bucket folders are the source of truth for status. Under
|
|
105
|
+
`land.specDocs: "branch"` a spec is not on the base branch until it lands, so
|
|
106
|
+
`gating check` and `epic status` also read the spec branches (local, then
|
|
107
|
+
remote-tracking, never fetching). There are no index files.
|
|
108
|
+
|
|
109
|
+
## Rules
|
|
110
|
+
|
|
111
|
+
- If a spec already exists, update it. Do not rewrite it from scratch.
|
|
112
|
+
- Preserve completed `[x]` tasks, and never delete historical notes.
|
|
113
|
+
- Add new tasks to the appropriate phase.
|
|
114
|
+
- The spec file is the single source of truth for implementation progress.
|
|
115
|
+
- Move specs between buckets with `git mv`.
|
|
116
|
+
- Never let `**bold**`, `*italic*` or `[text](url)` cross a hard line break.
|
|
117
|
+
Let the line overflow instead.
|