/brepjs:brepjs-polishfrom brepjs
Polishes brepjs CAD parts from primitive blobs into manufactured-looking geometry, then exports to STEP/GLB/STL. Use when a part needs visual refinement for human review or handoff.
Ships in brepjs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A valid part is not always a designed part. A lumpy stack of overlapping primitives still reports
ok:true, so validity never catches it. Run this when the part should look manufactured; skip it
for purely functional/internal geometry. The CLI ships in the brepjs-cad package as brep.
Render iso + a detail view (brep snapshot part.brep.ts) and critique: manufactured, or
glued-from-primitives? Fix the worst offender:
Prefer additive detail — fins, gussets, lightening holes, grooves, a flush rounded end — over
the failure-prone fillet/chamfer ops. Re-verify (ok stays true), re-render, repeat on the next
worst offender. Detail and rationale: references/design-polish.md.
A no-op is a valid outcome. If the part already reads as manufactured, the worst remaining offender is minor, or the only available edit is marginal, make NO edit, report the part as already-designed, and proceed to export. A marginal addition usually ties or loses against the un-touched render (it reads as decoration noise) — do not edit just to satisfy the loop. Only edit when the offender is a clear primitive-blob, mismatched cap, raw rim, or missing functional feature a human would notice.
A polish edit must never break validity: if a round/blend pushes the part to ok:false, revert it
and choose an additive alternative.
brep verify part.brep.ts --step part.step
STEP is the validated primary deliverable; GLB/STL are derived. Batch behind a validity gate with
brep export part.brep.ts --all. --serve prints a clickable link to an interactive inspector
(view presets, solid/wire/x-ray, face picking, section plane, measurements) for the human to eyeball
— report that URL. Under agent/CI (non-TTY) auto-open is suppressed automatically. Report the STEP
path. Export formats and options: references/export.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/brepjs-brainstormUse at the START of any request to design, model, create, build, or 3D-print a physical part or assembly in brepjs — a bracket, enclosure, mount, gear, gridfinity bin, fixture, knob, adapter, and the like. This is the entry point to the brepjs CAD pipeline. It turns a vague or natural-language request ("a bracket for my router", "a gridfinity bin") into an explicit, buildable spec (dimensions in mm, datums, features, material/finish, tolerances) before any geometry is written, then hands off to brepjs-design → brepjs-implement → brepjs-verify → brepjs-polish. Runs in the main session so it can ask the user clarifying questions./brepjs-designUse when you have a brepjs part spec and need to decompose it into an ordered build sequence — choosing which kernel operations to use and in what order, preferring reliable ops and flagging advanced ones (sweeps, lofts, mechanisms) before any code is authored. Runs in the main session./brepjs-implementUse when authoring or editing a brepjs `.brep.ts` part — writing the geometry with the functional API (box, cylinder, fuse, cut, fillet, sketch→extrude…), declaring an `expected` block, and following the hard rules (import every function, unwrap Results, select edges, coordinate semantics). Also covers buildings/BIM/IFC via the declarative family layer (references/families-bim.md). This is the authoring step; pair it with brepjs-verify to check the result.npx claudepluginhub andymai/brepjs --plugin brepjsOther plugins' skills for the same job