chip-designer
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Lead creation of a new Buckyball chip: choose topology and core composition, define inter-core contracts, create the chip configuration skeleton, and sequence integration. Use when creating or leading a chip rather than implementing one Ball or core. Build and simulation use project MCP tools only.
In this repository24 other files it gives its agents.
- agent-runtimeSkill
- ball-alignSkill
- canvas-clientSkill
- checkSkill
- collaboration-panelSkill
- debug-bemuSkill
- debug-compilerSkill
- debug-p2eSkill
- debug-performanceSkill
- debug-verilatorSkill
- domain-modelingSkill
- graph-contractSkill
- grillingSkill
- grill-with-docsSkill
- ip-designerSkill
- model-optimizeSkill
- model-portSkill
- plugin-verifySkill
- programming-principlesSkill
- repo-installSkill
- reportSkill
- role-identitySkill
- waveformSkill
- workload-testsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Create the configuration skeleton using existing chips as templates:
- Very specific: line 19
add chip emu/, workloads/, and regression TOMLs only when their consumers exist.
- Distinctive: line 31
Do not add a private model partitioning flow unless the repository contains and documents the required tooling.
- Distinctive: line 32
Do not silently resize, truncate, or default mismatched inter-core data.
- Distinctive: line 33
Do not edit Ball registration and Ball implementation in the same change unless the user explicitly requests the coupled change.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Chip Design
Own chip topology and integration boundaries. Do not take ownership of a core's Ball ISA, RTL, compiler, or emulator unless the user explicitly expands the scope. Default to leaving arch/src/main/scala/framework/ unchanged; framework gaps belong to mainline work.
Design Flow
- Explain why an existing chip does not fit the workload. Identify independent compute stages, data exchanged between them, and their relative latency.
- Choose topology before implementation. Prefer a small number of core types; choose replica counts from measured or estimated stage latency. Define SharedMem regions, shape/dtype/layout contracts, ownership, and mismatch behavior. Invalid shape or layout must fail explicitly.
- Create the configuration skeleton using existing chips as templates:
examples/chips/<chip>/configs/chip.tomlselectsdesigns/*.tomland simulation configs;configs/designs/*.tomldeclares tiles;configs/designs/tiles/*.tomldeclaressharedMemand[[cores]]entries that includeexamples/cores/<core>/configs/default.toml;arch/src/main/scala/CustomConfigs.scala,sims/verilator/TargetConfigs.scala, andsims/p2e/TargetConfigs.scaladefine target configs;- add chip
emu/,workloads/, and regression TOMLs only when their consumers exist.
- Give each core owner a brief containing its mission, fixed inter-core contract, acceptance tests, and non-goals. Do not delegate topology or contract decisions as an open-ended task.
- Integrate in order: core/slice unit test, pairwise SharedMem test, then end-to-end workload. Add a regression entry only for a supported binary; exclude an unsupported binary from a batch list without deleting its CMake target.
Existing References
examples/chips/poly/: heterogeneous prefill/decode cores with SharedMem and chip-level emulation.examples/chips/goban/: multi-core chip configuration and emulation.examples/chips/toy/: minimal virtual single-core chip layout.
Constraints
- Do not add a private model partitioning flow unless the repository contains and documents the required tooling.
- Do not silently resize, truncate, or default mismatched inter-core data.
- Do not edit Ball registration and Ball implementation in the same change unless the user explicitly requests the coupled change.
- Invoke build, workload, simulation, and synthesis through
bbdev_*MCP tools; poll each returnedtrace_idto a terminal successful result before advancing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

