Spec of Record for VS CodeSpec of Record is a way to build software from a written spec: short, plain sections, with the code built from them. This extension shows which code belongs to which section, and whether the two still match. It starts on its own in a project that uses Spec of Record, needs no setup, and never changes a file. Spec and code, side by side
Put your cursor in a spec section and the code built from it lights up on the other side. A small line above the section says where that code is ( When the status bar reads Which section is this line for?
Hover over a line of generated code to see the spec sections behind it, in their own words, with their state. The comment lines that tie code to a section are folded out of sight so the code reads normally. The files themselves don't change. When spec and code disagreeA colored dot in the margin, a note above the section and the counts in the status bar tell you where. Hover a line to read what its mark means. When more than one applies to a line, the most urgent shows: red, then amber, then blue. Red: the code changed, the spec didn't
Someone, or an AI, changed this code, and the spec still says the old thing. Decide which is right: update the spec to match the code, or put the code back. The status bar counts it as Blue: the spec changed, the code hasn't caught up
The section was changed or is new, and its code hasn't been rebuilt yet. Update the code to match, by hand or with your AI assistant. The note above the section says Amber: something this depends on changed
This section or test refers to something that changed. Here the test uses the length of the year, and the year was changed to 366 days on the right. Nothing is necessarily wrong, but check that it still holds. Grey ring: no code yet
No code is marked for this section, or for the part of the spec it belongs to. For a quality like "calm" or "no errors in the console" that's often fine. For a section that describes behavior, it's something still to build. The ring is a quiet hint: any red, amber or blue on the same section replaces it. Spec files that read like notesWhile you work, spec files show formatted: bold,
Also
Commands and settingsOpen the Command Palette and type
RequirementsVS Code 1.80 or later, and a project that uses Spec of Record. Nothing else to install: a small JavaScript program inside the extension reads the project, using the editor's own Node. Developing the extension
The screenshots come from a real VS Code on a temporary copy of |







