voice-to-cad
Turn a rough spoken or written product idea into a gated prototype: design brief, concept-image A/B, and parametric code CAD with provenance. Use for new-object brainstorming or voice-to-CAD requests; route existing-object reconstruction to reverse-engineer and finished specifications to maker-engineering.
- License 许可
- MIT
- 最近更新
- 2026-09-02
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- voice-to-cad
- description
- Turn a rough spoken or written product idea into a gated prototype: design brief, concept-image A/B, and parametric code CAD with provenance. Use for new-object brainstorming or voice-to-CAD requests; route existing-object reconstruction to reverse-engineer and finished specifications to maker-engineering.
02 资源文件 5
- 参考文档evals/evals.json5.9 KB
- 参考文档references/brainstorm-to-brief.md3.1 KB
- 参考文档references/codecad-handoff.md5.2 KB
- 参考文档references/image-tournament.md2.7 KB
- 参考文档references/repo-push.md2.7 KB
03 SKILL.md 正文
Voice to CAD — the idea-to-prototype express highway
Drive one idea from spoken thought to a gated, committed CAD prototype in a single conversation. The user talks; you structure. Five stages, each ending in an explicit human gate — never run two gates together, and never skip a gate because the answer seems obvious. The gates ARE the product: this skill exists so a half-formed idea survives contact with production tooling.
voice brainstorm ──► design brief ──► image prompt ──► image tournament ──► codeCAD ──► repo push
(talk) [GATE: readback] [GATE: approve] [GATE: A/B votes] [GATE: mesh] [GATE: confirm]
Voice etiquette (applies to every stage)
The user may be dictating — walking around a shop, driving, cooking. Respect that in how you converse:
- One question per turn during brainstorm. Never a numbered list of five questions a speaking user can't hold in their head.
- Short turns. Two to four sentences while brainstorming. Save prose for the written artifacts.
- Number or letter every choice so the user can answer "two" or "B" instead of describing. Keep option sets ≤ 4.
- Readback before every gate: compress the state into 2–4 spoken-style sentences and ask for "yes / change X". A gate passes only on explicit assent.
- Capture the user's own phrases verbatim into the brief when they're vivid ("thigh-cradle", "looks like a seed pod") — those words carry the vision and later feed the image prompt.
Stage 1 — Brainstorm → design brief
Run a structured but conversational intake across four lenses, one at a time:
form (silhouette, scale, presence), function (what it does, who uses
it, where it lives), first principles (loads, acoustics, ergonomics,
physics of why it works), materials (what it's made of, how it's made,
what the user can actually fabricate). Question banks and the brief template
are in references/brainstorm-to-brief.md — read it when entering this stage.
Produce design-brief.md: object, one-paragraph vision (user's words),
constraints table with confidence labels (borrow reverse-engineer's
observed/inferred/assumed discipline), envelope estimate, part list with
min-body count, material + process, open unknowns. Gate: read the brief
back in 3 sentences; user approves or amends.
Stage 2 — Image prompt refinement
Co-write ONE image prompt from the brief (style, material honesty, camera,
background, the vivid user phrases). Then derive 4 variants that differ on a
single axis each (form factor, proportion, material finish, or detail
density) so the tournament teaches you something. Conventions and the proven
agy -p headless render recipe are in references/image-tournament.md.
Gate: user approves the base prompt before any generation spend.
Stage 3 — Concept-image tournament (A/B arena format)
Generate the 4 concepts, then run a 2-round single-elimination bracket: present pairs ("A or B?"), semifinals then final, 3 votes total. Log every vote with the differing axis, because the losing traits are design information ("rounder lost twice → user wants angular"). The winning image becomes the visual authority for CAD. Gate: the bracket's final vote.
Stage 4 — codeCAD production
Feed the winning image + the brief into the image-conditioned codeCAD lane
(default), or — when the deliverable wants a native feature tree — the
live-CAD bridge lane driven by any agent model (see the alternate-backend
section of references/codecad-handoff.md):
CADAM (local) + Claude → one self-contained parametric OpenSCAD program,
module per part, distinct bodies, editable parameters, BOSL2 allowed.
Prompt recipe, extraction (Supabase, not DOM), compile, and the objective
mesh gate (renders / watertight / sorted-extents envelope / min-wall /
body-count) are in references/codecad-handoff.md. State fabrication floors
in the prompt — thin display geometry is the universal failure mode. Iterate
with the user until the gate passes or the user accepts documented misses.
Gate: mesh gate score + user acceptance.
Stage 5 — Repo push
Ask: existing repo or new one? Conventions for both — directory layout,
provenance JSON (pipeline, model, costs, vote log, gate scores, source
image), GENERATED-not-a-master labeling, commit message shape — are in
references/repo-push.md. Gate: confirm repo + path before pushing;
pushing is outward-facing. Never push without the confirm, never label
generated CAD as measured/reviewed.
Telemetry
Track cost from Stage 2 onward (image renders + codeCAD API spend; OpenRouter usage delta before/after). Report the running total at each gate — "we're at $1.40" keeps the express highway honest — and write it into provenance.
Express mode (one-shot)
If the user explicitly asks for the one-shot version ("just run the whole highway on this idea"), collapse Stages 1–2 into your best single pass, generate 4 images, still stop for the tournament votes (they're 30 seconds of the user's time and the only human taste in the loop), then run CAD + push with a single combined confirm at the end. Express mode still writes every artifact and provenance record.
Handoffs
- Existing object from photos →
reverse-engineer(Parametric Recreation Branch) instead of this skill. - Finished spec, no brainstorm needed →
maker-engineeringCAD-generation modality routing. - Instrument-specific acoustics beyond first principles →
instrument-makerafter the brief exists; sheet-metal fabrication →sheet-metal. - Idea isn't ready to build at all →
idea-incubator(file it, don't force the highway).
Reference map
references/brainstorm-to-brief.md— four-lens question banks, voice pacing, design-brief template with confidence labels.references/image-tournament.md— base-prompt conventions, single-axis variant derivation, agy headless render recipe, bracket + vote-log format.references/codecad-handoff.md— CADAM prompt recipe from brief + image, source extraction, compile, objective mesh gate, iteration loop.references/repo-push.md— existing-repo layout, new-repo scaffold, provenance schema, GENERATED labeling, commit conventions.
04 同仓库更多 Skills
clean-skill
Fixture skill with complete manifest metadata.
untracked-skill
Fixture skill absent from manifest.yaml.
tracked-skill
Fixture skill missing version, last-updated, and changelog coverage.
stale-changelog
Fixture skill whose changelog omits the canonical version.
yoga-sequencer
Design vinyasa-first yoga class sequences, peak-pose progressions, anatomical prep, counter-poses, heated-room safety adjustments, shorthand protocol parsing, transition-matrix lookup, Rosetta shorthand-transcript alignment, phase-gated class ingest, Reverse Sequence Engine scaffolds, DJI Mic capture QA, full class plans with phase timing plus playlist-builder handoff data, transitions-only classes where poses are never named and the connective tissue between shapes is the unit of instruction, and savasana-backward classes designed from final rest toward the minimum disturbance required to earn it. Use when planning a yoga class, sequencing for hips, shoulders, twists, or backbends, choosing prep for a peak pose, adapting a hot-room class, defining shorthand tokens or macros, parsing a five-line shorthand class, inspecting transitions between poses, aligning shorthand to transcript spans, phase-gating captured class JSON, splitting DJI Mic captures into transcript/audio paths, expanding shorthand into a 60-minute reviewed script scaffold, turning a class arc into music-ready phases, teaching movement without ever naming a pose, or designing stillness-first classes from a SavasanaSpec.
sheet-music
Generate sheet music, fingering charts, MIDI, audio renderings, and printable songsheets for the musical instruments built from Tony Koop's instrument-maker repos. Trigger whenever the user mentions writing/transcribing/arranging a song or tune, ABC/LilyPond/MusicXML, sheet music, fingering chart, tablature, songbook, beginner songbook, learning to play a flute/violin/harp/duduk/etc., pairing music with a build packet, generating practice scales or warm-up exercises for a custom-built instrument, dropping a `learn-to-play/` folder into a build repo, or commissioning an original "Heifer Zephyr" tune. Also trigger when an instrument-maker-v4 packet ships and the user wants a starter songbook to accompany it. Pairs with `instrument-maker-v4`, reads its `instruments/registry.yaml`, and can deposit per-instrument songbooks into sibling build repos under `C:\Users\Tony\Documents\GitHub\{instrument}\learn-to-play\`.