eda-drc
Design validation and review. Run DRC/ERC checks, verify against constraints, check component availability, and prepare comprehensive validation reports.
How do I install this agent skill?
npx skills add https://github.com/l3wi/claude-eda --skill eda-drcIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides a workflow for hardware design validation using KiCad and component verification via JLCPCB and LCSC services. It is generally safe for its intended purpose but lacks input sanitization or boundary markers for external design files, which creates a minor indirect prompt injection surface.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/1 file flagged
What does this agent skill do?
EDA DRC Skill
Design validation, rule checking, and pre-manufacturing review.
Auto-Activation Triggers
This skill activates when:
- User asks to "check design", "validate", "run DRC"
- User asks about design errors or warnings
- User mentions manufacturing readiness
- Project is approaching completion
- User asks "is this ready for fabrication?"
Context Requirements
Requires:
hardware/*.kicad_sch- Schematic fileshardware/*.kicad_pcb- PCB layoutdocs/design-constraints.json- Project constraintsdocs/component-selections.md- Selected components
Produces:
docs/validation-report.md- Comprehensive validation report
Validation Scopes
/eda-check schematic
- Run ERC (Electrical Rules Check)
- Verify power connections
- Check decoupling capacitors
- Validate against datasheet requirements
- Check component values
/eda-check pcb
- Run DRC (Design Rules Check)
- Verify placement guidelines
- Check routing rules
- Validate copper pours
- Review silkscreen
/eda-check components
- Verify stock availability on LCSC
- Check current pricing
- Identify lifecycle issues
- Suggest alternatives if needed
/eda-check manufacturing
- Generate and review Gerbers
- Verify BOM completeness
- Check position file accuracy
- Validate against manufacturer specs
/eda-check full
- Run all above checks
- Comprehensive pre-manufacturing validation
Workflow
1. Load Context
@docs/design-constraints.json
@docs/component-selections.md
@docs/schematic-status.md
@docs/pcb-status.md
2. Run Automated Checks
- Execute DRC/ERC via KiCad MCP
- Capture all violations and warnings
3. Manual Review Checklist
Use reference documents to verify:
- Common issues are addressed
- Manufacturer constraints are met
- Design guidelines followed
4. Component Verification
For each selected component:
- Check LCSC stock status
- Verify pricing
- Check for lifecycle warnings
5. Generate Report
Create comprehensive validation report documenting:
- Pass/fail status for each check
- List of issues found
- Recommended actions
- Sign-off status
Output Format
validation-report.md
# Validation Report
Project: [name]
Generated: [timestamp]
Scope: [schematic|pcb|components|manufacturing|full]
## Summary
| Check | Status | Issues |
|-------|--------|--------|
| ERC | PASS/FAIL | X errors, Y warnings |
| DRC | PASS/FAIL | X errors, Y warnings |
| Components | PASS/FAIL | X issues |
| Manufacturing | PASS/FAIL | X issues |
| **Overall** | **PASS/FAIL** | |
## Critical Issues
Items that MUST be fixed before manufacturing:
1. [Issue description] - [Location] - [Fix]
2. ...
## Warnings
Items that SHOULD be reviewed:
1. [Warning description] - [Location] - [Recommendation]
2. ...
## Notes
Items for information only:
1. [Note]
2. ...
---
## Detailed Results
### Schematic (ERC)
**Status:** PASS/FAIL
**Errors:**
- [ ] [Error type]: [Details]
**Warnings:**
- [ ] [Warning type]: [Details]
**Checks Passed:**
- [x] All power pins connected
- [x] All ICs have decoupling
- [x] No unconnected pins (except intentional NC)
- [x] Net names consistent
### PCB (DRC)
**Status:** PASS/FAIL
**Errors:**
- [ ] [Error type]: [Details]
**Warnings:**
- [ ] [Warning type]: [Details]
**Checks Passed:**
- [x] Trace width meets minimum
- [x] Clearances meet minimum
- [x] Via drill meets minimum
- [x] Silkscreen not on pads
### Components
| Component | LCSC | Stock | Price | Status |
|-----------|------|-------|-------|--------|
| [name] | C#### | #### | $X.XX | OK/LOW/OOS |
**Issues:**
- [Component]: [Issue]
### Manufacturing
**Target:** [JLCPCB/PCBWay/etc.]
**Checks:**
- [ ] Board size within limits
- [ ] Layer count supported
- [ ] Minimum features met
- [ ] BOM complete
- [ ] Position file accurate
---
## Action Items
### Before Manufacturing
1. [ ] [Action required]
2. [ ] [Action required]
### Recommendations
1. [ ] [Optional improvement]
---
## Sign-off
- [ ] Schematic review complete
- [ ] PCB review complete
- [ ] Components verified
- [ ] Ready for manufacturing
Reviewed by: [name/date]
Guidelines
- Run DRC frequently during layout, not just at the end
- Address all errors before manufacturing
- Document intentional rule violations
- Verify component availability before finalizing design
- Keep validation report updated as issues are fixed
Reference Documents
reference/COMMON-ISSUES.md- Frequent problems and solutionsreference/MANUFACTURER-SPECS.md- Manufacturer capabilitiesreference/VALIDATION-CHECKLIST.md- Pre-manufacturing checklist
Next Steps
After validation passes:
- Run
/eda-export [format]to generate manufacturing files - Update
design-constraints.jsonstage to "complete"
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/l3wi/claude-eda/eda-drc">View eda-drc on skillZs</a>