Spec-Kit Implementation Review

VerifiedCaution

Structured code review of completed implementation work, with validation against specifications and task status updates.

Sby Skills Guide Bot
DevelopmentIntermediate
8/10/2026
Claude Code
#code-review#spec-kit#task-tracking#quality-gates#git-diff

Recommended for

Automated summary

Performs a structured code review of completed implementation work, validates it against specifications, and updates task status in tasks.md.

Strengths

  • Checks implementation against spec.md acceptance criteria and plan.md design decisions
  • Runs the project test suite and applies quality gates before deciding
  • Produces three review outcomes and only marks tasks done when approved

Limitations

  • Requires a spec-kit project with .specify/ scripts and feature files
  • Assumes a Git diff such as main..HEAD and known test commands
  • Does not fix issues; it only reviews and updates task status
When to use it

Use it to review completed spec-kit tasks before merging.

When not to use it

Avoid it on projects without spec-kit structure or when you need code fixes rather than a review.

Security analysis

Caution
Quality score88/100

The skill instructs running bash commands and sourcing repository scripts, which is a legitimate part of a spec-kit workflow but involves executing untrusted code from the current project. There is no destructive or exfiltration intent, but the reliance on shell execution warrants caution.

Findings
  • •Executes shell scripts from the repository (.specify/scripts/bash/common.sh and mark-task-status.sh) without verifying their contents.
  • •Runs project-specific test commands (npm test, pytest, cargo test, go test, ./gradlew test) that may have arbitrary side effects defined in the project.
How this analysis is made

Examples

Review a specific task
Review task T001 for the current spec-kit feature against spec.md and plan.md, run the tests, and mark it done only if it passes.
Review pending tasks
Review all pending tasks in tasks.md for this feature, check the diff against main, run the test suite, and report whether the work is ready to merge.
Spec alignment check
Do a spec-kit review of the latest implementation changes and tell me if any acceptance criteria or quality gates are missing before I merge.

name: speckit-review description: Review completed implementation work and update task status. compatibility: Requires spec-kit project structure with .specify/ directory metadata: author: github-spec-kit source: workflows:commands/review.md

The user input to you can be provided directly by the agent or as a command argument - you MUST consider it before proceeding with the prompt (if not empty).

User input:

$ARGUMENTS

Overview

Perform structured code review of completed implementation work, validate against specifications, and update task status in tasks.md.

Steps

1. Load Context

Run script to get feature paths and information:

cd "$(git rev-parse --show-toplevel)" && \
source .specify/scripts/bash/common.sh && \
get_feature_paths

This provides:

  • FEATURE_DIR - Feature directory path
  • FEATURE_SPEC - Specification file (spec.md)
  • IMPL_PLAN - Implementation plan (plan.md)
  • TASKS - Task list (tasks.md)

Load these files to understand:

  • Feature requirements and acceptance criteria
  • Implementation approach and design decisions
  • Task breakdown and current status

2. Identify Review Target

If user provided task ID (e.g., "T001" in arguments):

  • Review that specific task
  • Focus review on changes related to that task

If no task ID provided:

  • Review all pending tasks (marked with [ ] in tasks.md)
  • Or review most recent code changes
  • Ask user which tasks to review if unclear

3. Review Implementation

Conduct thorough review:

A. Load Code Changes

# Show recent changes
git diff main..HEAD

# Or show diff for specific files
git diff main..HEAD -- path/to/file

B. Verify Against Specification

  • Check if implementation meets acceptance criteria in spec.md
  • Verify design decisions from plan.md are followed
  • Ensure behavior matches expected outcomes

C. Check Code Quality

  • Look for bugs, edge cases, error handling
  • Check code clarity and maintainability
  • Verify proper testing coverage
  • Check documentation completeness
  • Flag placeholder/TODO/FIXME code within the implementation scope

D. Run Tests (if available)

# Run test suite based on project structure
npm test              # Node.js projects
pytest                # Python projects
cargo test            # Rust projects
go test ./...         # Go projects
./gradlew test        # Java/Kotlin projects

E. Validate Against Quality Gates

  • Code follows project standards
  • Tests exist and pass
  • Edge cases handled
  • Documentation adequate
  • No obvious security issues
  • No placeholder/TODO/FIXME code left in reviewed scope unless justified and tracked

4. Determine Review Outcome

Choose one of three outcomes:

Approved - Implementation Ready

Criteria:

  • All acceptance criteria met
  • All tests passing
  • No blocking issues found
  • Code quality acceptable
  • Ready to merge

Approved with Minor Notes

Criteria:

  • Core functionality works correctly
  • Tests passing
  • Minor improvements suggested (not blocking)
  • Can be addressed in follow-up
  • OK to merge with notes

