بنقرة واحدة
pipeline-resume
Resume a failed PCB pipeline from the last successful checkpoint
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Resume a failed PCB pipeline from the last successful checkpoint
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Full PCB verification loop using local kicad-cli (DRC + 3D render + gerbers)
Create a new Claude Code skill for this project. Use when you need to add a new skill, improve an existing skill, or convert a workflow into a reusable skill.
Verifies that every PCB pad-to-net assignment matches the manufacturer datasheet pin specifications. Use when changing board.py/routing.py/footprints.py, after GPIO remapping, before releases, or when adding new components. Automated guard against wiring errors like unconnected VBUS, wrong pin assignments, or missing GND connections.
Design intent adversary — cross-checks GPIO, nets, power chains, signal paths across firmware/schematic/PCB/datasheet sources to find lost connections and inconsistencies
Analyze a DFM report and fix all issues in the PCB generation scripts
Run DFM guard tests and add new regression tests after fixing PCB issues
| name | pipeline-resume |
| model | claude-opus-4-7 |
| description | Resume a failed PCB pipeline from the last successful checkpoint |
| disable-model-invocation | true |
| allowed-tools | Bash, Read, Grep, Glob |
| argument-hint | ["optional step to resume from","e.g. \"verify\" or \"gerbers\""] |
Resume a previously failed PCB pipeline run from the last successful checkpoint, instead of restarting from scratch. Saves time on long pipeline runs.
Adapted from J-louage/Gaia-framework checkpoint/resume pattern.
Argument: $ARGUMENTS (optional: step name to resume from)
cat /Users/pierrejonnycau/Documents/WORKS/esp32-emu-turbo/.claude/pipeline-checkpoint.json 2>/dev/null || echo '{"status": "no_checkpoint"}'
If no checkpoint exists, inform the user and suggest running /generate or /release-prep instead.
The pipeline steps and their checkpoint names:
| Step | Checkpoint | Depends on |
|---|---|---|
| 1. Generate PCB | generate | -- |
| 2. Zone fill | zonefill | generate |
| 3. Export gerbers | gerbers | zonefill |
| 4. DFM verification | dfm_verify | generate |
| 5. Copy to release | release_copy | gerbers + dfm_verify |
| 6. DFA verification | dfa_verify | release_copy |
If $ARGUMENTS specifies a step, resume from that step.
Otherwise, resume from the step AFTER the last successful checkpoint.
Run only the steps that have not completed. For each step:
generate:
cd /Users/pierrejonnycau/Documents/WORKS/esp32-emu-turbo
python3 -m scripts.generate_pcb hardware/kicad
zonefill:
docker compose run --rm --entrypoint python3 kicad-pcb /scripts/kicad_fill_zones.py "/project/esp32-emu-turbo.kicad_pcb"
gerbers (prefer fast path):
./scripts/export-gerbers-fast.sh
dfm_verify:
python3 scripts/verify_dfm_v2.py
release_copy:
cp hardware/kicad/jlcpcb/bom.csv release_jlcpcb/bom.csv
cp hardware/kicad/jlcpcb/cpl.csv release_jlcpcb/cpl.csv
rm -rf release_jlcpcb/gerbers
cp -r hardware/kicad/gerbers release_jlcpcb/gerbers
cp hardware/kicad/jlcpcb/gerbers.zip release_jlcpcb/gerbers.zip 2>/dev/null || true
dfa_verify:
python3 scripts/verify_dfa.py
After each successful step, write:
cat > /Users/pierrejonnycau/Documents/WORKS/esp32-emu-turbo/.claude/pipeline-checkpoint.json << 'CHECKPOINT'
{
"pipeline": "release-prep",
"last_success": "<step_name>",
"completed": ["generate", "zonefill", ...],
"timestamp": "<ISO 8601>",
"pcb_sha": "<sha256 of .kicad_pcb>"
}
CHECKPOINT
Report what was skipped (already done) and what was executed:
| Step | Status |
|---|---|
| Generate PCB | Skipped (checkpoint) |
| Zone fill | Skipped (checkpoint) |
| Export gerbers | Resumed -- OK |
| DFM verify | Resumed -- 64/64 pass |
| Release copy | Resumed -- OK |
| DFA verify | Resumed -- 9/9 pass |
esp32-emu-turbo.kicad_pcb SHA changes
(meaning someone regenerated the PCB outside the pipeline)generate.claude/pipeline-checkpoint.json.claude/skills/generate/SKILL.md.claude/skills/release-prep/SKILL.md