Agent skill

Speckit Critique Run

by opsmill in opsmill/infrahub

Perform a dual-lens critical review of the specification and plan from both product strategy and engineering risk perspectives before implementation.

Apache-2.0Auto-check passedProduct & Project Management

Install Speckit Critique Run

skills CLI
$ npx skills add opsmill/infrahub --skill speckit-critique-run -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install opsmill/infrahub speckit-critique-run --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/opsmill/infrahub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/speckit-critique-run .claude/skills/speckit-critique-run && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
speckit-critique-run
GitHub stars
533
Token cost
~3.3k tokens
SKILL.md length
1,600 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
Apache-2.0

At a glance

Perform a dual-lens critical review of the specification and plan from both product strategy and engineering risk perspectives before implementation.

  • Works in 9 steps: Run… → Load Critique Context → Product Lens Review (CEO/Product Lead… → …
  • Tasks that involve Spec-driven development
  • SKILL.md covers User Input, Pre-Execution Checks, Goal and Operating Constraints, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Speckit Critique Run is an agent skill from opsmill/infrahub. Perform a dual-lens critical review of the specification and plan from both product strategy and engineering risk perspectives before implementation.

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires spec-kit project structure with .specify/ directory

It sits in Product & Project Management, covering Spec-driven development and Product strategy. The repository describes itself as: Infrahub is a graph-based data management platform with built-in version control, CI workflows, peer review, and API access. It’s purpose-built to power reliable infrastructure… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Spec-driven development
  • Tasks that involve Product strategy

Example prompts

  • “/speckit-critique-run”

Requirements

  • Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Run .specify/scripts/bash/check-prerequisites.sh --json --include-tasks from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All…
  2. Load Critique Context
  3. Product Lens Review (CEO/Product Lead Perspective)
  4. Engineering Lens Review (Staff Engineer Perspective)
  5. Cross-Lens Synthesis
  6. Severity Classification
  7. Generate Critique Report
  8. Provide Verdict
  9. Offer Remediation

What it can do on your machine

Read from SKILL.md and the folder at commit 2e1f1eb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires spec-kit project structure with .specify/ directory

    From compatibility in the SKILL.md frontmatter.

Context cost

Speckit Critique Run loads about 3.3k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 1,600 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from opsmill/infrahub at commit 2e1f1eb, republished under its Apache-2.0 licence (© opsmill). 1,600 words, ~3,299 tokens.

Download SKILL.mdSave it as .claude/skills/speckit-critique-run/SKILL.md (or your agent's skills folder).
name
speckit-critique-run
description
Perform a dual-lens critical review of the specification and plan from both product strategy and engineering risk perspectives before implementation.
compatibility
Requires spec-kit project structure with .specify/ directory
metadata.author
github-spec-kit
metadata.source
critique:commands/run.md

User Input

text
$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Pre-Execution Checks

Check for extension hooks (before critique):

  • Check if .specify/extensions.yml exists in the project root.
  • If it exists, read it and look for entries under the hooks.before_critique key
  • If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
  • Filter out hooks where enabled is explicitly false. Treat hooks without an enabled field as enabled by default.
  • For each remaining hook, do not attempt to interpret or evaluate hook condition expressions:
    • If the hook has no condition field, or it is null/empty, treat the hook as executable
    • If the hook defines a non-empty condition, skip the hook and leave condition evaluation to the HookExecutor implementation
  • For each executable hook, output the following based on its optional flag:
    • Optional hook (optional: true):
      ## Extension Hooks
      
      **Optional Pre-Hook**: {extension}
      Command: `/{command}`
      Description: {description}
      
      Prompt: {prompt}
      To execute: `/{command}`
    • Mandatory hook (optional: false):
      ## Extension Hooks
      
      **Automatic Pre-Hook**: {extension}
      Executing: `/{command}`
      EXECUTE_COMMAND: {command}
      
      Wait for the result of the hook command before proceeding to the Outline.
  • If no hooks are registered or .specify/extensions.yml does not exist, skip silently

Goal

Challenge the specification and implementation plan through two distinct expert lenses BEFORE committing to implementation. The Product Lens evaluates whether the right problem is being solved in the right way for users. The Engineering Lens evaluates whether the technical approach is sound, scalable, and free of hidden risks. This dual review prevents costly mid-implementation pivots and catches strategic and technical blind spots early.

Operating Constraints

STRICTLY READ-ONLY FOR EXISTING ARTIFACTS: During this command, do not directly modify existing project files such as spec.md, plan.md, or other source/docs. You may create a new critique report under FEATURE_DIR/critiques/critique-{timestamp}.md. Propose, but do not apply, edits to spec.md/plan.md; applying any changes requires explicit user approval in a follow-up step or command after the user reviews the findings.

CONSTRUCTIVE CHALLENGE: The goal is to strengthen the spec and plan, not to block progress. Every critique item must include a constructive suggestion for improvement.

Constitution Authority: The project constitution (.specify/memory/constitution.md) defines non-negotiable principles. Any spec/plan element conflicting with the constitution is automatically a 🎯 Must-Address item.

Outline

  1. Run .specify/scripts/bash/check-prerequisites.sh --json --include-tasks from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").

  2. Load Critique Context:

    • REQUIRED: Read spec.md for requirements, user stories, and acceptance criteria
    • REQUIRED: Read plan.md for architecture, tech stack, and implementation phases
    • IF EXISTS: Read .specify/memory/constitution.md for governing principles
    • IF EXISTS: Read tasks.md for task breakdown (if already generated)
    • IF EXISTS: Read previous critique reports in FEATURE_DIR/critiques/ for context
  3. Product Lens Review (CEO/Product Lead Perspective):

    Adopt the mindset of an experienced product leader who cares deeply about user value, market fit, and business impact. Evaluate:

    3a. Problem Validation
    • Is the problem statement clear and well-defined?
    • Is this solving a real user pain point, or is it a solution looking for a problem?
    • What evidence supports the need for this feature? (user research, data, customer requests)
    • Is the scope appropriate — not too broad (trying to do everything) or too narrow (missing the core value)?
    3b. User Value Assessment
    • Does every user story deliver tangible user value?
    • Are the acceptance criteria written from the user's perspective (outcomes, not implementation)?
    • Is the user journey complete — or are there gaps where users would get stuck?
    • What's the simplest version that would deliver 80% of the value? (MVP analysis)
    • Are there unnecessary features that add complexity without proportional value?
    3c. Alternative Approaches
    • Could a simpler solution achieve the same outcome?
    • Are there existing tools, libraries, or services that could replace custom implementation?
    • What would a competitor's approach look like?
    • What would happen if this feature were NOT built? What's the cost of inaction?
    3d. Edge Cases & User Experience
    • What happens when things go wrong? (error states, empty states, loading states)
    • How does this feature interact with existing functionality?
    • Are accessibility considerations addressed?
    • Is the feature discoverable and intuitive?
    • What are the onboarding/migration implications for existing users?
    3e. Success Measurement
    • Are the success criteria measurable and time-bound?
    • How will you know if this feature is successful after launch?
    • What metrics should be tracked?
    • What would trigger a rollback decision?
  4. Engineering Lens Review (Staff Engineer Perspective):

    Adopt the mindset of a senior staff engineer who has seen projects fail due to hidden technical risks. Evaluate:

    4a. Architecture Soundness
    • Does the architecture follow established patterns for this type of system?
    • Are boundaries and interfaces well-defined (separation of concerns)?
    • Is the architecture testable at each layer?
    • Are there circular dependencies or tight coupling risks?
    • Does the architecture support future evolution without major refactoring?
    4b. Failure Mode Analysis
    • What are the most likely failure modes? (network failures, data corruption, resource exhaustion)
    • How does the system degrade gracefully under each failure mode?
    • What happens under peak load? Is there a scaling bottleneck?
    • What are the blast radius implications — can a failure in this feature affect other parts of the system?
    • Are retry, timeout, and circuit-breaker strategies defined?
    4c. Security & Privacy Review
    • What is the threat model? What attack vectors does this feature introduce?
    • Are trust boundaries clearly defined (user input, API responses, third-party data)?
    • Is sensitive data handled appropriately (encryption, access control, retention)?
    • Are there compliance implications (GDPR, SOC2, HIPAA)?
    • Is the principle of least privilege followed?
    4d. Performance & Scalability
    • Are there potential bottlenecks in the data flow?
    • What are the expected data volumes? Will the design handle 10x growth?
    • Are caching strategies appropriate and cache invalidation well-defined?
    • Are database queries optimized (indexing, pagination, query complexity)?
    • Are there resource-intensive operations that should be async or batched?
    4e. Testing Strategy
    • Is the testing plan comprehensive (unit, integration, E2E)?
    • Are the critical paths identified for priority testing?
    • Is the test data strategy realistic?
    • Are there testability concerns (hard-to-mock dependencies, race conditions)?
    • Is the test coverage target appropriate for the risk level?
    4f. Operational Readiness
    • Is observability planned (logging, metrics, tracing)?
    • Are alerting thresholds defined?
    • Is there a rollback strategy?
    • Are database migrations reversible?
    • Is the deployment strategy clear (blue-green, canary, feature flags)?
    4g. Dependencies & Integration Risks
    • Are third-party dependencies well-understood (stability, licensing, maintenance)?
    • Are integration points with existing systems well-defined?
    • What happens if an external service is unavailable?
    • Are API versioning and backward compatibility considered?
  5. Cross-Lens Synthesis: Identify items where both lenses converge (these are highest priority):

    • Product simplification that also reduces engineering risk
    • Engineering constraints that affect user experience
    • Scope adjustments that improve both value delivery and technical feasibility
  6. Severity Classification: Classify each finding:

    • 🎯 Must-Address: Blocks proceeding to implementation. Critical product gap, security vulnerability, architecture flaw, or constitution violation. Must be resolved before /speckit.tasks.
    • 💡 Recommendation: Strongly suggested improvement that would significantly improve quality, value, or risk profile. Should be addressed but won't block progress.
    • 🤔 Question: Ambiguity or assumption that needs stakeholder input. Cannot be resolved by the development team alone.
  7. Generate Critique Report: Ensure the directory FEATURE_DIR/critiques/ exists (create it if necessary), then create the critique report at FEATURE_DIR/critiques/critique-{timestamp}.md using .specify/templates/critique-template.md as the required structure. The report must include:

    • Executive Summary: Overall assessment and readiness to proceed
    • Product Lens Findings: Organized by subcategory (3a-3e)
    • Engineering Lens Findings: Organized by subcategory (4a-4g)
    • Cross-Lens Insights: Items where both perspectives converge
    • Findings Summary Table: All items with ID, lens, severity, summary, suggestion

    Findings Table Format:

    IDLensSeverityCategoryFindingSuggestion
    P1Product🎯Problem ValidationNo evidence of user needConduct 5 user interviews or reference support tickets
    E1Engineering💡Failure ModesNo retry strategy for API callsAdd exponential backoff with circuit breaker
    X1Both🎯Scope × RiskFeature X adds complexity with unclear valueDefer to v2; reduces both scope and technical risk
  8. Provide Verdict: Based on findings, provide one of:

    • ✅ PROCEED: No must-address items. Spec and plan are solid. Run /speckit.tasks to proceed.
    • ⚠️ PROCEED WITH UPDATES: Must-address items found but are resolvable. Offer to apply fixes to spec/plan, then proceed.
    • 🛑 RETHINK: Fundamental product or architecture concerns. Recommend revisiting the spec with /speckit.specify or the plan with /speckit.plan.
  9. Offer Remediation: For each must-address item and recommendation:

    • Provide a specific suggested edit to spec.md or plan.md
    • Ask: "Would you like me to apply these changes? (all / select / none)"
    • If user approves, apply changes to the relevant files
    • After applying changes, recommend re-running /speckit.critique to verify
Show full SKILL.md (209 more words)Show less

Post-Critique Actions

Suggest next steps based on verdict:

  • If PROCEED: "Run /speckit.tasks to break the plan into actionable tasks"
  • If PROCEED WITH UPDATES: "Review the suggested changes, then run /speckit.tasks"
  • If RETHINK: "Consider running /speckit.specify to refine the spec or /speckit.plan to revise the architecture"

Check for extension hooks (after critique):

  • Check if .specify/extensions.yml exists in the project root.
  • If it exists, read it and look for entries under the hooks.after_critique key
  • If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
  • Filter out hooks where enabled is explicitly false. Treat hooks without an enabled field as enabled by default.
  • For each remaining hook, do not attempt to interpret or evaluate hook condition expressions:
    • If the hook has no condition field, or it is null/empty, treat the hook as executable
    • If the hook defines a non-empty condition, skip the hook and leave condition evaluation to the HookExecutor implementation
  • For each executable hook, output the following based on its optional flag:
    • Optional hook (optional: true):
      ## Extension Hooks
      
      **Optional Hook**: {extension}
      Command: `/{command}`
      Description: {description}
      
      Prompt: {prompt}
      To execute: `/{command}`
    • Mandatory hook (optional: false):
      ## Extension Hooks
      
      **Automatic Hook**: {extension}
      Executing: `/{command}`
      EXECUTE_COMMAND: {command}
  • If no hooks are registered or .specify/extensions.yml does not exist, skip silently

© opsmill, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/speckit-critique-run of opsmill/infrahub.

Open the folder on GitHubat commit 2e1f1eb

Compare with similar skills

Speckit Critique Run next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Speckit Critique Run compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Speckit Critique Run this skillopsmill/infrahub533—~3.3kAutomated safety check: PassApache-2.0
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Product Requirements Documentowainlewis/blueprint412—~766Automated safety check: PassMIT
Spec Workflowhashgraph-online/awesome-codex-plugins1.3k—~2.1kAutomated safety check: PassApache-2.0
Game Changing FeaturesopenstatusHQ/data-table-filters2.3k3 repos~2.1kAutomated safety check: PassMIT
Organic Growth Path Advisordeanpeters/Product-Manager-Skills7.2k2 repos~5.2kAutomated safety check: PassCustom licence

Similar skills

  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Product Requirements Document

    owainlewis/blueprint

    Creates or updates a long-running REQUIREMENTS.md that defines a system's users, outcomes, capabilities, business rules, scope and acceptance conditions.

    412 GitHub stars~766 tokensUpdated 3 days ago
    Product & Project ManagementAuto-check passed
  • Spec Workflow

    hashgraph-online/awesome-codex-plugins

    This skill should be used when the user asks to "create a spec", "write requirements", "design a feature", "plan implementation", "use EARS notation", "create user stories", "break down tasks"…

    1.3k GitHub stars~2.1k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Game Changing Features

    openstatusHQ/data-table-filters

    Find 10x product opportunities and high-leverage improvements.

    2.3k GitHub starsUsed in 3 repos~2.1k tokens
    Product & Project ManagementAuto-check passed
  • Organic Growth Path Advisor

    deanpeters/Product-Manager-Skills

    Diagnoses where a growth constraint lives and recommends one organic growth path from the McKinsey Growth Pyramid to test first.

    7.2k GitHub starsUsed in 2 repos~5.2k tokens
    Product & Project ManagementAuto-check passed
  • Product Strategist

    alirezarezvani/claude-skills

    OKR cascade toolkit for product leaders: generates aligned company-to-team OKRs from five strategy types and scores how well they line up.

    28k GitHub starsUsed in 2 repos~1.8k tokens
    Product & Project ManagementAuto-check passed

More from opsmill/infrahub

All 32 skills in this repo
  • Analyzing CI Flakiness

    opsmill/infrahub

    Analyzes recent CI failures on pull requests to identify flaky tests, using retry outcomes (failed attempt → green re-run) and cross-PR recurrence as evidence, and maintains a local longitudinal…

    533 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Audit Docs

    opsmill/infrahub

    Audits internal (dev/) and external (docs/) documentation completeness for a feature, subject, or set of existing docs, maps changes indicated by the user, across Infrahub's documentation layers…

    533 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Commit

    opsmill/infrahub

    Stages and commits the current changes onto a safe working branch, enforcing branch discipline and optionally pushing upstream.

    533 GitHub stars~2.8k tokensUpdated today
    Auto-check: notes
  • A skill your agent uses when you've fixed a bug, added a feature, or made any user-facing change in a project that uses Towncrier and need to record it for the changelog — before committing or…

    533 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Creating Issues

    opsmill/infrahub

    Turns a single feature idea, improvement, or bug into ONE well-structured GitHub issue.

    533 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Creating Prd

    opsmill/infrahub

    Synthesises the current conversation context into a Product Requirements Document and publishes it to GitHub (as a comment on a referenced issue, or a new issue).

    533 GitHub stars~4k tokensUpdated today
    Auto-check passed

Questions about Speckit Critique Run

What does Speckit Critique Run do?

Perform a dual-lens critical review of the specification and plan from both product strategy and engineering risk perspectives before implementation. Speckit Critique Run is an agent skill from opsmill/infrahub. Perform a dual-lens critical review of the specification and plan from both product strategy and engineering risk perspectives before implementation.

When should I use Speckit Critique Run?

Speckit Critique Run fits situations like: tasks that involve Spec-driven development; tasks that involve Product strategy.

How do I install Speckit Critique Run in Claude Code?

Run `npx skills add opsmill/infrahub --skill speckit-critique-run -a claude-code`. Or copy the skill folder (.agents/skills/speckit-critique-run in opsmill/infrahub) into .claude/skills/speckit-critique-run in your project. Claude Code loads it when a task matches its description.

How do I install Speckit Critique Run in Codex?

Run `npx skills add opsmill/infrahub --skill speckit-critique-run -a codex`. Or copy the skill folder (.agents/skills/speckit-critique-run in opsmill/infrahub) into .agents/skills/speckit-critique-run in your project. Codex loads it when a task matches its description.

Can I use Speckit Critique Run in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add opsmill/infrahub --skill speckit-critique-run -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/speckit-critique-run, .gemini/skills/speckit-critique-run, .github/skills/speckit-critique-run and .opencode/skills/speckit-critique-run in your project.

What does Speckit Critique Run need to run?

SKILL.md names no scripts, command-line tools or credentials: Speckit Critique Run is instructions for the agent only. Compatibility (from SKILL.md): Requires spec-kit project structure with .specify/ directory.

Does Speckit Critique Run access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Speckit Critique Run safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Speckit Critique Run use?

Speckit Critique Run is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Speckit Critique Run use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Speckit Critique Run?

Skills that share tags, products or a category with Speckit Critique Run: CCPM Project Management (automazeio/ccpm, 8.4k stars), Product Requirements Document (owainlewis/blueprint, 412 stars), Spec Workflow (hashgraph-online/awesome-codex-plugins, 1.3k stars) and Game Changing Features (openstatusHQ/data-table-filters, 2.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Speckit Critique Run?

opsmill (a GitHub organization) maintains it in opsmill/infrahub, which has 533 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 9, 2026.

Source: opsmill/infrahub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.