Needs Changes - Issues Must Be Fixed

Criteria:

  • Bugs or regressions found
  • Tests failing or missing
  • Acceptance criteria not met
  • Security or critical issues
  • Must fix before approval

5. Update Tasks (For Approved Work Only)

For approved work, mark completed tasks as done:

# Mark specific task as done
.specify/extensions/workflows/scripts/bash/mark-task-status.sh --task-id T001 --status done

# Mark multiple tasks
.specify/extensions/workflows/scripts/bash/mark-task-status.sh --task-id T002 --status done
.specify/extensions/workflows/scripts/bash/mark-task-status.sh --task-id T003 --status done

This updates tasks.md, changing:

  • [ ] T001: Task description -> [X] T001: Task description

For "Needs Changes" outcome: Do NOT mark tasks as done. They remain pending until issues are fixed.

6. Generate Review Report

Create a comprehensive review report:

# Review Report

**Feature**: [Feature name from branch/spec]
**Reviewer**: [Your agent identifier]
**Date**: [Current date]
**Status**: [Approved / Approved with Notes / Needs Changes]

## Summary

[Brief overview of what was reviewed and outcome]

## Implementation Review

### What Was Reviewed
- [List tasks or changes reviewed]

### Implementation Quality
- **Code Quality**: [Assessment]
- **Test Coverage**: [Assessment]
- **Documentation**: [Assessment]
- **Standards Compliance**: [Assessment]

## Test Results

[Output from running tests, if applicable]

**Tests Executed**: [Number]
**Tests Passing**: [Number]
**Tests Failing**: [Number]

## Findings

### What Worked Well
- [Positive aspect 1]
- [Positive aspect 2]
- [Positive aspect 3]

### Issues / Concerns (if any)

#### [Issue Title]
- **Severity**: [Critical / High / Medium / Low]
- **Description**: [What the issue is]
- **Impact**: [Why it matters]
- **Recommendation**: [How to fix]

[Repeat for each issue]

## Tasks Status

### Completed (Marked as Done)
- [X] T001: [Task description]
- [X] T002: [Task description]

### Remaining Pending
- [ ] T004: [Task description]
- [ ] T005: [Task description]

## Recommendations

[Suggestions for improvement or follow-up work]

## Next Steps

**For Approved**:
1. Tasks marked as complete in tasks.md
2. Ready to merge feature branch
3. Consider creating PR for team review

**For Approved with Notes**:
1. Tasks marked as complete in tasks.md
2. Can merge with documented follow-up items
3. Create follow-up tasks for minor improvements

**For Needs Changes**:
1. Fix listed issues
2. Run tests to verify fixes
3. Request re-review with `/speckit.workflows.review`

7. Output Summary

Display concise summary to user:

[Status Icon] Review Complete

Feature: [feature name]
Status: [Approved / Approved with Notes / Needs Changes]
Tasks Reviewed: [T001, T002, T003]
Tests: [X passing, Y failing]
Issues: [N found]

[Next steps based on status]

Important Notes

  1. Be Thorough: Don't rush the review - quality matters
  2. Be Constructive: Frame feedback positively and helpfully
  3. Be Specific: Cite exact locations for issues (file:line)
  4. Test First: Always try to run tests before reviewing
  5. Check Specs: Compare implementation to specification
  6. Document Everything: Write findings for future reference
  7. Only Mark Done: Only mark tasks complete when truly done

Edge Cases

No tasks.md exists:

  • Review can still proceed
  • Document findings but skip task updates
  • Recommend creating tasks.md for tracking

No tests available:

  • Review code manually without automated tests
  • Note lack of tests as a finding
  • Recommend adding tests

Multiple features in review:

  • Review current feature based on branch/directory
  • Use FEATURE_DIR to scope the review

Ambiguous review target:

  • Ask user to clarify which tasks to review
  • Or review all pending tasks by default

Context Information

Review context: $ARGUMENTS

Ensure all review feedback is actionable, specific, and constructive.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/spec-kit-implementation-review-msmr5ggb' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/spec-kit-implementation-review-msmr5ggb/download' --output '.skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md.part' && mv '.skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md.part' '.skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Environment declared by the author: Requires spec-kit project structure with .specify/ directory

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md' && test -s '.skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/speckit-review' && cp -R '.skill-downloads/spec-kit-implementation-review-msmr5ggb' '.claude/skills/speckit-review'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/spec-kit-implementation-review-msmr5ggb'

openskills read 'spec-kit-implementation-review-msmr5ggb'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/spec-kit-implementation-review-msmr5ggb/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills