@benjaminthomas/spec-driven-dev 1.14.0 → 1.14.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/README.md
CHANGED
|
@@ -150,7 +150,7 @@ before it writes the file. If any skill finds no config, it runs this setup firs
|
|
|
150
150
|
| What it asks | Detected from | Example answer |
|
|
151
151
|
|---|---|---|
|
|
152
152
|
| How the project is organised | git repos and workspace files (`pnpm-workspace.yaml`, `turbo.json`, `nx.json`, `go.work`, …). A Shopify app's `extensions/` count as one app | `single`, `monorepo`, or `multi-repo` |
|
|
153
|
-
| *multi-repo:* which repos you work on |
|
|
153
|
+
| *multi-repo:* which repos you work on | each repo's purpose, evidence of how it connects to this one (env vars, API calls, docs), your recent commits, and `team-repos.yml`; it recommends a selection with reasons | `soreto-shopify, reverb-backend` |
|
|
154
154
|
| *multi-repo:* where specs live | (you choose) | a dedicated specs repo, a code repo, or this machine only |
|
|
155
155
|
| Issue tracker | ticket keys in branch names and commits | Jira, key `STP` |
|
|
156
156
|
| Base branch / PR target | default branch, `staging`/`develop`, recent PR targets | `staging` |
|
|
@@ -760,7 +760,7 @@ skips that step rather than failing.
|
|
|
760
760
|
|
|
761
761
|
| Skill | Stage | SKILL.md lines | Words | Supporting files |
|
|
762
762
|
|---|---|---:|---:|---:|
|
|
763
|
-
| `spec-setup` | 0 · configure |
|
|
763
|
+
| `spec-setup` | 0 · configure | 222 | 2,329 | 4 |
|
|
764
764
|
| `spec-investigate` | 1 · understand | 387 | 3,367 | 1 |
|
|
765
765
|
| `spec-create` | 2 · plan | 198 | 1,782 | 6 |
|
|
766
766
|
| `spec-implement` | 3 · build | 327 | 2,753 | 3 |
|
|
@@ -769,7 +769,7 @@ skips that step rather than failing.
|
|
|
769
769
|
| `spec-checkpoint` | 6 · commit | 140 | 1,144 | 0 |
|
|
770
770
|
| `spec-ship` | 7 · PR | 230 | 1,388 | 0 |
|
|
771
771
|
| `generative-seo` | standalone | 255 | 2,209 | 7 |
|
|
772
|
-
| **Total** | | **2,
|
|
772
|
+
| **Total** | | **2,059** | **17,823** | **23** |
|
|
773
773
|
|
|
774
774
|
- **8** skills: **1** setup + **6** workflow stages + **1** standalone
|
|
775
775
|
- **4** tools supported natively (Claude Code, Codex CLI, Cursor, Antigravity), plus an MCP fallback
|
|
@@ -822,7 +822,7 @@ plugin/evals/ `claude plugin eval` cases
|
|
|
822
822
|
1. Increase `version` in both `package.json` and `plugin/.claude-plugin/plugin.json` (the check fails if
|
|
823
823
|
they differ).
|
|
824
824
|
2. Add a `CHANGELOG.md` entry, then commit and push.
|
|
825
|
-
3. Tag the release and push the tag: `git tag v1.14.
|
|
825
|
+
3. Tag the release and push the tag: `git tag v1.14.1 && git push origin v1.14.1`.
|
|
826
826
|
4. Watch the **publish** run in the repo's Actions tab. When it's green, the new version is on
|
|
827
827
|
npm. Claude Code plugin users get it from the marketplace once the commit is on `main`.
|
|
828
828
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@benjaminthomas/spec-driven-dev",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "Spec-driven AI development workflow (investigate → spec → implement → verify → review → ship) as Agent Skills for Claude Code, Cursor, Codex CLI and Antigravity.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ticket-to-pr",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "Parallel-batch spec-driven feature workflow (spec-setup, spec-investigate, spec-create, spec-implement, spec-verify, spec-review, spec-checkpoint, spec-ship) plus a portable SEO/GEO operations skill (generative-seo) for any codebase.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Benjamin Thomas",
|
|
@@ -51,10 +51,13 @@ Read, don't guess. Collect a draft of every field in `references/config-template
|
|
|
51
51
|
multi-repo workspace). The same goes for any repo whose "packages" are plug-ins of one app.
|
|
52
52
|
- **Ask when one repo works with others.** Even inside a single repo, ask once: "Does this repo
|
|
53
53
|
change together with other repos (for example a backend)?" A yes means `multi-repo`.
|
|
54
|
-
- Not inside a git repo, but sibling folders are git repos → candidate `multi-repo`.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
- Not inside a git repo, but sibling folders are git repos → candidate `multi-repo`.
|
|
55
|
+
- **Choosing the repos is a required question for `multi-repo`, never a detection.** Someone new
|
|
56
|
+
doesn't know what `soreto-melissa` is, so never show bare folder names. Follow
|
|
57
|
+
`references/repo-picker.md`: say what each candidate repo is, show evidence of how it connects
|
|
58
|
+
to the current repo, note whether the user commits to it, and recommend a selection with a
|
|
59
|
+
reason per repo. Ask once, and don't write the config until they've answered. Always also
|
|
60
|
+
offer repos in **other folders** (e.g. `~/clients/billing`). Check each path is a git repo,
|
|
58
61
|
and store paths inside the workspace as relative and paths outside it as absolute.
|
|
59
62
|
- The repos of one workspace can live in unrelated places (`/Projects/frontend`,
|
|
60
63
|
`~/Work/backend`, `/srv/database`). Put the config in their shared parent folder, or in
|
|
@@ -120,6 +123,15 @@ Read, don't guess. Collect a draft of every field in `references/config-template
|
|
|
120
123
|
Store the answer as `context.share`. A dedicated specs repo is shared by nature: set
|
|
121
124
|
`context.share: all`.
|
|
122
125
|
|
|
126
|
+
## How to ask
|
|
127
|
+
|
|
128
|
+
- **Real choices** (layout, keep these repos, sharing, after-approval mode) can be a menu, but only
|
|
129
|
+
with **two or more** options. A menu with one option is rejected by the tool and the user never
|
|
130
|
+
sees the question. "Other" doesn't count as an option.
|
|
131
|
+
- **Open questions** (what the product does, fragile spots, direction, unwritten rules, anything
|
|
132
|
+
else to add) are plain text in **one chat message**. The user answers in their own words or says
|
|
133
|
+
"skip". Never turn an open question into a menu.
|
|
134
|
+
|
|
123
135
|
## Step 2 — Confirm in one round
|
|
124
136
|
|
|
125
137
|
Show the draft as a short table grouped by layout, tracker, git, commands, and specs location.
|
|
@@ -41,7 +41,9 @@ never ask again.
|
|
|
41
41
|
## 3. Discovery questions (one round)
|
|
42
42
|
|
|
43
43
|
Show the draft map first, with each line marked **detected** (with its source) or **guess**. Then
|
|
44
|
-
ask only what the code can't answer, in one message
|
|
44
|
+
ask only what the code can't answer, as **plain text in one message**. These are open questions, so
|
|
45
|
+
never put them in a menu or multiple-choice tool (a menu needs two or more real options, and these
|
|
46
|
+
have none). The user replies in their own words, or "skip":
|
|
45
47
|
|
|
46
48
|
- What does the product do, and who uses it?
|
|
47
49
|
- Which areas are legacy, frozen, or off-limits?
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Choosing the repos of a multi-repo workspace
|
|
2
|
+
|
|
3
|
+
People can't choose from folder names alone, and every team's machine looks different. Do the
|
|
4
|
+
homework first, then recommend a selection with reasons. Work from evidence, never from the names.
|
|
5
|
+
|
|
6
|
+
## 1. Find candidates (any folder layout)
|
|
7
|
+
|
|
8
|
+
- Git repos below the workspace folder. Start two levels down; go deeper only when the layout calls
|
|
9
|
+
for it (`~/code/github.com/<org>/<repo>`, `~/work/<client>/<repo>`). Skip worktrees (their `.git`
|
|
10
|
+
is a file), `node_modules`, vendor and build folders.
|
|
11
|
+
- Repos in `{specs_dir}/team-repos.yml` if it exists, including ones not cloned here.
|
|
12
|
+
- Repos the user names from other folders, and git submodules of the current repo.
|
|
13
|
+
- **Lots of repos?** Don't list them all. Rank by the evidence below and show the top 8 or so, then
|
|
14
|
+
"N other repos found, name any you want added".
|
|
15
|
+
|
|
16
|
+
## 2. For each candidate, gather (cheap commands; read only what's needed)
|
|
17
|
+
|
|
18
|
+
**What it is**, in one line. The first that exists:
|
|
19
|
+
1. `team-repos.yml` role.
|
|
20
|
+
2. README's first heading and paragraph. Skip boilerplate from a framework template.
|
|
21
|
+
3. Manifest description: `package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod` module path,
|
|
22
|
+
`pom.xml`/`build.gradle` artifact, `composer.json`.
|
|
23
|
+
4. `AGENTS.md`/`CLAUDE.md` first lines.
|
|
24
|
+
5. Its shape: main folders and entry point (e.g. "a Go service with `cmd/worker`").
|
|
25
|
+
|
|
26
|
+
**How it connects to the current repo.** Search the current repo (and the candidate) for any of
|
|
27
|
+
these, and quote one piece of evidence with `path:line`:
|
|
28
|
+
|
|
29
|
+
| Link | What to look for |
|
|
30
|
+
|---|---|
|
|
31
|
+
| Runtime calls | the candidate's name, hostnames, base-URL env vars, API paths, in code, `.env.example`, config |
|
|
32
|
+
| Contracts | OpenAPI/Swagger clients, GraphQL schemas, gRPC/protobuf files, generated SDKs naming the other service |
|
|
33
|
+
| Packages | one repo depends on the other's package (npm, PyPI, Go module, Maven, NuGet, internal registry) |
|
|
34
|
+
| Infrastructure | `docker-compose` services, Kubernetes/Helm manifests, Terraform, CI jobs that check out the other repo |
|
|
35
|
+
| Messages and data | queue or topic names, event names, a shared database or schema both mention |
|
|
36
|
+
| Code layout | git submodules, shared generated code, copied types |
|
|
37
|
+
| Docs | `README`, `AGENTS.md`, architecture docs saying "calls X" or "consumed by Y". A passing mention ("unlike X") is not a link |
|
|
38
|
+
|
|
39
|
+
**Whether the user works on it:** `git log --since=90.days --author="$(git config user.email)"
|
|
40
|
+
--oneline | wc -l`. Use it as a hint only. A new team member has no commits anywhere, so recommend
|
|
41
|
+
from code links and `team-repos.yml` alone, and don't mention commits.
|
|
42
|
+
|
|
43
|
+
**Owner:** `git remote get-url origin`. Same organisation is weak evidence, never enough alone.
|
|
44
|
+
|
|
45
|
+
## 3. Recommend, then ask once
|
|
46
|
+
|
|
47
|
+
Group the candidates:
|
|
48
|
+
- **I'd include**: the current repo, plus repos with a real link (any row above). Give the reason
|
|
49
|
+
and the evidence for each.
|
|
50
|
+
- **Probably not needed for this repo**: the rest, each with a short why ("no link found").
|
|
51
|
+
- **No links found at all?** Say so plainly and ask the user to describe which repos change together
|
|
52
|
+
with this one. Some systems connect only through a shared database or a message queue the code
|
|
53
|
+
doesn't name.
|
|
54
|
+
|
|
55
|
+
Shape of the question, with placeholders rather than real names:
|
|
56
|
+
|
|
57
|
+
> I found 6 repos under ~/code/github.com/acme. Based on the code, I'd include:
|
|
58
|
+
> - ✓ **orders-api**: this repo, the orders REST service (FastAPI)
|
|
59
|
+
> - ✓ **payments-worker**: a Go worker. `docker-compose.yml:31` runs it next to this API, and both
|
|
60
|
+
> use the `payment.requested` queue (`app/events.py:12`)
|
|
61
|
+
> - ✓ **storefront-web**: React app. Its generated client `src/api/orders.ts` is built from this
|
|
62
|
+
> repo's OpenAPI spec
|
|
63
|
+
>
|
|
64
|
+
> Probably not needed for this repo:
|
|
65
|
+
> - **design-tokens**, **marketing-site**, **old-admin**: no link to orders-api found
|
|
66
|
+
>
|
|
67
|
+
> Keep these three, or add any of the others (or a repo from another folder)? You can change this
|
|
68
|
+
> any time: "add old-admin to the workspace".
|
|
69
|
+
|
|
70
|
+
Rules:
|
|
71
|
+
- Never pick for the user silently, and never include a repo because it's in the same folder.
|
|
72
|
+
- Someone new should be able to answer "yes". An expert can adjust.
|
|
73
|
+
- Fewer repos is better: investigations search every listed repo, so extra ones cost tokens.
|
|
74
|
+
- Write nothing until they answer, and show the chosen repos again in the final summary.
|