/chipdev-method:choose-artifactfrom chipdev-method
Helps the user decide whether to build a performance model, a behavior model, or RTL for a chip frontend task, and in what order. Activate when the user explicitly invokes /chipdev-method:choose-artifact, or asks variants like "should I write cmodel or RTL first", "怎么选模型", "what artifact do I need", or stands at the start of a new chip / module / subsystem and has not yet committed to an artifact path.
Ships in chipdev-method. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user is at the entry point of a chip frontend project
(or a new component within one) and must decide which artifact(s) to build,
in which order, with what fidelity. Do not autoload — only respond when the
user invokes /chipdev-method:choose-artifact or matches the trigger phrases
in the description.
The job here is judgment delivery, not chapter recitation. Give the user a decision, not a survey.
When triggered:
define-contracts,
build-*, etc).Keep the response under ~400 words unless the user asks for depth.
[abstract]| Dimension | Behavior model | Performance model | RTL |
|---|---|---|---|
| Goal | Functional / ISA correctness | Microarchitecture timing | The actual hardware |
| Fidelity | Architectural state | Cycle-level | Bit + cycle + synthesizable |
| Speed | 10×–100× hardware | 0.001×–0.01× | < perf model |
| Build cost | Low | High | Highest |
| Primary consumer | Driver / SW team, difftest reference | Microarch exploration, perf analysis | Tape-out, verification sign-off |
| When required | Always (somewhere — even if it's just a Python golden) | When microarch decisions need quantitative answers | Always, eventually |
This three-way split is the central frame. Most other decisions cascade from it.
[abstract]Ask the user three questions. Recommend based on answers.
define-contracts before either implementation begins.define-contracts) before any implementation. Spec drift is cheaper to
prevent than to repair.[abstract]Six principles cut across all three artifacts. Apply them when choosing AND when
implementing. Detailed breakdown in references/six-invariants.md.
GeneratedBase → HandwrittenImpl.advance(cycles) contract. Avoid SC_THREAD-
style coroutines unless the workload genuinely requires them.When recommending an artifact path, point out which of these invariants is most at risk on that path. Most failure modes trace back to violating one of these six.
[abstract]define-contracts before any
build-* skill.build-behavior-model is explicit about what to keep / drop).build-behavior-model and define-contracts).[industry-pattern]A typical sequence of phases (durations vary by team size; the order is what matters):
Phase 0 — Infrastructure: build system, DSL toolchain, framework skeleton.
Phase 1 — End-to-end thin slice through the data path on minimal config.
Phase 2 — Compute units to bit-accuracy; align floating-point ULP with RTL.
Phase 3 — All modules stubbed; connection code generated; compiles clean.
Phase 4 — Functional completeness: caches, multi-instance, real workloads.
Phase 5 — Hardening: cycle-accuracy alignment with RTL, perf optimization.
Phase 6 — Maintenance: CI gates, RTL drift tracking, version pinning.
Milestones M0–M5 typically map to the end of Phase 0–5. The exact week counts depend on team size and complexity.
Detailed phase content in references/roadmap-phases.md.
[abstract]For a team-scale effort, four roles are usually needed. For a solo effort, one engineer wears all four hats but should still keep the role boundaries in mind:
define-contracts — the next skill if any artifact is being built.build-perf-model / build-behavior-model / build-rtl — the per-artifact
construction skills.align-and-difftest — when behavior model and RTL must agree.references/decision-matrix.md — long-form decision matrix.references/six-invariants.md — long-form invariants with examples.references/roadmap-phases.md — long-form phase descriptions and milestones.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub curryfromuestc/dev-guide --plugin chipdev-method8 skills in this plugin
/align-and-difftestGuides behavior model ↔ RTL equivalence checking — sampling point selection (commit/retire vs transaction-edge vs cycle), drive direction (DUT pushes ref), DPI-C probe interface, async event alignment, snapshot-based debugging, and DSL-driven probe generation. Activate when the user explicitly invokes /chipdev-method:align-and-difftest, or asks "怎么 diff cmodel 和 RTL", "behavior 对不上 RTL", "difftest 怎么搭", "what should I sample", "RVVI vs DPI", or "snapshot for difftest", or sets up a difftest infrastructure./auditRoutes a methodology compliance review of the user's current changes to Codex via the codex-plugin-cc adversarial-review command. Activate when the user explicitly invokes /chipdev-method:audit, or asks "audit my diff", "审一下我这版改动", "review my methodology compliance", "did I violate any of the principles", or wants an independent adversarial check that their work follows the plugin's six invariants and contract-first discipline./build-behavior-modelGuides the construction of a functional behavior model that decouples timing but preserves architectural state for RTL difftest — what to keep, what to drop, where to embed probes, how to package the cross-language interface, and how to coordinate memory with the DUT. Activate when the user explicitly invokes /chipdev-method:build-behavior-model, or asks "什么是行为模型", "behavior model 边界", "difftest 用什么 ref 模型", "怎么做 functional simulator", or designs the reference half of a difftest setup.Other plugins' skills for the same job