dfm-fix

Analyzes DFM reports and generates patches for PCB generation scripts.

2|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/pjcau/esp32-emu-turbo --skill dfm-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dfm-fix
Source: https://github.com/pjcau/esp32-emu-turbo/tree/main/.claude/skills/dfm-fix
Command: npx skills add https://github.com/pjcau/esp32-emu-turbo --skill dfm-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes DFM reports from manufacturers and systematically fixes issues in the PCB generation scripts to streamline production readiness.

Core Features & Use Cases

  • DFM ingestion & issue categorization: automatically parse reports (PDF, CSV, or text) and classify problems by severity and type.
  • Source-agnostic patch mapping: map each issue to the exact code or script that governs the corresponding PCB generation step.
  • Automated fixes & verification: generate patches, apply them, and run a verification workflow to ensure regressions are caught early.
  • Use Case: teams validating JLCPCB-style DFMs can run this to produce a clean, repeatable set of fixes and a verifiable report.

Quick Start

Run the DFM fix tool with a path to a DFM report to automatically detect and patch issues in the PCB generation scripts.

Frequently Asked Questions about dfm-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate DFM analysis and fix PCB design issues from a manufacturer report?

To automate DFM analysis and fix PCB issues, you can run the dfm-fix tool with a path to your DFM report (PDF, CSV, or text). It automatically parses the report, categorizes issues by severity, and generates patches for your PCB generation scripts.

What types of PCB manufacturing issues can be automatically patched in generation scripts?

PCB manufacturing issues including silkscreen, soldermask, trace clearance, vias, and mounting holes can be automatically patched. The tool maps each categorized DFM issue to the exact source code governing that PCB generation step.

How do I fix JLCPCB-style DFM report errors in my PCB scripts?

You can fix JLCPCB-style DFM report errors by ingesting the report into the DFM analysis tool. It systematically applies fixes to your PCB generation scripts and runs a verification workflow to yield reproducible patches and catch regressions early.

Can I parse a PDF DFM report and map the issues directly to my PCB source files?

Yes, you can parse a PDF DFM report and map the extracted issues directly to your PCB source files. The tool features source-agnostic patch mapping, ensuring each problem is linked to the exact script controlling the corresponding PCB generation step.

Does automated DFM fix validation catch regressions after patching PCB generation scripts?

Yes, automated DFM fix validation catches regressions by running a verification workflow after applying patches to the PCB generation scripts. This process ensures that the applied fixes resolve the DFM issues without introducing new errors.

What is the best way to ensure production readiness for PCB designs with recurring DFM issues?

The best way to ensure PCB production readiness is to use an automated DFM validation workflow. It analyzes DFM inputs, generates reproducible patches for the PCB generation scripts, and validates the results to streamline the manufacturing process.