This skill should be used when the user asks to "set up boulder hardware skills", "set up boulder", "set up this project", "prepare this folder for a hardware project" or "add a standing rule", or before the first use of the other skills in a project folder. It creates the missing project files (settings, index, decision log, lessons, tickets, standing rules) after showing the plan, and never overwrites one.
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 Setup Boulder Hardware Skills?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/gkochievi-setup-boulder-hardware-skills)
---
name: setup-boulder-hardware-skills
description: This skill should be used when the user asks to "set up boulder hardware skills", "set up boulder", "set up this project", "prepare this folder for a hardware project" or "add a standing rule", or before the first use of the other skills in a project folder. It creates the missing project files (settings, index, decision log, lessons, tickets, standing rules) after showing the plan, and never overwrites one.
---
# Setup: the files the other skills expect
Run once per project folder; running it again is safe and only adds what is missing. A file that exists is never overwritten.
| File | Who reads and writes it |
|---|---|
| `boulder.toml` | every script reads its own section; `hardware-tickets` finds the tickets folder there |
| `README.md` | the index for people: where things are, the state of each board, open items |
| `docs/decisions.md` | the decision log (`ask-gela/references/project-phases.md`); `hardware-grilling` and `hardware-spec` write to it |
| `docs/lessons.md` | `hardware-retro` |
| `tickets/README.md` | the ticket index of `hardware-tickets` |
| a marked block in `CLAUDE.md` | every working session: what the project is, the owner's standing rules, what to check before changing files, where things are; `hardware-handoff` quotes the rules from it |
| `.gitignore`, `hardware/`, `firmware/`, `archive/` | on request |
## Steps
1. **Look.** Run `scripts/project_init.py <folder> --dry-run`: it lists what exists, what is missing and the KiCad boards it found, and writes nothing. Read the existing README, `CLAUDE.md` or `AGENTS.md`, and `boulder.toml`. Note whether the folder is a git work tree and whether it already has its own layout: an existing project keeps its folders.
2. **Ask one round**, with a recommended answer to each, and only what the folder cannot tell:
- the project's name (the folder's name by default) and one line on what is being built and for whom;
- the standing rules: which rules must every session keep, in the owner's own words. Offer the ones already said in the conversation (a tool version, "order only after a review", the language of documents, what must never be overwritten). Write no rule the owner did not give;
- for an empty folder, whether to make `hardware/`, `firmware/` and `archive/` (recommended); for an existing project, leave its layout alone;
- the steering file: `CLAUDE.md` by default; `AGENTS.md` when other coding agents work in the folder too. Claude Code reads `CLAUDE.md` only, so with `AGENTS.md` the script adds a one-line `CLAUDE.md` that imports it;
- a `.gitignore`, recommended when the folder is a git work tree.
3. **Show the plan**: the dry run again with the chosen options. Name the one change to an existing file, the block appended to the end of an existing `CLAUDE.md` or `AGENTS.md`, and wait for a yes.
4. **Write.** The same command without `--dry-run`. The script runs where the folder is. Where it cannot reach the folder, run it into an empty scratch folder with the same options, copy over only the files the project lacks, and add the block by hand between its two marker lines.
Done when a second dry run reports everything as kept.
5. **Check the tools**, where boards will be built on this machine: `kicad-generator/generator/doctor.py` reports KiCad 10, its command-line tool, Freerouting and Java. Distributor keys for `parts-sourcing` go into environment variables or a keys file outside the project; setup never writes a key.
6. **Report**: what was created, what was kept, what is left to fill in by hand (the state table in the README, rules not yet given), and the next step: `ask-gela` for the path, or `hardware-grilling` when the project is new. With a claude.ai project attached, say that the standing rules can also go into that project's instructions, so every chat starts with them.
## The script
```
project_init.py <folder> --dry-run
project_init.py <folder> --name "Pump controller" --what "Runs two pumps by tank level" \
--client "Aqua Ltd" --rule "KiCad 10 only" --rule "Order only after a review" --layout --gitignore
project_init.py <folder> --rule "Check stock on the order day" # later: adds one dated rule
```
- The block sits between `<!-- boulder-hardware:start -->` and `<!-- boulder-hardware:end -->`. Text outside it is never changed; text inside it is the owner's to edit.
- A later `--rule` adds a dated line under "Standing rules" in the block and skips a rule that is already there. Changing or removing a rule is an edit by hand, after the owner says so.
- `--steering CLAUDE.md|AGENTS.md|none` chooses the steering file; without it the script takes the one that exists, else a new `CLAUDE.md`.
- `--tickets-dir` puts the tickets elsewhere and records it in `boulder.toml`.
- An existing `.gitignore` is left alone; the patterns it lacks are listed for the user to add.
- The home folder and the file system root are refused.
The texts come from the files in `templates/`; after creation each file belongs to the project and is edited freely.
## At the start of every later session
Read the block in the project's `CLAUDE.md` (or `AGENTS.md`) before anything else: the standing rules in it bind the session, and a rule the owner states in conversation is added to it with `--rule`.
## Next step
When this is done, say what comes next: `ask-gela` for the path, or `hardware-build` to plan and build the project with the interview first.