regulatory-compliance-checker
Skill2 starsChanged 6 months agoMITView on GitHub
Automatically scans the Bill of Materials (BOM) to verify material compliance with FDA, RoHS, and CE-Medical regulations.
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
- semantic-design-intent-memorySkill
- drawing-generatorSkill
- enterprise-vaultSkill
- esg-analyzerSkill
- exploded-viewSkill
- fastener-standard-enforcerSkill
- 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
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
If you need to select a material and are unsure if it's legally allowed.
- Very specific: line 48
Never Ignore Violations: If a part fails the scan (e.g., "Standard Brass contains lead"), you must immediately change the material in the …
≈ “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 Regulatory Compliance Checker
This skill acts as a virtual compliance engineer. Before finalizing a design, it scans the BOM and verifies that all materials and finishes meet the required international standards.
When to Use
- Whenever designing a device intended for human contact (medical, food processing) or electronics (RoHS).
- If you need to select a material and are unsure if it's legally allowed.
How to Use
1. Format the BOM for Compliance
The BOM must include a contact_type for each part.
direct_contact: Touches food, skin, or tissue. (Strict FDA/ISO-10993 rules apply).internal: Enclosed inside the device. (Only standard RoHS environmental rules apply).
Example bom.json:
{
"project_name": "Surgical Retractor",
"parts": [
{
"name": "Retractor Blade",
"material": "titanium_grade_5",
"contact_type": "direct_contact"
},
{
"name": "Internal Electronics Housing",
"material": "aluminum_6061",
"contact_type": "internal"
}
]
}2. Run the Compliance Scan
Specify the standard: fda, rohs, or ce-medical.
python skills/compliance-checker/scripts/check_compliance.py --bom bom.json --standard fdaRules for Agents
- Never Ignore Violations: If a part fails the scan (e.g., "Standard Brass contains lead"), you must immediately change the
materialin the CAD code to an approved alternative (e.g., "Lead-Free Brass" or "Stainless Steel 316"). - Coating Requirements: Some banned materials can pass if given an approved coating. The checker handles this logic automatically. If it suggests a coating, update the BOM.
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.

