Reviewed-on: #11
AllSpice Trial Repo Template
This repository is a starting point for running design reviews in AllSpice during your trial. It includes an automation that reports on your BOM when a design review opens, context for DRCY, and templates for design reviews and issues.
| File | What it does |
|---|---|
.allspice/workflows/mpn-bom-summary.yml |
Posts a BOM coverage report to every new design review |
.allspice/DRCY.md |
Gives DRCY user-defined context about the design |
.allspice/pull_request_template.md |
Pre-fills every new design review with a description and checklist |
issue_template/ |
Mechanical review and supply chain review issue forms |
Actions
mpn-bom-summary.yml (BOM Coverage Summary in the Actions tab) runs when a design review is opened or reopened. It generates a BOM with AllSpice's generate-bom add-on and posts a coverage report to the design review. Re-runs update the same comment. It supports Altium, OrCAD, System Capture, DeHDL and DxDesigner projects, detected automatically.
The BOM Coverage Report
Components are grouped into categories by reference designator prefix (R → Resistors, C → Capacitors, etc.). The comment shows overall MPN coverage up front, with a toggle for the details:
- MPN coverage per category, e.g.
Capacitors 48/50 (96%), with ⚠️ on anything below 100% - Parts by MPN with manufacturer, quantity and designators
- Missing MPN and unannotated designators (e.g.
R?)
Test points, mounting holes and fiducials are excluded from coverage by default.
Validation is light: it catches blanks, placeholders like TBD, and unannotated designators, but doesn't check that MPNs are correct.
DRCY.md
DRCY.md is loaded at the start of every DRCY chat. Use it for things DRCY can't infer from the design: what the board does, power rails, naming conventions, internal terms, component requirements, and intentional design decisions that might otherwise look like mistakes.
- Keep it at the repository root, on the same branch as your design
- Keep it to a page or two (only the first 16 KiB is read)
- Start a new chat after editing so DRCY picks up the change
The template has a section for each topic, with examples in comments. Fill in what applies and delete the rest. A good place to start is "About this design," "Naming conventions," and "Intentional design decisions." When DRCY misreads something or flags something deliberate, add a line and try again.
Design Review Template
Every new design review is pre-filled with sections for resolved issues and a description, plus a checklist covering process, system, components, schematics and PCB. Each checklist section is collapsed so the review stays readable. Edit .allspice/pull_request_template.md to match your team's process.
Issue Templates
Two issue forms for reviews that happen alongside the design review:
- Mechanical Design Review: sign-off checklist for board and enclosure fit, component clearance, connectors, thermal, cable routing and assembly, and regulatory marking
- BOM Supply Chain Review: checklist for data quality, availability, lead time, strategic supply risk, lifecycle and compliance, with a table for flagged parts and an overall recommendation
Choose one from New Issue in the Issues tab.
Setting it up on your own
- Create a new repository from this template, or copy the files above into your own design repository
- Make sure you have actions enabled on your repository
- In
mpn-bom-summary.yml, setMPN_PARAMto the exact name of your MPN parameter. Other settings are optional and documented in the file - Fill in
DRCY.mdfor your design - Open a design review. The template pre-fills it, and the BOM report is posted automatically when the workflow completes
No secrets or tokens are needed. If the BOM report says no component has an MPN, check the parameter name first.