agentleFS
gugu-2gugu-2/Prompt-CAD/skills/compliance-checker/SKILL.md

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.

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
  1. Distinctive:

    If you need to select a material and are unsure if it's legally allowed.

    line 12
  2. Very specific:

    Never Ignore Violations: If a part fails the scan (e.g., "Standard Brass contains lead"), you must immediately change the material in the …

    line 48

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 fda

Rules for Agents

  • Never Ignore Violations: If a part fails the scan (e.g., "Standard Brass contains lead"), you must immediately change the material in 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.