This skill should be used when the user asks to "write the spec", "write up what was decided", "requirements document" or "brief for the board" for a board, device, firmware or IoT system. It writes the requirements from the conversation and the project files without a new interview, each with a number, a unit and the way it is verified, and lists what is open.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Hardware Spec?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gkochievi-hardware-spec)
---
name: hardware-spec
description: This skill should be used when the user asks to "write the spec", "write up what was decided", "requirements document" or "brief for the board" for a board, device, firmware or IoT system. It writes the requirements from the conversation and the project files without a new interview, each with a number, a unit and the way it is verified, and lists what is open.
user-invocable: false
---
# Hardware spec: the decisions, written so they can be checked
The spec is the one document that the design, the review, the tickets and the client are all checked against. Write it from what is already known; do not interview. A missing decision becomes an open point with an owner. When more than a handful are missing, say so and offer `hardware-grilling` first.
## Steps
1. **Gather the sources.** The conversation, the decision log, the client's documents and the project files (`netlist.py`, `config.py`, `parts.json`, or an existing KiCad project through `kicad-projects`). Every statement in the spec traces back to one of them.
Done when each section of the template has its source or is marked open.
2. **Write it** from `references/spec-template.md`, in the language the user writes in.
- Each requirement gets an ID, one sentence, a value with unit and limit, the way it will be verified, and its origin (decided by whom and when, taken from which document, or assumed).
- Ways to verify: a calculation (name the script), a simulation, a review rule, an inspection, a test on the host, a bench measurement with its instrument and limits.
- State the need, not the circuit: "survives a reversed supply down to −32 V", not "a P-channel FET at the input". A solution already chosen goes under design decisions with its reason.
- Part data, prices and limits come from a named source or stay open; nothing is filled in from memory.
- A requirement that cannot be given a number or a way to verify it is rewritten until it can, or moved to the open points.
Done when every requirement row is complete and nothing in the template is left as a placeholder.
3. **Check the spec against itself** and list what does not fit; do not settle a contradiction silently.
- The power budget adds up: the sum of the loads stays inside the source with margin (`engineering-calculators/scripts/power_stage.py`, `engineering-calculators/scripts/thermal_calc.py`).
- The I/O list fits the pins of the chosen MCU and the connectors named.
- The environment fits the part grades and the enclosure.
- Every deal breaker of the interview has an answer: hazardous voltage, quantity, budget, deadline, markets.
4. **Show the user** the open points and the contradictions first, then the document, and ask for their agreement. Set the status to "agreed" with the date only after they give it.
5. **Save it** as `docs/spec.md` in the project folder with revision and date; with a claude.ai project attached, also as a project document. A later change adds a line to the change history and a new revision; an agreed requirement is never edited without one.
## After the spec
`hardware-tickets` splits the work; each ticket names the requirement IDs it delivers, and each ticket's checks are the "verify" entries of those requirements. `board-review` and the bring-up plan of `bringup-and-test` use the same entries as their acceptance list.
## Next step
When this is done, say what comes next: `hardware-tickets` cuts the agreed spec into tickets.