Dedicated topic page for QL selection, every snippet executed against the SDK before landing: - the selection loop: probe -> card -> read -> exactly(n) - predicate vocabulary (geometry / naming / lineage) with the two verified gotchas: coordinates take ranges (float noise), one property is never enough after booleans or blends - root-blend recipe via shared_boundary with a failure-signature table: tangency (axis-to-wall distance == radius) splits the card into two arcs and crashes TopOpeBRepDS at any radius; overhang yields half/extra arcs and aborts; generalize by comparing card shape with the imagined intersection curve and hunting the singular point - tagged-bore chamfer recipe absorbing incident_to seam edges, scope-scoped apply_tag_rselection ownership, single-GraphSession - face -> sketch datum plane derivation (make_sketch_rsketch takes a plane mapping, never a Face) plus largest-face ordering pattern - lineage routes: generated_faces_tag vs output_role (kernel-proven generated) vs op() touched-set superset Wired from the edge-selection defaults in geometric-validation.md and the SKILL.md references list; no new routing targets. skillbuild: omp/opencode now ship 373 files each.
Skill Documentation Structure
This directory is the task-routed skill layer. It sits between the SDK's generated
docs/skill/
domains/ stable, reusable capability modules
workflows/ goal-oriented compositions of domains
discipline/ mechanical modeling knowledge and invariants
Layering
SKILL.md (router: load order, routing, execution discipline)
→ workflows/<scenario>.md what to run, in what order
→ domains/<capability>.md capability boundaries and API groups
→ discipline/<topic>.md why: modeling reasoning and invariants
→ docs/api|stdlib|core/ exact signatures (auto-generated)
Load top-down and only what the current task triggers. No task reads the whole API index up front.
Domains
| Domain | Owns |
|---|---|
requirement-refinement |
request → brief (dimensions, units, datums, validation targets) |
part-modeling |
single-solid parts: primitives, profiles, features, booleans, transforms |
sketch-and-features |
declarative constrained sketches and promotion |
assembly-and-product |
parts, placements, connectors, constraints, @part/@assemble, cache, .scadpkg |
standard-parts |
stdlib gears, ring gears, racks, cycloidal discs, bearings |
step-inspection |
STEP/BREP evidence, comparison, reconstruction evaluation |
export-and-translation |
STEP/STL/OBJ/MJCF export, FreeCAD/Fusion/SolidWorks translation |
Cross-cutting capabilities — QL grounding, semantic tags, GraphSession replay, units/tolerances, incremental validation — are not routing targets; each workflow pulls them in as conditions require.
Workflows
| Workflow | Scenario |
|---|---|
single-part-modeling |
one physical part from brief to validated solid |
sketch-feature-modeling |
constraint-driven profile as the design intent |
assembly-product-build |
multi-part product with connectors/constraints and package capture |
step-reconstruction |
editable rebuild from a target STEP with tiered acceptance |
standard-part-assembly |
mechanisms composed from stdlib components |
export-and-translation |
downstream formats from a validated package |
Each workflow states: goal/scope, task decomposition (required/optional domains, artifacts, validation gates, repair routes), ordered steps with the domain/discipline/API references to load, failure routes, and deliverables.
Discipline
Modeling reasoning and invariants, independent of any single API:
mechanical-modeling (construction strategy), requirement-and-cad-brief
(input precedence, drawings), datums-and-coordinate-systems,
feature-ordering (operation order and boolean tool geometry),
assembly-positioning (mating/motion intent), geometric-validation
(validity vs volume, incremental grounding, spec-driven measurement),
failure-and-repair (failure classes and the repair loop),
manufacturing-boundaries (defaults and what geometry never proves).
Authoring rules
- Domain files say what a capability owns, when to use it, when to route elsewhere, and which API pages to read — they do not restate signatures.
- Workflow files compose domains; they never duplicate discipline content.
- Discipline files state reasoning and invariants; they avoid CLI- or tool-specific detail that belongs in domains/workflows.
- Every
references/...path written here must exist in the packaged skill. - Reading an API page is an action with an output: before the first call of any API, note its signature, return type, and documented failure modes — one line each in the working notes. A method name absent from the page does not exist, however plausible it looks. Non-SDK dependencies (Gmsh, CalculiX, VTK, FreeCAD scripting) are not covered by SDK pages: check their own documentation before the first call.