Alfredo Perez
SPECKIT COMPANION

Spec-drivendev,inVS Code.

VS Code extension for spec-driven development

83KVS Code installs
1.1The same spec, line by line · before / after
BEFORE · SPEC.MDAFTER · IN COMPANION
The problem

An AI agent will happily write two hundred lines of code from a requirement nobody read carefully.

The specs were the weak link, and nobody was reviewing them. We review code obsessively — a two-line change gets a pull request, comments, a second pair of eyes. Then we hand an AI a paragraph of prose nobody has read twice and let it generate the diff.

Why I built it

Review the spec the way you review code.

The spec is the artifact the AI works from, so the spec is the artifact that deserves the review.

Not another agent. There are plenty, and betting on one would have meant betting against the rest. It’s a workspace, not an assistant.

1.2Understandthespec.

Spec:
COMPLETED
RequirementsData ModelResearchTasks
Overview
PART 1
1

Understanding the spec

The whole Overview, with a label on each part. The side menu jumps to any part.

A feature moves through phases — Specify, Plan, Tasks, Done. The extension renders each one, tracks where it is, and dispatches the next step to whichever AI you’ve chosen.

Step 1 of 10: Overview part 1
Step 2 of 10: Overview part 2
Step 3 of 10: Overview part 3
Step 4 of 10: Overview part 4
2

Review in the margin

Leave a note on a line, click Refine, and the change lands in the spec.

  1. 1a note lands in the margin
  2. 2Refine is clicked
  3. 3the line rewrites itself

Not “read it over” — actually review it. Comment on line 12. Say this is ambiguous before it becomes 200 lines of confident nonsense. Refine it in place.

Step 5 of 10: A note lands in the margin
Step 6 of 10: Refine is clicked
Step 7 of 10: The line rewrites itself
3

Plan blocks

The plan as blocks you can see: call paths, states, a screen and code.

  1. 1call paths and states
  2. 2a screen
  3. 3code lands last
Step 8 of 10: Call paths and states
Step 9 of 10: A screen
Step 10 of 10: Code lands last
Customization · the Workflow Builder

1.3Apipelineyoureshape.

Spec
Plan
slotyour step
Tasks
Implement
slotyour step
Benchmark

1.4Oneticket,twopipelines.

The same ticket through Companion and through stock Spec Kit.

SpecKit Companionstock Spec Kit
Timefrom the bench report
Tokensfrom the bench report
What passedfrom the bench report
read the bench report →

Runs in4 places.

  • VS Code
  • Spec Kit
  • Copilot app
  • Claude Code

Results.

  • 1,228 tests across 86 test files.
  • Ten AI providers, plus bring-your-own workflows.
  • Four outside contributors. MIT licensed.

Companion’s specs came out 60–68% leaner and it wrote zero throwaway side files, but it was slower on the easy and medium cases and only pulled ahead on the hard one.

Correctness was a tie — every build in both workflows passed. The honest summary is the one in the README: the difference is ceremony and progress visibility, not whether the feature works.

What I’d dodifferently.

I ran a full code-quality audit on my own project in May, and it found four things.

  1. 1
    “Half-finished Preact migration.”

    Incremental migration is good advice right up to the point where you stop, and then you own two systems instead of one.

  2. 2
    “Eight providers, no shared base class.”

    The abstraction exists now; it should have existed at provider three.

  3. 3
    “Docs lie about the codebase.”

    Documentation you can’t test is documentation that’s already wrong.

  4. 4
    I tried a rewrite, and reverted it.

    Knowing when the refactor isn’t worth it is a skill, and I only learned it by spending the afternoon.

Readmore.