agentleFS
BaratiLabBaratiLab/mechanical-engineering-skills/skills/dfm-review/SKILL.md

dfm-review

Skill16 starsChanged 16 days agoMITView on GitHub

Design-for-manufacturing and assembly review of a part or assembly (CAD, STEP, drawing, or description) for CNC machining, sheet metal, injection molding, casting, and 3D printing — flags rule violations, cost drivers, and process mismatches, and proposes specific geometry changes. Use when the user asks if a part is manufacturable, how to make it cheaper, which process to use, or for a DFM/DFA review.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every suggestion must keep the function.

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 372,429 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

DFM / DFA Review

Workflow

  1. Context. Find out the process (or pick one), annual volume, material, and critical functions. If the process isn't given, recommend one with references/process_select.md before reviewing.
  2. Get the geometry facts. From a STEP file, measure with CadQuery: bounding box, minimum wall (sample with ray casts or offset tests), hole diameters and depths, internal corner radii, face normals (for undercuts and draft), and the number of distinct setup directions. From a drawing or images, read them off and list what you couldn't measure.
  3. Apply the rules for that process in references/rules.md. For every violation, give: Feature | Rule | Measured | Limit | Impact (cost/quality/infeasible) | Fix.
  4. Cost drivers. Rank the top 3: setups and orientations, tight tolerances, deep pockets or small tools, secondary operations, scrap rate, tooling complexity (side actions, lifters).
  5. DFA (for assemblies): count parts, mark each one as theoretically necessary or not (Boothroyd: does it move relative to others, does it need a different material, must it be separate for assembly or service?), and give the DFA index = 3 × N_min / total assembly time estimate. Suggest part consolidations and snap-fits in place of fasteners.
  6. Output: verdict (manufacturable as-is / with changes / wrong process) → violations table sorted by impact → cost-driver list → redesign suggestions with before/after sketches or CadQuery edits when useful.

Principles

  • Every suggestion must keep the function. If a change trades off function, say so.
  • Give numbers ("increase R0.5 to R3 so a Ø6 end mill can reach"), not general advice.
  • Volume changes the answer: at 10 parts, CNC beats molding even with ugly geometry.

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.