drc-check
Skill169 starsChanged 18 days agoMITView on GitHub
KiCad MCP workflow for ERC/DRC execution, issue triage, waiver review, and revalidation.
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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
- Distinctive: line 8
Use this skill when an AI agent is asked to run, interpret, triage, or revalidate KiCad ERC/DRC results through KiCad MCP Pro.
- Distinctive: line 14
Use this skill for:
- Distinctive: line 24
Do not use this skill to hide, auto-waive, or normalize violations without explicit engineering rationale.
- Distinctive: line 72
Use these only when explicitly requested and when the rationale is documented.
- Very specific: line 94
Run ERC with run_erc when schematic validation is in scope.
- Very specific: line 95
Run DRC with run_drc when PCB validation is in scope.
- Very specific: line 96
Run targeted issue extractors: get_unconnected_nets, get_courtyard_violations, and get_silk_to_pad_violations.
- Very specific: line 98
Check exclusions with drc_list_exclusions and drc_validate_exclusions.
- Distinctive: line 99
Run the relevant quality gates.
- Distinctive: line 101
If edits are performed by another workflow, re-run the targeted gates and compare before/after results.
- Distinctive: line 115
Do not add DRC exclusions automatically just to make a gate pass.
- Distinctive: line 132
Stop and report clearly when:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
DRC Check Skill
Use this skill when an AI agent is asked to run, interpret, triage, or revalidate KiCad ERC/DRC results through KiCad MCP Pro.
This skill is specific to oaslananka/kicad-mcp-pro and should be kept synchronized with docs/tools-reference.generated.md.
When to use
Use this skill for:
- Schematic ERC review
- PCB DRC review
- DRC rule inspection and custom rule checks
- Unconnected net triage
- Courtyard and silk-to-pad violation triage
- Waiver/exclusion review
- Revalidation after an edit
Do not use this skill to hide, auto-waive, or normalize violations without explicit engineering rationale.
Required context
Collect:
- Active project path and KiCad version from
kicad_get_project_info - Board and schematic files
- Target gate: ERC, DRC, project gate, release gate, or revalidation loop
- Manufacturer or design-rule constraints, if relevant
- Existing waivers/exclusions, if any
Primary MCP tools
Setup and discovery
kicad_get_project_infokicad_get_versionkicad_helpkicad_get_tools_in_category
ERC and schematic checks
run_ercerc_list_rulesschematic_quality_gateschematic_connectivity_gateschematic_design_rule_checksch_check_power_flagssch_get_net_namessch_get_symbols
DRC and board checks
run_drcdrc_list_rulesdrc_check_rule_conflictsdrc_list_exclusionsdrc_validate_exclusionsget_unconnected_netsget_courtyard_violationsget_silk_to_pad_violationspcb_quality_gatepcb_transfer_quality_gatepcb_stackup_consistency_gate
Controlled rule/exclusion operations
Use these only when explicitly requested and when the rationale is documented.
drc_add_exclusiondrc_remove_exclusiondrc_rule_createdrc_rule_deletedrc_rule_enabledrc_export_ruleserc_set_rule_severityerc_reset_rules
Project-level validation
project_quality_gateproject_quality_gate_reportproject_full_validation_loopproject_revalidate_after_editproject_gate_trend
Workflow
- Confirm active project and KiCad capability with
kicad_get_project_infoandkicad_get_version. - Run ERC with
run_ercwhen schematic validation is in scope. - Run DRC with
run_drcwhen PCB validation is in scope. - Run targeted issue extractors:
get_unconnected_nets,get_courtyard_violations, andget_silk_to_pad_violations. - Inspect rule configuration with
drc_list_rules,erc_list_rules, anddrc_check_rule_conflictswhen violations are unclear. - Check exclusions with
drc_list_exclusionsanddrc_validate_exclusions. - Run the relevant quality gates.
- Group findings by severity, rule, object/reference, location, and likely fix.
- If edits are performed by another workflow, re-run the targeted gates and compare before/after results.
- Report remaining violations, accepted waivers, and unverified assumptions separately.
Waiver policy
A DRC/ERC issue may be marked as waived only when the response documents:
- Rule name or violation ID
- Location/object/reference
- Expected requirement
- Actual deviation
- Engineering rationale
- Human approval requirement
Do not add DRC exclusions automatically just to make a gate pass.
Quality checks
A complete DRC/ERC report must include:
- Tool versions or project context
- ERC result summary
- DRC result summary
- Issue counts by severity
- Critical blockers
- Waivers/exclusions status
- Recommended fixes
- Revalidation result after any changes
Failure modes
Stop and report clearly when:
- KiCad CLI is unavailable for file-backed checks
- Project paths are ambiguous
- DRC/ERC output cannot be produced
- Rule files are missing or conflicting
- Exclusions are stale or cannot be validated
- The user asks to suppress violations without an engineering reason
Output format
Return:
- Project context
- ERC summary
- DRC summary
- Rule/exclusion status
- Findings by severity
- Recommended fixes
- Revalidation evidence
- Human-review notes
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- integrations/AGENTS.mdAGENTS.md
- packages/AGENTS.mdAGENTS.md
- src-tauri/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- docs/llms.txtllms.txt
- fabrication-outputSkill
- kicad-design-reviewSkill
- pcb-designSkill
- schematic-reviewSkill
- visual-excellenceSkill
- wired-subcircuit-designSkill
- code-reviewSkill
- drc-checkSkill
- fabrication-outputSkill
- kicad-design-reviewSkill
- pcb-designSkill
- schematic-reviewSkill
- visual-excellenceSkill
- wired-subcircuit-designSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

