Skip to content
Back to skills

Spec Change

ASecurity

The requirements path of ReqSeq from a wish to a merged spec change and checked issues - dependency check, mockup for a visible change, concept and its review, approval of the wording, spec PR, issue cut and issue check - with the ReqSeq CLI or MCP. Use as soon as a wish, a question or a bug could change an element in spec/ (requirement, acceptance criterion, decision, glossary term, relation), before the first question, mockup, decision card or element change, and for every spec PR.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 19, 2026
ai-agentsgonodegitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add ThomasBirkmaier/ReqSeq --skill spec-change --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Change?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Change
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thomasbirkmaier-spec-change/badge)](https://www.skillsdirectory.com/skills/thomasbirkmaier-spec-change)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec-change
description: The requirements path of ReqSeq from a wish to a merged spec change and checked issues - dependency check, mockup for a visible change, concept and its review, approval of the wording, spec PR, issue cut and issue check - with the ReqSeq CLI or MCP. Use as soon as a wish, a question or a bug could change an element in spec/ (requirement, acceptance criterion, decision, glossary term, relation), before the first question, mockup, decision card or element change, and for every spec PR.
---

# Changing the spec

The product owner follows a spec change by these steps and should not have to check the process themselves. Keep one checklist line per step. A step is done, or it reads "not needed, because …". Every message that asks for an approval names the step, what was checked and what comes next. An approval covers only the step it was asked for: approving a mockup or a concept does not approve the wording, the issue cut, a status or the implementation.

1. **Dependency check**, before any question, mockup, card or element change (below). Result: the touchpoints. It also lists the open spec PRs, drafts too, that change the same elements (`gh api 'repos/ThomasBirkmaier/ReqSeq/pulls?state=open&per_page=100' --jq '.[].number'`, then the `spec/` files of each), and the open issues that one of those PRs closes (`Closes #`) whose SR line names the same SRs; on an overlap, this change waits for the other or both go into one spec PR (an exception to one SR per PR), so one SR is changed in one place at a time.
2. **Content change?** Yes for a new or superseding element, a changed title, text or acceptance criterion, a new or removed relation (CLAUDE.md, How we work). No for confirming outdated relations, setting a status or fixing a typo: say why and go on with step 7; a status still needs the decision that "Status is set by people" asks for.
3. **Open questions** the concept needs, each with a recommendation; wait for the answers (Questions before the spec PR).
4. **Mockup**, when the change alters what the app shows or how it is operated: a clickable mockup (an Artifact where the session has one) in the app's real sizes (window, card width, font size), shown to the product owner before the concept is written; the concept review reads it too (its path or link in the review prompt). The spec PR's Mockup heading says what it showed and that it was shown, without a link. Not needed when the product owner waives it, or when the change adds, moves or removes no visible element and changes no interaction (a text, a value, a colour).
5. **Concept and its review.** The concept has the edge cases and the proposed cut into issues with their SR lines; `fable-reviewer` reviews it once, or, for a small change, an Opus agent does after the wording is written (below).
6. **Approval of the wording and the issue cut**, with the questions the review raised, on one decision card. Before the card, a fresh Opus agent at effort high, which reads and changes nothing but its result file, checks the wording once (prompt: the wording, the current text of the changed elements, the reviewed concept and its review, the result file, and the finding format of `.claude/agents/fable-reviewer.md`) against the concept, the decisions and SRs it cites, and these edge cases: a closed list ("exactly …, any other not"), a length, count or set of characters without a bound, a missing or unreadable file or repository, and the empty case; its high findings are fixed in the wording or become questions on the card, the others are fixed or named on the card with a reason. A wording changed only by these fixes is not checked again. A small change (below) has no separate wording check: its one review read the wording with the concept. A status follows "Status is set by people": when the change alters the content of an element whose status the metamodel marks neither as initial nor as invalid (such as Approved), the card asks in a question of its own whether that status is set again after the change, because approving the wording does not decide it.
7. **Spec PR.** Its text has these headings: Content change, Mockup, Dependency check, Concept review, Outdated relations, Issue cut; each says what was done or why it was not needed. Concept review also names the wording check of step 6 (number of findings, what was done with each high one), or for a small change that its one review read the wording.
8. **Issues and their check**, after the spec PR has merged, never before. Create the issues from the approved cut (CLAUDE.md, Issues). Before work on the first of them starts, run `pnpm issue-check --epic <n> --require "<what the PR added or changed, as an SR line: SR-210, SR-061 (AK2)>"` for the countable part (a cut without an epic: `--issue <n>` per issue in place of `--epic`), and a fresh agent reads them in full against the concept, the approved wording and the merged spec PR: every acceptance criterion the PR added, changed or removed, and every SR it superseded, is in the SR line of an issue or the check says why none is needed (for example the tagged test that already shows it), the SR line of an epic equals the union of its sub-issues, the order works, and no issue goes beyond the approved wording. Fix the gaps in the issues, then post the result as a comment on the epic (where the cut has no epic, on each of its issues): the issues read, each gap and its fix, and what was not checked; report its link to the product owner.
9. **Implementation** starts right after step 8, also at night: the issues whose order allows it start at once and in parallel, each in a PR of its own. Work on an issue starts only after the issue-check comment is posted, and the `implementer` prompt links it.

**Answers to questions.** A `question` on an AK that comes up in implementation or review is answered by the product owner and goes into the spec by this path again: a follow-up spec PR, from step 1, with step 2 deciding whether it is a content change. Issues it adds or changes, also in an existing epic, get their own issue check (step 8) before work on them starts; the `implementer` prompt and the PR link the latest check comment.

## Mechanics

**ReqSeq's own skill.** `.claude/skills/managing-requirements/SKILL.md` is the skill ReqSeq writes for every workspace (`tool guide --skill --write`, SR-229), with the same content at `.agents/skills/managing-requirements/SKILL.md` for other clients; nobody edits either by hand. Use its steps for the ReqSeq commands: its impact check is the core of the dependency check below, and its flows give the calls for creating, relating, superseding and checking. This skill adds what applies in this repository on top of it and wins where the two differ: no `element create` or content change before the approved wording (steps 1 to 6), in a spec PR of its own, and no evidence written by hand: `spec/evidence/ci/` is written only by `evidence.yml` (CLAUDE.md, Traceability), and a record of another method only after a person confirmed `verification/SR-xxx.md` (`verification/README.md`). Where it reads differently from this skill in another way, one of them is wrong: a fault of ReqSeq's skill is a `bug` from own use (CLAUDE.md, Issues), a fault of this one is fixed here.

`spec/` is a ReqSeq workspace, and `spec/README.md` has the layout and the common commands. ReqSeq changes it, nothing else does: `node packages/cli/dist/bin.js element create|update|set-status|supersede ... --workspace spec`, or the MCP server `node packages/cli/dist/bin.js mcp --workspace spec` (server `reqseq` in `.mcp.json`, after `pnpm build`). An `element update` of the title, the text or single list items needs `--expected-file-sha256` with the `fileSha256` that `element get` gave (#269). Change one acceptance criterion with `--set-items 'acceptance-criteria={"2":"…"}'` (position from 1, as the AK number; the next position appends), not by sending the whole list (#177). A spec PR holds no code change; changes that belong together (one wish, one review pass) share it. It must pass `pnpm spec:check`. A new spec ID (`spec-id`, such as SR-036) takes the next number after the highest one on `main` and in the open spec PRs, because ReqSeq sees only the working tree: `git fetch origin && git grep -h -o 'spec-id: "\?SR-[0-9]*' $(git for-each-ref --format='%(refname:short)' refs/remotes/origin | grep -v '^origin$') -- spec/ | grep -o 'SR-[0-9]*' | sort -t- -k2 -n | tail -1` (for other prefixes, replace `SR`). `pnpm trace-check` reports an SR spec ID used twice, and `pnpm spec:check` warns about any duplicate spec ID, once both are on one branch. The metamodel (`spec/metamodel/`) is changed with the metamodel commands (SR-236 to SR-240: `metamodel.addType`, `changeType`, `removeType`, and the same for properties, relation kinds and statuses; `metamodel.get` shows it; through the CLI or the MCP server like the element commands), in such a PR; a change no command covers, such as the header comment that lists the deviations from the standard model, is made by hand and the PR says why. `spec/reqseq-workspace.yaml` is changed by hand, except its pinned ReqSeq version (`reqseq-version`), which only the version PR of a release sets, with `workspace pin-version` (`merge`, Release).

**Dependency check first.** Every new or changed element starts with its touchpoints, before any question, card or element change: `trace affected <ref>` for each element the change touches, `hint list --ref <ref>` for the hints open on them, and one `element search` per changed or new term and per `synonyms` entry of its glossary term (every word of one query must match, so a combined query finds too little). For a new element, the elements it will relate to and those the `element search` finds are its touchpoints, and `trace affected` runs on each of them. `trace` follows relations and inline references only, not words in a text: for the glossary term „Paket“ it returns 1 affected element, while 48 SR files contain the word. Read each touchpoint against the change. For every content change of the spec (step 2), write a concept with its edge cases, have it reviewed once by the independent agent `fable-reviewer` (prompt: `Case: concept review`, the path of the concept, the result file) (by an Opus agent at effort high when the product owner names Opus for it), which also checks the cut into issues and lists what must change in the issues of the SRs involved, and only then put it on a decision card. A small change, which changes or adds at most one acceptance criterion and adds no element, glossary term or decision, has one review instead, after its wording is written: a fresh Opus agent at effort high, which reads and changes nothing but its result file, reads the concept, the wording, the current text of the changed elements and the mockup if there is one, and answers the questions of both the concept review (including the cut into issues) and the wording check of step 6, in the finding format of `.claude/agents/fable-reviewer.md`. The spec PR names the concept review (number of findings and what was done with each high one; findings about code or tests are checked against them first) and each touchpoint and what was done with it: unchanged and why, changed in the PR, or a `question` issue; the outdated relations after the change follow the paragraph below.

**Glossary terms.** A new glossary term names an `english-term` that no other term carries; a short form is the last word of the phrase and only where that word is not another term's value (metamodel, #1428). A changed `english-term` lists the places in `schemas/`, `packages/` and `docs/guide/` that use the old word as touchpoints.

**Questions before the spec PR.** When a wish leaves anything open (a value, a scope, a choice between variants), ask the product owner first, on a decision card or in the thread, with a recommendation for each question, and wait for the answers with the element and the spec PR; work that does not depend on them goes on. Only then create or change the element and open the spec PR. Never write a draft element on your own assumptions to have them confirmed later; an assumption in a spec PR is allowed only where the product owner said to proceed without an answer.

**Texts.** They are German and carry exactly what the product owner decided, with nothing added, left out or reinterpreted. Decisions in `spec/decision/` are about the system, not about the way of working. They read as requirement text, not as a quote of the chat; a rationale states the reason in neutral words, without person or date (CLAUDE.md, Repository text). Before a new SR, check whether an existing SR or decision already covers the wish. A new SR links the glossary terms of its text inline at their first occurrence (`[Term](reqseq:<uuid>)`, the UUID of the glossary entry); existing SRs are not changed for this. Add a relation only where its kind holds between the two elements (for example, one derives from, refines or rests on the other), not for a loose connection. A wish of the product owner becomes a draft element in the package of its topic once its open questions are answered (above); it has no issue. An idea of an agent goes to the product owner as a proposal in the thread first. A pure bug stays an issue, with a reproduction or a failing test (issue threshold in CLAUDE.md).

**Status is set by people.** An agent changes a status only to carry out a decision the product owner stated explicitly: on a decision card, in an issue comment or in the chat. The PR and the commit state what was decided and, where the decision gives one, why, in neutral words (CLAUDE.md, Repository text); an issue comment is named by its link, a card or a chat statement by a paraphrase of what it decided, without person or date. An agent never sets an approving status on text it wrote itself, with one exception: the product owner accepted these elements by name, on a decision card or in the chat, for a text that exists or explicitly in advance for a text still to be reviewed. That counts as the product owner's own acceptance. Superseding the predecessor is allowed in the same PR. Successors an agent wrote are accepted by the product owner in person, in the chat or on a decision card, prompted on a decision card or in the thread. When a change alters the version of an element whose status is neither initial nor invalid (its text, acceptance criteria or properties that count for the version; not the title or relations), the element differs from its status version, if one is recorded, and the check warns until the status is set again, the element is superseded, or its version matches the status version again (SR-175); the warning cannot be confirmed, so the spec PR carries the status decision of step 6 or names the warning that stays.

**Packages and issues.** Packages give the structure of the spec by topic, not the schedule. Every SR and need is in exactly one topic package; a new one goes into the package of its topic, set with `element update <ref> --workspace spec --set 'packages=[{"id":"<UUID>"}]'` (`element get <package> --workspace spec` gives the UUID). No script creates issues from the spec: issues are the reviewed cut of a spec change (step 8), and get their milestone and epic as CLAUDE.md, Issues says.

**Criterion numbers in prose.** Each acceptance criterion carries a criterion key that ReqSeq gives it and keeps when it moves (SR-204); tests name it by that key (`[SR-047/AK-k7f3]`, CLAUDE.md, Traceability), so they need no change. Prose names it by its number („SR-047 AK3“ in element texts and rationales, decisions, ADRs, docs, `verification/` and code comments), and that number shifts. When a spec PR inserts, moves or removes a criterion, find the prose references to that SR's criteria from the changed position on: `git grep -n -E 'SR-047 AK[0-9]|SR-047/AK[0-9]'` outside `spec/evidence/`, and `element search "SR-047"` for the elements. Correct the elements in the same spec PR with ReqSeq, and list the references outside `spec/` in its text; the PR that implements the change corrects them by hand. Stored records in `spec/evidence/` are never rewritten (D-076).

**Outdated relations in the same PR.** A content change of an element makes every relation and reference that points at it outdated (`relation.outdated`, SR-025). Before opening the spec PR, list them with `node packages/cli/dist/bin.js hint list --workspace spec --kind relation.outdated --json` and take those whose `targetIdentifier` is an element the PR changed. Read each source against the change, and either confirm the hint with `hint confirm --workspace spec --hint-ids <hintId>` (SR-027; it changes only the stored versions and titles of the targets) or change the source in the same PR when the change contradicts it. The PR text names the sources and the result. A superseded source whose text no longer matches the target is neither confirmed nor changed; its hint stays open.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.