{"data":{"slug":"discovered-71118314d7247c79174c9846480686774c4244133afdbd83","title":"Spec Consolidate","summary":"Apply one or more spec-review findings files to a spec's merged range, merge duplicate findings, verify each against the code, apply confirmed ones, and ship one behaviour-preserving PR.","url":"https:\/\/skillshunter.net\/skills\/discovered-71118314d7247c79174c9846480686774c4244133afdbd83","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-71118314d7247c79174c9846480686774c4244133afdbd83","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-71118314d7247c79174c9846480686774c4244133afdbd83.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-71118314d7247c79174c9846480686774c4244133afdbd83\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Install `spec-review` and `blast-it` (if available) before using this skill. Prepare the spec, its merged range `<base>..<head>` with `<head>` pinned, and one or more findings files, each labelled by the reviewer that wrote it (its model).","instructions":"---\nname: spec-consolidate\ndescription: \"Apply one or more spec-review findings files to a spec's merged range: merge the duplicate findings, verify each against the code, apply the confirmed ones, and ship one behaviour-preserving PR.\"\ndisable-model-invocation: true\nlicense: MIT\n---\n\n# Spec Consolidate\n\n`spec-review` reads a spec's merged range and writes its findings to a file; several reviewers, each on its own model, may have read the same range. You turn their files into one PR that **consolidates** the spec, so it reads as if one author wrote it, the same author as the rest of the codebase.\n\n**Input**: the spec, its merged range `<base>..<head>` with `<head>` pinned, and one or more findings files, each labelled by the reviewer that wrote it (its model, say).\n\n**Decisions** are the product choices the spec records: decision sections in the issues, Deviations in the PR bodies, the user's replies. They are binding. Consolidation keeps behaviour exactly as it is; anything that would change it goes under **Open questions** with a concrete scenario.\n\nA finding is a lead, not proof: you judge every one against the code yourself, by the same rules whichever reviewer raised it. Judge a proposed move by `spec-review`'s [Judo moves](..\/spec-review\/SKILL.md#judo-moves) and [Fit](..\/spec-review\/SKILL.md#fit): prefer the move that deletes code over one that moves it, and the codebase's canonical helper over a new shared one.\n\n## Steps\n\n1. **Read.** The spec, every ticket, every PR body, and the repository's own conventions (`AGENTS.md`, `CLAUDE.md`, contributing and standards docs). Then every findings file, whole.\n2. **Merge.** Two findings are one when they touch the same code and propose the same change, whatever their wording; record every file and ID that raised it. Findings that touch the same code with different moves stay separate, for step 3 to choose between. Done when every finding in every file sits under exactly one merged finding.\n3. **Verify** each merged finding against the code at `<head>`: read its sites and trace its scenario, and reproduce a bug with a failing test where you can. Each one ends **confirmed**, **discarded** with the reason, or an **open question** when the change would alter behaviour or a Decision. Done when every merged finding has one of the three.\n4. **Apply** the confirmed findings, largest first. Run the repository's checks after each, so a consolidation that breaks behaviour is caught where it happened. Give each bug fixed a test. A move too large for one PR becomes a **follow-up**, with its plan.\n5. **Publish** one PR (with `blast-it` when it is installed). In the body:\n   - the consolidations: what merged into what, and the code it deleted;\n   - harmonisations and bugs fixed (file:line, the scenario, the fix and its test);\n   - **Open questions**, each with its scenario;\n   - follow-ups, each with its plan;\n   - discarded findings, one line each.\n\n   With nothing confirmed, publish no PR.\n\n## Report\n\nFinish with `PR <url>, head <sha>, checks <state>`, or `No PR: nothing confirmed` with the open questions. Then a **disposition** table with a row per finding in every file: its file and ID, what became of it (applied, discarded with the reason, open question, or follow-up), and the other files that raised the same finding. Done when the table accounts for every finding in every file and, with a PR, the repository's checks pass on its head.\n","use_cases":["Merge multiple spec-review findings into a single PR","Verify spec findings against the code at `<head>`","Apply confirmed findings and publish a behaviour-preserving PR","Generate a disposition table with findings from all files"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/deanvanniekerk\/skills\/blob\/9c482123a80e512be9234aad4b1a66f62d81a1b4\/skills\/spec-consolidate\/SKILL.md","source_commit":"9c482123a80e512be9234aad4b1a66f62d81a1b4","license":null,"version":null,"listing_approved_at":"2026-12-02","created_at":"2026-11-30T09:02:26.000000Z","updated_at":"2026-12-02T09:15:40.000000Z","seo_title":"Spec Consolidate - Merge and Apply Spec Review Findings into a Single,","seo_description":"Apply spec-review findings to a spec's merged range, merge duplicate findings, verify each against the code, apply confirmed ones, and ship one behaviour-preserving PR.","seo_keywords":["spec consolidate","spec review","spec findings","merged range","behaviour-preserving PR","code verification","spec consolidation tool"]}}