Open the editor

$ git log docs/specpad/srs.json

Design-control evidence for medical device software — kept in your git repo.

Requirements, detailed design, software risk, third-party software, cybersecurity and verification — one traced chain, as schema-validated JSON in your repo, captured by a Claude skill as you build and reviewed by humans in a visual editor. Conformity reported clause by clause against IEC 62304 and the FDA software, cybersecurity and off-the-shelf guidances. The core is domain-neutral, so it works anywhere; the regulated depth is what it was built for.

MIT Free and open source — github.com/pizzaow/specpad

## How it works

One contract. Two ways to edit. Git in the middle.

The skill edits programmatically; humans review visually. Both obey the same schema and governance rules — and git keeps the history.

SpecPad — IEC 62304 and FDA design-control evidence, in your git repo your code changes Claude skill updates srs/vtp JSON docs/specpad/*.json in git human reviews & approves in the editor git commit / PR
The sync loop — spec and code never drift
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo shared schema + governance (src/shared) Claude skill edits programmatically visual editor humans review & approve read / write read / write docs/specpad/*.json git is the history & merge layer
One contract, two editors — the rules cannot drift

## Features

Seven registers. One contract. Every link checked.

Each capability twice over — what you see in the editor, and the mechanism behind it.

01 Effortless requirements editing

A spreadsheet-fast table for your SRS and VTP. The editor opens files straight from your repo — no server, no import, nothing leaves your machine.

What it looks like ▸ live demo
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo docs/specpad/ *.json your repo browser editor runs locally File System Access — no backend

02 Docs that keep up with your code

The Claude skill reads and writes the same files. Finish a change, say “update the spec” — requirements and tests stay current without leaving the terminal.

What it looks like
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo Claude skill edits from the terminal visual editor edits in the browser one shared contract docs/specpad/*.json

03 Traceability by construction

Every test declares what it verifies, linked by stable ids that survive renames. Governance checks flag untested requirements before an auditor does.

What it looks like
The testing view pairing each verification test with the requirement it verifies, with pass and fail results
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo requirement id: r_4f2a test verifies: r_4f2a result ✓ passed linked by id, never by name — renames can’t break the chain

04 Redlines, automatically

The editor diffs your working copy against the released baseline — see exactly what changed since the last release, with no hand-maintained change tables.

What it looks like ▸ live demo
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo baseline snapshot (v1.0 tag) working copy (your edits) diff − was + now redline view git owns the history — nothing is hand-maintained

05 Version history from your tags

Releases are just git tags. SpecPad snapshots each one, so any past revision is one click away — author and date come from the commit itself.

What it looks like
The version history dialog listing released revisions snapshotted from git tags, with author and date from each commit
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo v0.1 v1.0 working snapshot snapshot uncommitted history dialog

06 Tied to your ticket

Associate working changes with a job — a ticket key, an issue number — so every requirement edit traces back to why it happened.

What it looks like
A job chip in the editor toolbar associating the current working changes with the landing-page job
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo job marker [name].job.json current edits working copy ticket JIRA-123 traces to

07 Validated twice: structure and policy

JSON Schema catches malformed files; governance rules catch broken links, missing expected results, and untraceable requirements. The skill and the editor run the same checks from one shared module.

What it looks like
The editor status bar reporting schema validation and governance checks as clean
How it works
SpecPad — IEC 62304 and FDA design-control evidence, in your git repo docs/specpad/*.json gate 1 · structure JSON Schema gate 2 · policy governance rules ✓ clean schemaVersion "1.0" → pinned editor /v01/

## The full picture

One traceable chain, captured as you build.

Every artifact a design-controls reviewer expects — and that good engineering wants anyway — living in your repo, kept current by the working loop.

  • Product requirementsUser needs and product intent (PRD) — the top of the trace matrix, with proposed vs implemented status.
  • Requirements & verificationTestable “shall” requirements (SRS), each proven by a verification test with a defined expected result (VTP).
  • Traceability matrixProduct requirement → requirement → verification, with each requirement’s result rolled up and gaps flagged.
  • Auditor design-control mapIEC 62304 & 21 CFR 820.30 elements → the exact place each piece of evidence lives. Answer “where are your design inputs?” in one click.
  • ArchitectureAn arc42 document with draw.io diagrams, co-versioned with the spec and diffed per change.
  • Change controlEvery change tied to a job; see a job’s in-progress and released SRS/VTP/architecture diffs, derived from git.
  • ReleasesVersioned design-control checkpoints — a full-document snapshot and the jobs that shipped in each.
  • Governance, enforced twiceStructure (JSON Schema) then policy (traceability, coverage) — the same gates run by the skill and the editor.
  • ThemesDeveloper, editorial, or blueprint — pick the look; your choice follows you.
  • eQMS export soonA versioned evidence package for your external quality system.

## Who it’s for

Built for regulated work. Useful everywhere.

Medical device software

IEC 62304 clause by clause, ISO 13485 §7.3 design controls, the FDA software, cybersecurity and off-the-shelf guidances — with the evidence traced end to end, and without standing up heavyweight tooling.

Everyone else

The same rigor is just good engineering practice: specs that can’t silently rot, tests that can’t silently detach.

## Get started

Installed in under a minute.

  1. Download the skill

    specpad-skill.zip

  2. Unzip it

    into ~/.claude/skills/

  3. Say the words

    set up specpad in your repo