Build reusable application circuits, not generated IC wrappers. A good reference design captures the support circuitry, default mode, key equations, layout-sensitive notes, and evidence needed to use the part confidently.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionreference-designExecute the skills CLI command in your project's root directory to begin installation:
Fetches reference-design from diodeinc/pcb and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate reference-design. Access via /reference-design in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
204
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
204
stars
Build reusable application circuits, not generated IC wrappers. A good reference design captures the support circuitry, default mode, key equations, layout-sensitive notes, and evidence needed to use the part confidently.
.zen docstring is the canonical design document. The README is for usage examples only.pcb build warnings matter. Review them, especially BOM/sourceability warnings such as bom.match_generic.# pcb:sch ... comments. They carry tool-managed schematic layout metadata. Do not delete them. If you rename a referenced component, module instance, or net, update the corresponding # pcb:sch names too.component-search.pcb doc --package ... and by reading their source.Do not create a new reference design yet if:
Strong exemplars usually have most of these traits:
Weak/generated exemplars usually show warning signs such as:
Use weak examples for package API lookup only.
A high-quality reference design is electrically faithful, narrowly scoped, reasonably sourceable, and evidence-backed. Treat the .zen file as the design artifact, not just executable code.
Extract at least:
When the datasheet is ambiguous, look for app notes, eval schematics, or nearby validated registry designs before guessing.
Reference-design API rules:
Name the reference design from the functional MPN, not the full orderable SKU.
Use these rules:
x: temperature grade, reel/tray packaging, RoHS/Pb-free, and other ordering-only suffixes.x.x.Examples:
DP83867ISRGZR -> DP83867TPS3430WDRCR -> TPS3430WDRCL78L05_TO92Use <NAME> for the resolved reference-design name from the rules above, for example:
reference/<NAME>/
├── <NAME>.zen
├── pcb.toml
└── README.md
Scaffold with pcb new package reference/<NAME>.
Organize the .zen file in this order:
load()s and helper definitionsio() and config() definitionsGroup support circuitry by electrical function: power, decoupling, feedback, straps, clocks, reset, interface conditioning, protection.
Keep the # pcb:sch ... block intact and in sync with renames.
Include:
Keep this in the .zen file so the code and rationale stay together.
Good comment targets:
Avoid comments that merely restate the code.
Read registry/.pcb/stdlib/bom/match_generics.zen when sourceability choices matter. The stdlib matcher only covers a constrained house catalog, so generic values, packages, dielectric choices, and voltage ratings affect whether parts match.
Use these rules:
pcb build warnings as review items, especially bom.match_generic.Typical fixes are choosing the nearest valid house value above a datasheet minimum, clamping computed values to supported parts, or adjusting package/voltage choices without violating the design. Use pcb bom <path> -f json when you need sourcing detail beyond the matcher.
Build after every major block, not just at the end.
pcb build reference/<NAME>
Typical problems:
load()s, bad stdlib assumptions, or ambiguous optional-feature modelingFormat when done:
pcb fmt reference/<NAME>
Use it for:
Do not put general feature lists, design notes, or long rationale sections in the README. That belongs in the .zen docstring.
Minimal README shape:
# <NAME> Reference Design
## Usage
```python
MyRef = Module("github.com/diodeinc/registry/reference/<NAME>/<NAME>.zen")
MyRef(
name="U1",
VIN=vin,
VOUT=vout,
GND=gnd,
)
```
## Other Usage Examples
Add additional examples only when they show materially different integration patterns.
Stop and ask or gather more evidence when:
pcb build warnings suggest unresolved correctness or sourceability issuespcb build was run and warnings were reviewed.pcb fmt was run, and the README contains usage examples only.Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
anthropics/claude-code
sickn33/antigravity-awesome-skills
leonxlnx/taste-skill
erichowens/some_claude_skills
hyperb1iss/hyperskills
omer-metin/skills-for-antigravity
reference-design reduced setup friction for our internal harness; good balance of opinion and flexibility.
reference-design has been reliable in day-to-day use. Documentation quality is above average for community skills.
reference-design fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
Keeps context tight: reference-design is the kind of skill you can hand to a new teammate without a long onboarding doc.
I recommend reference-design for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in reference-design — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
We added reference-design from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
reference-design is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
reference-design is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in reference-design — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 40