fastener-standard-enforcer
Skill2 starsChanged 6 months agoMITView on GitHub
Automatically verifies that drafted holes, threads, and mounting patterns conform to exact ISO Metric and NEMA engineering standards.
In this repository26 other files it gives its agents.
- harness/AGENTS.mdAGENTS.md
- harness/CLAUDE.mdCLAUDE.md
- auto-kinematicsSkill
- real-time-bom-costingSkill
- cadSkill
- camSkill
- competitor-benchmarkSkill
- regulatory-compliance-checkerSkill
- semantic-design-intent-memorySkill
- drawing-generatorSkill
- enterprise-vaultSkill
- esg-analyzerSkill
- exploded-viewSkill
- feaSkill
- multi-physics-cosimulationSkill
- patent-detectorSkill
- predictive-maintenanceSkill
- renderSkill
- scan-to-codeSkill
- sdfSkill
- sendcutsendSkill
- sketch-to-cadSkill
- srdfSkill
- step-partsSkill
- tolerance-stackup-analyzerSkill
- urdfSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Before finalizing any CAD script (build123d) that includes mounting holes, screw threads, or standard motor patterns (e.g., NEMA steppers).
- Very specific: line 47
Strict Adherence: If the enforcer outputs a [STANDARD VIOLATION], you MUST change the dimension in your CAD script to exactly match the …
- Very specific: line 49
If a screw is passing freely through a part to thread into something else, use hole_type: "clearance".
- Very specific: line 50
If the screw needs to bite into the material (e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Automated Fastener & Interface Standard Enforcer
This skill prevents the most common physical failure in 3D printing and CNC: parts not fitting together because the CAD hole sizes were guessed instead of looked up in an engineering handbook.
When to Use
- Before finalizing any CAD script (
build123d) that includes mounting holes, screw threads, or standard motor patterns (e.g., NEMA steppers). - To double-check that your M3 clearance hole is actually 3.4mm, not 3.0mm.
How to Use
1. Extract the Layout to JSON You (the AI Agent) must extract the critical interface dimensions from your CAD script into a JSON format.
Example layout.json:
{
"features": [
{
"name": "NEMA 17 Motor Mount Holes",
"type": "nema_mount",
"nema_size": 17,
"drafted_spacing_mm": 31.0
},
{
"name": "M4 Pass-Through Hole",
"type": "metric_thread",
"thread_size": "M4",
"hole_type": "clearance",
"drafted_diameter_mm": 4.0
}
]
}2. Run the Enforcer
python skills/fastener-enforcer/scripts/enforce_standards.py --layout layout.jsonRules for Agents
- Strict Adherence: If the enforcer outputs a
[STANDARD VIOLATION], you MUST change the dimension in your CAD script to exactly match theCorrection:provided by the enforcer. - Clearance vs Tap:
- If a screw is passing freely through a part to thread into something else, use
hole_type: "clearance". - If the screw needs to bite into the material (e.g. you will run a tap through it, or use a heat-set insert), use
hole_type: "tap".
- If a screw is passing freely through a part to thread into something else, use
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.

