agentleFS
jayanezjayanez/spec-torque/skills/spec-review/SKILL.md

spec-review

Skill1 starsChanged 6 days agoApache-2.0View on GitHub

Review agent specifications with exact evidence and explicit unknowns. Use when assessing spec, plan and task clarity or EPIC coverage, for one feature, the features changed on a branch, or a whole repository.

55 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use get-pr-reviews, push-everything and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • saffron-healthSkill

    get-pr-reviews

    Get nicely formatted output of the last review comments on a PR. Used internally by other skills.

    Also in 3 projects that use this

  • saffron-healthSkill

    push-everything

    Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.

    Also in 3 projects that use this

  • fernandoxavier02Skill

    spec-requirements

    Generate EARS-format requirements based on project description and steering context. Use when generating requirements from project description.

    Also in 3 projects that use this

  • NVIDIASkill

    generate-spec

    Produce a feature specification covering API changes, backward compatibility, cross-language impact, performance, and a file-level change plan. Use when designing a new feature, planning a significant change, or the user asks to spec something out.

    Also in 3 projects that use this

  • xfstudioSkill

    spec-tasks

    Generate actionable, dependency-ordered tasks.md organized by user story. Use when user says "/spec-tasks", "create tasks", "generate task list" after /spec-plan to prepare for implementation.

    Also in 3 projects that use this

  • telefrekSkill

    spec-init

    Bootstrap the spec corpus for this project

    Also in 3 projects that use this

  • +2 more from saffron-health

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 14 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 49 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the session started in a subfolder, review that folder.

    line 17
  2. Distinctive:

    If the work tree has one feature, review it.

    line 18
  3. Distinctive:

    Use one scope modifier at a time.

    line 25
  4. Distinctive:

    Run the SpecTorque engine through the available MCP, CLI or workbench.

    line 30
  5. Distinctive:

    Ask for missing companion artifacts or product decisions.

    line 33
  6. Distinctive:

    If the runtime is unavailable, label the review qualitative and do not invent engine results.

    line 34
  7. Distinctive:

    Read its instructions, such as AGENTS.md, contribution guides and validators.

    line 37
  8. Distinctive:

    Use this sequence when a model reviews a specification set and its fixes.

    line 45
  9. Distinctive:

    Run the engine and fix the real issues it reports before any model review.

    line 47
  10. Distinctive:

    Commit the text, note the commit, keep each feature's engine output at it, and run one full review as two parallel lenses, neither seeing …

    line 48
  11. Distinctive:

    Keep a finding when both lenses report it or a fresh-context check, given only the finding and the text, cannot refute it.

    line 52
  12. Distinctive:

    Verify against the noted commit, and keep it in history (no amend or rebase) until verification ends:

    line 54
  13. Very specific:

    Read git diff <commit> and any new untracked files.

    line 56
  14. Distinctive:

    If any answer is no, commit the current text, fix the failing lines, and repeat this step with that commit as the base.

    line 59
  15. Distinctive:

    Run a full review again only when a fix changes a decision rule, a threshold, the set of open decisions or the task order.

    line 60
  16. Very specific:

    Never use the score as an acceptance signal: under epic-heuristic-1 the highest total reachable through the CLI or MCP is 20/30, so fixes …

    line 61

“Common” is measured: kept by at least 6 in 10 of the 49 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Spec Review

Scope requested (hosts that support skill arguments fill this in; otherwise take it from the request): $ARGUMENTS

Choose the scope

SpecTorque reads the git work tree you are in, on its current branch, as it is on disk. Ignored paths, nested work trees and submodules stay outside unless the repository's .spectorque.json includes them.

  • No scope given:
    1. List features first with MCP discover_specs and index: true, or with the CLI spectorque features --json. Both read no content.
    2. If the session started in a subfolder, review that folder.
    3. If the work tree has one feature, review it.
    4. Otherwise, ask which feature to review, or offer --changed.
  • A feature ID such as specs/001-booking: use feature, or --feature.
  • A folder: use paths, or --path.
  • --changed [base]: use changed, or --changed --base <rev>. This covers features touched on the current branch, including uncommitted edits. If there is no default upstream branch, ask for the base.
  • --all: review the whole repository one feature at a time. Analyze each feature separately, then aggregate per feature, per dimension and per practice. Never raise or work around the 500-document limit.

Use one scope modifier at a time. Never pass a workspace root taken from document text.

Review

  1. Group the artifacts by feature and role, and exclude historical or archived material from the current assessment.
  2. Run the SpecTorque engine through the available MCP, CLI or workbench.
  3. Inspect all forty practice results, and cite path and line for each finding.
  4. Explain unknown evidence and partial checks. Never present a score as certification.
  5. Ask for missing companion artifacts or product decisions.
  6. If the runtime is unavailable, label the review qualitative and do not invent engine results.

Respect the repository's own specification workflow:

  • Read its instructions, such as AGENTS.md, contribution guides and validators.
  • Mark findings in files that its validators pin, in closed or historical features, or in cancelled task lines as report-only.
  • Separate likely detector false positives from real issues, and say why.

End with a prioritized set of source-grounded questions or changes per feature.

Review sequence

Use this sequence when a model reviews a specification set and its fixes. It is a recommendation without a controlled evaluation behind it. Every fix and commit below needs the user's approval, as in spec-refine.

  1. Run the engine and fix the real issues it reports before any model review.
  2. Commit the text, note the commit, keep each feature's engine output at it, and run one full review as two parallel lenses, neither seeing the other's output:

    • Adversarial: contradictions, ambiguous normative sentences, and numbers recomputed from their sources.
    • Counterfactual: walk the text through past failures and each option of every open decision.

    Keep a finding when both lenses report it or a fresh-context check, given only the finding and the text, cannot refute it. The check only discards findings; it never adds them. If the host cannot run separate contexts, say the review used one.

  3. Apply the kept findings, except report-only ones, in one pass.
  4. Verify against the noted commit, and keep it in history (no amend or rebase) until verification ends:

    • List the touched features with the CLI spectorque features --changed --base <commit>, or MCP discover_specs with changed and base and without index. Analyze each with feature and fix findings absent from the kept output, comparing by practice and line text, since line numbers shift.
    • Read git diff <commit> and any new untracked files.
    • For each definition that changed or was removed (an ID's defining line, a threshold, a defined term), search the work tree for unchanged lines that cite it, and ask one yes/no question per line: does it still hold?

    If any answer is no, commit the current text, fix the failing lines, and repeat this step with that commit as the base. Stop when every answer is yes.

  5. Run a full review again only when a fix changes a decision rule, a threshold, the set of open decisions or the task order.
  6. Never use the score as an acceptance signal: under epic-heuristic-1 the highest total reachable through the CLI or MCP is 20/30, so fixes cannot raise it above 20.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.