agentleFS
DangoSysDangoSys/skills/chip-designer/SKILL.md

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.

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
  1. Distinctive:

    Create the configuration skeleton using existing chips as templates:

    line 14
  2. Very specific:

    add chip emu/, workloads/, and regression TOMLs only when their consumers exist.

    line 19
  3. Distinctive:

    Do not add a private model partitioning flow unless the repository contains and documents the required tooling.

    line 31
  4. Distinctive:

    Do not silently resize, truncate, or default mismatched inter-core data.

    line 32
  5. Distinctive:

    Do not edit Ball registration and Ball implementation in the same change unless the user explicitly requests the coupled change.

    line 33

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Explain why an existing chip does not fit the workload. Identify independent compute stages, data exchanged between them, and their relative latency.
  2. 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.
  3. Create the configuration skeleton using existing chips as templates:
    • examples/chips/<chip>/configs/chip.toml selects designs/*.toml and simulation configs;
    • configs/designs/*.toml declares tiles;
    • configs/designs/tiles/*.toml declares sharedMem and [[cores]] entries that include examples/cores/<core>/configs/default.toml;
    • arch/src/main/scala/CustomConfigs.scala, sims/verilator/TargetConfigs.scala, and sims/p2e/TargetConfigs.scala define target configs;
    • add chip emu/, workloads/, and regression TOMLs only when their consumers exist.
  4. 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.
  5. 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 returned trace_id to a terminal successful result before advancing.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.