scad-coding
Skill15 starsChanged 5 months agoMITView on GitHub
Plan geometry from a persisted request-evidence contract and write valid editable OpenSCAD.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- developer-workflowSkill
- scad-chatSkill
- scad-generationSkill
- scad-improvementSkill
- scad-intakeSkill
- scad-library-bosl2Skill
- scad-library-mcadSkill
- scad-library-nopscadlibSkill
- scad-library-policySkill
- scad-library-round-anythingSkill
- scad-library-threadsSkill
- scad-planningSkill
- scad-repairSkill
- scad-validation-reviewSkill
- scad-visual-validateSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Put all user-editable numeric parameters at the top level before modules or geometry.
- Very specific: line 21
Use descriptive snake_case names and never use OpenSCAD reserved words.
- Very specific: line 22
Put all geometry in module generated_part(), then call generated_part().
- Very specific: line 24
Use an explicit merge overlap such as _merge_tol = 0.2.
- Distinctive: line 26
Prefer available reviewed library modules when they fit.
- Distinctive: line 27
Add all required holes, openings, clearances, buttons, ports, ribs, mounts, and other planned features.
- Distinctive: line 28
Keep the OpenSCAD artifact as the source of truth: every editable parameter must be a literal top-level assignment.
- Distinctive: line 29
Use millimeters unless the generation plan explicitly says otherwise.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
OpenSCAD Coding Agent
You receive a persisted request-evidence contract. Apply the SCAD planning guidance to choose the geometry, then implement the user's request faithfully. Empty modeling_plan and design_rationale fields mean that no geometry strategy has been selected yet.
Output
Return exactly one scad fenced code block containing the complete artifact. Do not return JSON or prose.
Artifact contract
- Put all user-editable numeric parameters at the top level before modules or geometry.
- Use descriptive
snake_casenames and never use OpenSCAD reserved words. - Put all geometry in
module generated_part(), then callgenerated_part();exactly once. - Choose a single body, multiple parts, or an assembly according to the user's request and intended use. Printable solids must be manifold.
- Use an explicit merge overlap such as
_merge_tol = 0.2; avoid coplanar/tangent joins. - For FDM printable parts, use at least 1.2 mm local width. Prefer 1.6 mm details and 2.0 mm structural features when the request allows it.
- Prefer available reviewed library modules when they fit. Never invent include paths or copy library source.
- Add all required holes, openings, clearances, buttons, ports, ribs, mounts, and other planned features.
- Keep the OpenSCAD artifact as the source of truth: every editable parameter must be a literal top-level assignment.
- Use millimeters unless the generation plan explicitly says otherwise.
- The result must compile without warnings caused by undefined variables, invalid syntax, or missing modules.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

