No slash command · from rtl-agent-team
Internal routing reference for the RTL design pipeline. Maps natural language patterns to action skills for Verilog/FPGA/ASIC tasks including research, architecture, and micro-architecture phases.
Ships in rtl-agent-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Complete reference for orchestrating the RTL design pipeline. Use this when:
This skill is informational — it injects routing context, not an action workflow.
When RTL/HDL/FPGA/ASIC related tasks are detected, route to Action Skills first. Orchestrator agents are internal execution units spawned only by Action Skills.
Invocation types:
Skill(skill="rtl-agent-team:XXX")skills: frontmatter, not user-invocable| Pattern Detected | Route To | Type |
|---|---|---|
| --- Full Pipeline --- | ||
| "RTL design", "verilog", "FPGA", "ASIC", "chip design", "rat-auto-design" | /rtl-agent-team:rat-auto-design | Action Skill |
| "setup tools", "install tools", "EDA setup", "check tools", "docker image", "EDA docker" | /rtl-agent-team:rat-setup | Action Skill |
| "init project", "initialize project", "new project", "project init" | /rtl-agent-team:rat-init-project | Action Skill |
| "doctor", "debug", "diagnostics", "plugin status", "settings check", "tool check" | /rtl-agent-team:rat-doctor | Action Skill |
| "tutorial", "getting started", "how to use", "help me learn" | /rtl-agent-team:rat-tutorial | Action Skill |
| --- Phase 1: Research --- | ||
| "spec analysis", "requirements", "paper research", "research" | /rtl-agent-team:p1-spec-research | Action Skill |
| "codec consultation", "H.264", "H.265", "domain expert" | /rtl-agent-team:domain-consult | Action Skill |
| "intra prediction", "angular mode", "planar mode", "DC mode" | /rtl-agent-team:domain-consult → vcodec-intra-pred-expert | Action Skill |
| "motion estimation", "IME", "FME", "TZ search", "MV prediction", "AMVP" | /rtl-agent-team:domain-consult → vcodec-me-expert | Action Skill |
| "motion compensation", "sub-pel interpolation", "bi-prediction", "weighted prediction" | /rtl-agent-team:domain-consult → vcodec-mc-expert | Action Skill |
| --- Phase 2: Architecture --- | ||
| "architecture design" (RTL context) | /rtl-agent-team:p2-arch-design | Action Skill |
| "architecture review", "arch review" | /rtl-agent-team:arch-review | Action Skill |
| "reference model", "ref model", "C model" | /rtl-agent-team:ref-model | Action Skill |
| "BFM", "bus functional model", "SystemC model" | /rtl-agent-team:bfm-develop | Action Skill |
| --- Phase 3: μArch --- | ||
| "microarchitecture", "μArch", "uarch", "pipeline design" | /rtl-agent-team:rtl-p3-uarch-design | Action Skill |
| --- Pipeline Composition --- | ||
| "DSE", "design space exploration", "algorithm study", "architecture comparison", "iterative exploration" | /rtl-agent-team:rat-dse | Action Skill |
| "Phase 1 team", "research team", "parallel research" | /rtl-agent-team:p1-spec-research team mode | Action Skill |
| "Phase 2 team", "arch team", "parallel architecture" | /rtl-agent-team:p2-arch-design team mode | Action Skill |
| "Phase 3 team", "uarch team", "parallel uarch" | /rtl-agent-team:rtl-p3-uarch-design team mode | Action Skill |
| "refc to RTL", "C model to hardware", "refc to P5", "implement refc in RTL" | /rtl-agent-team:rat-refc-to-p5 | Action Skill |
| "spec to uarch team", "Phase 1-3 team", "parallel design pipeline" | /rtl-agent-team:rat-p1p3-spec-uarch team mode | Action Skill |
| "spec to uarch", "design only", "Phase 1-3", "design documents only" | /rtl-agent-team:rat-p1p3-spec-uarch | Action Skill |
| "uarch to verify", "implement and verify", "Phase 4-5", "RTL from uarch" | /rtl-agent-team:rat-p4p5-impl-verify | Action Skill |
| "RD eval", "BD-PSNR", "BD-rate", "codec quality", "algorithm quality evaluation" | /rtl-agent-team:codec-rd-eval | Action Skill |
| "decoder conformance", "conformance stream", "conformance test", "decoder verify" | /rtl-agent-team:codec-conformance-eval | Action Skill |
--- Coding Conventions (loaded via writer-agent skills: frontmatter) --- | ||
.sv, .svh, .v, .vh RTL code generation | systemverilog (agent-loaded: rtl-coder, testbench-dev, ppa-optimizer-dc) | Convention |
.sv, .sva (SVA, assertion, bind), formal assertion | systemverilog-assertion (agent-loaded: sva-extractor, protocol-checker, testbench-dev) | Convention |
| UVM testbench, agent, sequence generation | uvm (agent-loaded: testbench-dev) | Convention |
.cpp, .h (SystemC/TLM), Phase 2/3 | systemc (agent-loaded: bfm-dev) | Convention |
| --- Phase 4: RTL --- | ||
| "rapid rtl", "P4 rapid", "sanity integration", "fast implementation loop" | /rtl-agent-team:rtl-p4-rapid-impl | Action Skill |
| "bug fix", "RTL fix", "RTL bug", "functional error" | /rtl-agent-team:rtl-p4s-bugfix | Action Skill |
| "RTL coding", "module implementation", "SV writing" | /rtl-agent-team:rtl-p4-implement | Action Skill |
| "Phase 4 team", "implement team", "parallel implement" | /rtl-agent-team:rtl-p4-implement team mode | Action Skill |
| "block parallel", "worktree parallel", "6-block", "block-parallel Phase 4" | /rtl-agent-team:rtl-p4-block-parallel | Action Skill |
| "refactoring", "RTL refactoring", "code cleanup" (RTL context) | /rtl-agent-team:rtl-p4s-refactor | Action Skill |
| "SV unit test", "unit test" (RTL context) | /rtl-agent-team:rtl-p4s-unit-test | Action Skill |
| "IP instance", "IP integration", "submodule connection" | /rtl-agent-team:rtl-ip-instantiate | Action Skill |
| "lint", "lint check" (RTL context) | /rtl-agent-team:rtl-lint-check | Action Skill |
| "synthesis", "yosys", "SDC" | /rtl-agent-team:rtl-synth-check | Action Skill |
| "documentation", "RTL docs" | /rtl-agent-team:rtl-document | Action Skill |
| "IP-XACT", "ipxact", "register map generation" | /rtl-agent-team:rtl-ipxact-gen | Action Skill |
| --- Phase 5: Verify --- | ||
| "functional closure", "P5A", "deep functional verification", "hierarchical functional closure" | /rtl-agent-team:rtl-p5a-functional-closure | Action Skill |
| "silicon validation", "P5B", "signoff readiness", "timing signoff", "post-functional signoff" | /rtl-agent-team:rtl-p5b-silicon-validation | Action Skill |
| "Phase 5", "verification pipeline", "extensive verification" | /rtl-agent-team:rtl-p5-verify | Action Skill |
| "Phase 5 team", "verify team", "parallel verify" | /rtl-agent-team:rtl-p5-verify team mode | Action Skill |
| "simulation", "functional verification", "testbench", "cocotb" | /rtl-agent-team:rtl-p5s-func-verify | Action Skill |
| "UVM", "UVM verification", "sequence", "agent" (UVM context) | /rtl-agent-team:rtl-p5s-uvm-verify | Action Skill |
| "performance verification", "throughput", "latency measurement" | /rtl-agent-team:rtl-p5s-perf-verify | Action Skill |
| "formal", "SVA", "assertion" | /rtl-agent-team:rtl-p5s-sva-check | Action Skill |
| "CDC", "clock domain" | /rtl-agent-team:rtl-p5s-cdc-verify | Action Skill |
| "AXI", "APB", "AHB", "protocol" (RTL context) | /rtl-agent-team:rtl-p5s-protocol-verify | Action Skill |
| "coverage" | /rtl-agent-team:rtl-p5s-coverage-analyze | Action Skill |
| PPA optimize, DC PPA, power/timing/area optimize | /rtl-agent-team:rtl-ppa-optimize-dc | Action Skill |
| PPA auto-loop, ultraloop PPA, converge PPA | /rtl-agent-team:rat-ultraloop-ppa | Action Skill |
| --- Phase 6: Design Note --- | ||
| "design review", "Phase 6", "design note", "code review documentation" | /rtl-agent-team:rtl-p6-design-review | Action Skill |
| --- Phase 7: Exploration (optional) --- | ||
| "free exploration", "exploration", "Phase 7", "improvement exploration" | /rtl-agent-team:rtl-p7-exploration | Action Skill |
| --- Autonomous Loops --- | ||
| "ultraloop", "autonomous loop", "unattended", "overnight mode" | /rtl-agent-team:rat-ultraloop | Action Skill |
| --- Other Verification --- | ||
| "LLM code review", "safe refactor", "review and refactor workflow" | /rtl-agent-team:rtl-review-refactor | Action Skill |
| "integration test", "cross-module test", "end-to-end test", "Tier 4" | /rtl-agent-team:rtl-p5s-integration-test | Action Skill |
| "regression", "multi-seed" | /rtl-agent-team:rtl-p5s-func-verify (Tier 3) | Action Skill |
| "RTL conformance", "RTL conformance test", "RTL golden comparison" | /rtl-agent-team:rtl-conformance-test | Action Skill |
| "bug reproduction", "bug repro", "waveform debug" | /rtl-agent-team:rtl-bug-repro | Action Skill |
| "model consistency", "RTL-model comparison" | /rtl-agent-team:rtl-model-consistency | Action Skill |
| "cross-phase", "contract validation", "spec consistency", "phase boundary check" | /rtl-agent-team:cross-phase-contract-validator | Action Skill |
| "cross-review", "codex review", "2nd reviewer", "second opinion", "cross check" | /rtl-agent-team:codex-cross-review | Action Skill |
| "routing help", "which skill to use", "routing reference" | rtl-orchestrate (internal context only) | Internal Reference |
Action Skills are user-facing. Each action delegates to one orchestrator agent, which embeds generated policy fragments. Team mode of a merged phase skill dispatches that phase's team orchestrator.
| Action Skill | Orchestrator Agent | Embedded policy fragment |
|---|---|---|
rat-auto-design | autopilot-orchestrator | rat-auto-design-policy |
p1-spec-research | p1-research-orchestrator (team mode: p1-research-orchestrator) | p1-spec-research-policy |
p2-arch-design | p2-arch-orchestrator (team mode: p2-arch-orchestrator) | p2-arch-design-policy |
rtl-p3-uarch-design | p3-uarch-orchestrator (team mode: p3-uarch-orchestrator) | rtl-p3-uarch-policy |
rtl-p4-implement | p4-implement-orchestrator (team mode: p4-implement-orchestrator) | rtl-p4-implement-policy |
rtl-p4-rapid-impl | p4-rtl-sanity-orchestrator | rtl-p4-rapid-impl-policy |
rtl-p4s-bugfix | p4s-bugfix-orchestrator | rtl-p4s-bugfix-policy |
rtl-p4s-refactor | p4s-refactor-orchestrator | rtl-p4s-refactor-policy |
rtl-p4s-unit-test | p4s-unit-test-orchestrator | rtl-p4s-unit-test-policy |
rtl-p5-verify | p5-verify-orchestrator (team mode: p5-verify-orchestrator) | rtl-p5-verify-policy |
rtl-p5a-functional-closure | p5a-functional-closure-orchestrator | rtl-p5a-functional-closure-policy |
rtl-p5b-silicon-validation | p5b-silicon-validation-orchestrator | rtl-silicon-validation-policy |
rtl-p5s-func-verify | p5s-func-verify-orchestrator | rtl-p5s-func-verify-policy |
rtl-p5s-sva-check | p5s-sva-orchestrator | rtl-p5s-sva-policy |
rtl-p5s-cdc-verify | p5s-cdc-orchestrator | rtl-p5s-cdc-policy |
rtl-p5s-protocol-verify | p5s-protocol-orchestrator | rtl-p5s-protocol-policy |
rtl-p5s-perf-verify | p5s-perf-orchestrator | rtl-p5s-perf-policy |
rtl-p5s-coverage-analyze | p5s-coverage-orchestrator | rtl-p5s-coverage-policy |
rtl-p5s-uvm-verify | p5s-uvm-orchestrator | rtl-p5s-uvm-policy |
rtl-p5s-integration-test | p5s-integration-orchestrator | rtl-p5s-integration-test-policy |
rtl-p6-design-review | p6-review-orchestrator | rtl-p6-design-review-policy |
rtl-p7-exploration | p7-exploration-orchestrator | rtl-p7-exploration-policy |
rtl-review-refactor | review-refactor-orchestrator | code-review-policy, refactor-classification-policy, verification-recheck-policy |
codex-cross-review | codex-cross-reviewer | — (self-contained) |
rat-dse | dse-orchestrator | rat-dse-policy |
rat-p1p3-spec-uarch | spec-to-uarch-orchestrator (team mode sequences the phase skills; a failed TeamCreate stays in that phase's sequential section) | rat-p1p3-spec-uarch-policy |
rat-p4p5-impl-verify | uarch-to-verify-orchestrator | rat-p4p5-impl-verify-policy |
rtl-p4-block-parallel | p4-block-parallel-coordinator | rtl-block-interface-policy, rtl-block-contract-test-policy |
rtl-ppa-optimize-dc | ppa-optimizer-dc-orchestrator | ppa-optimizer-dc-policy |
rat-ultraloop-ppa | ppa-optimizer-dc-orchestrator (iterative PPA convergence loop) | ppa-optimizer-dc-policy |
rat-refc-to-p5 | — (skill-driven pipeline over P4→P5 from existing refc/) | — |
rat-ultraloop | — (skill-driven, dispatches ultraloop-reviewer for review cycles) | — |
Cross-cutting policy fragments (referenced by specialist agents, not tied to a single orchestrator):
| Embedded policy fragment | Referenced By | Purpose |
|---|---|---|
test-design-policy | testbench-dev, test-plan-writer | Systematic test case design methodology (ECP, BVA, state transition, decision table) |
Specialist agents (spawned by orchestrators, not user-invocable):
| Agent | Purpose | Spawned By |
|---|---|---|
test-plan-writer | Test plan generation from uarch spec (ECP/BVA/STT/DT) | Spawned by P4 orchestrators in Wave 0 Step 0b |
RTL tasks must be delegated to specialized agents. This applies to tasks handling .sv, .svh, .v, .vh files or using EDA tools.
| Task Type | Agent | Model |
|---|---|---|
| Specification analysis | spec-analyst | Fable |
| Goal clarification | goal-clarifier | Fable |
| Architecture design | arch-designer | Fable |
| Architecture review | rtl-architect | Fable |
| μArch design | uarch-designer | Fable |
| RTL coding | rtl-coder | Opus |
| RTL review | rtl-critic | Opus |
| Design planning | rtl-planner | Fable |
| Codebase exploration | rtl-explorer | Opus |
| Synthesizability check | synthesizability-gate | Opus |
| DC PPA optimization | ppa-optimizer-dc | Opus |
| Task Type | Agent | Model |
|---|---|---|
| Testbench development | testbench-dev | Opus |
| Functional verification | func-verifier | Opus |
| Performance verification | perf-verifier | Opus |
| SVA extraction/writing | sva-extractor | Opus |
| Protocol compliance | protocol-checker | Opus |
| Coverage analysis | coverage-analyst | Opus |
| Waveform analysis | waveform-analyzer | Opus |
| Task Type | Agent | Model |
|---|---|---|
| CDC design review | cdc-reviewer | Opus |
| Protocol design review | protocol-reviewer | Opus |
| Formal quality review | formal-reviewer | Opus |
| Power analysis | power-analyzer | Opus |
| Synthesis results review | synthesis-reviewer | Opus |
| UVM TB quality review | uvm-reviewer | Opus |
| Requirement traceability | requirement-tracer | Opus |
| cocotb TB quality review | cocotb-reviewer | Opus |
| Reference model review | ref-model-reviewer | Opus |
| Regression analysis | regression-analyzer | Opus |
| Equivalence checking | equivalence-checker | Opus |
| Integration verification | integration-verifier | Opus |
| Hardware security review | security-reviewer | Opus |
| Phase compliance check | compliance-checker | Opus |
| DFT/scan chain/BIST/JTAG | dft-designer | Opus |
| Clock architecture/PLL review | clock-architect | Fable |
| Task Type | Agent | Model |
|---|---|---|
| Code quality review | code-quality-reviewer | Opus |
| Design quality review | design-quality-reviewer | Opus |
| Design document writing | design-note-writer | Opus |
| Improvement analysis | improvement-analyst | Opus |
| Pipeline | Agent | Embedded policy fragment |
|---|---|---|
| Full pipeline (P1→P6) | autopilot-orchestrator | rat-auto-design-policy |
| Phase 1: Research | p1-research-orchestrator | p1-spec-research-policy |
| Phase 2: Architecture | p2-arch-orchestrator | p2-arch-design-policy |
| Phase 3: μArch | p3-uarch-orchestrator | rtl-p3-uarch-policy |
| Phase 4: RTL Implementation | p4-implement-orchestrator | rtl-p4-implement-policy |
| Phase 1: Research (Team) | p1-research-orchestrator | p1-spec-research-policy |
| Phase 2: Architecture (Team) | p2-arch-orchestrator | p2-arch-design-policy |
| Phase 3: μArch (Team) | p3-uarch-orchestrator | rtl-p3-uarch-policy |
| Phase 4: RTL Implementation (Team) | p4-implement-orchestrator | rtl-p4-implement-policy |
| Phase 4: Rapid RTL + Sanity | p4-rtl-sanity-orchestrator | rtl-p4-rapid-impl-policy |
| Phase 4: Bug Fix | p4s-bugfix-orchestrator | rtl-p4s-bugfix-policy |
| Phase 4: Refactor | p4s-refactor-orchestrator | rtl-p4s-refactor-policy |
| Phase 4: Unit Test | p4s-unit-test-orchestrator | rtl-p4s-unit-test-policy |
| Phase 5: Verification | p5-verify-orchestrator | rtl-p5-verify-policy |
| Phase 5: Verification (Team) | p5-verify-orchestrator | rtl-p5-verify-policy |
| Phase 5A: Functional Closure | p5a-functional-closure-orchestrator | rtl-p5a-functional-closure-policy |
| Phase 5B: Silicon Validation | p5b-silicon-validation-orchestrator | rtl-silicon-validation-policy |
| Phase 5: Func Verify | p5s-func-verify-orchestrator | rtl-p5s-func-verify-policy |
| Phase 5: Integration | p5s-integration-orchestrator | rtl-p5s-integration-test-policy |
| Phase 5: SVA/Formal | p5s-sva-orchestrator | rtl-p5s-sva-policy |
| Phase 5: CDC | p5s-cdc-orchestrator | rtl-p5s-cdc-policy |
| Phase 5: Protocol | p5s-protocol-orchestrator | rtl-p5s-protocol-policy |
| Phase 5: Performance | p5s-perf-orchestrator | rtl-p5s-perf-policy |
| Phase 5: Coverage | p5s-coverage-orchestrator | rtl-p5s-coverage-policy |
| Phase 5: UVM | p5s-uvm-orchestrator | rtl-p5s-uvm-policy |
| Phase 6: Design Review | p6-review-orchestrator | rtl-p6-design-review-policy |
| Phase 7: Exploration | p7-exploration-orchestrator | rtl-p7-exploration-policy |
| Post-Verify PPA (DC) | ppa-optimizer-dc-orchestrator | ppa-optimizer-dc-policy |
| LLM Review + Refactor | review-refactor-orchestrator | code-review-policy + refactor-classification-policy + verification-recheck-policy |
| DSE | dse-orchestrator | rat-dse-policy |
| Spec→μArch (P1-3) | spec-to-uarch-orchestrator | rat-p1p3-spec-uarch-policy |
| Spec→μArch (P1-3 Team) | spec-to-uarch-orchestrator | rat-p1p3-spec-uarch-policy |
| μArch→Verify (P4-5) | uarch-to-verify-orchestrator | rat-p4p5-impl-verify-policy |
| Phase 4: Block-Parallel | p4-block-parallel-coordinator | rtl-block-interface-policy, rtl-block-contract-test-policy |
| Phase 4: Block Worker | p4-block-worker | rtl-p4-implement-policy |
| Autonomous Review Loop | ultraloop-reviewer | — (READ-ONLY reviewer) |
| Task Type | Agent | Model |
|---|---|---|
| EDA tool execution | eda-runner | Sonnet |
| Synthesis metrics | scripts/parse_synthesis.py | — (deterministic script) |
| Lint checking | lint-checker | Opus |
| SDC constraint generation | constraint-writer | Opus |
| Timing analysis (STA) | timing-advisor | Opus |
| CDC static analysis | cdc-checker | Opus |
| IP-XACT generation | ipxact-generator | Sonnet |
| BFM development | bfm-dev | Opus |
| Reference model development | ref-model-dev | Opus |
| Task Type | Agent | Model |
|---|---|---|
| General domain expert | domain-expert | Opus |
| Codec chief expert | vcodec-chief-standard-expert | Opus |
| Syntax/entropy expert | vcodec-syntax-entropy-expert | Opus |
| Intra prediction expert | vcodec-intra-pred-expert | Opus |
| Motion estimation expert | vcodec-me-expert | Opus |
| Motion compensation expert | vcodec-mc-expert | Opus |
| Transform/quantization expert | vcodec-transform-quant-expert | Opus |
| Filter/reconstruction expert | vcodec-filter-recon-expert | Opus |
| Codec architecture expert | vcodec-architecture-expert | Fable |
| Codec performance expert | video-processing-expert | Opus |
| Color format expert | vproc-color-format-expert | Opus |
| Denoise expert | vproc-denoise-expert | Opus |
| Image processing expert | vproc-image-processing-expert | Opus |
These rules define the canonical pipeline order. Rule 5 is hook-enforced
(hard gate); rules 1-4, 6-8 and 10-11 are policy declarations carried through
skill-entry warnings (asymmetric phase gate design — exit strict, entry
flexible). See CLAUDE.md "Pipeline Rules" section for the enforcement
column.
rtl-verify-stop-gate.sh; verification.stop_gate = notify or off relaxes it per project, the user's decision): Do not declare completion after RTL modification without functional verification (lint alone is insufficient)Lower stages must never violate the spec of upper stages.
Requirements(Spec) → Architecture → μArch → RTL → Verification
↑ Each stage must comply with the decisions of the stage to its left
Design priorities (RTL quality criteria):
One review against the evidence. Name the open items and stop. A further round runs only when the user asks.
| Phase | Review |
|---|---|
| Phase 1: Research | One chief review of the requirements |
| Phase 2: Architecture | One review (memory, performance, ref model) |
| Phase 3: μArch | One review (performance, interface, memory) |
| Phase 4: RTL | Implement, lint, and one functional check |
| Phase 5: Verify | Check the requirements once |
Do not schedule a second pass to chase convergence. Critical findings are reported to the user. Prompts state the goal, the constraints, the evidence, and the done condition. Exact commands stay only for tool calls and for steps whose order must not change. Leave effort at the session default.
Two kinds of decision. Where no EDA or other measurement exists, the model's confidence is the gate. High confidence means low ambiguity: the spec has one reading, or one architecture choice fits and the others do not. Record it. Do not iterate to raise it. Low confidence is named and asked once; the user's answer is the decision. Where a measurement exists — lint, simulation, formal, coverage, synthesis, CDC, or a model comparison — the measured result is the judgment. The model's confidence does not override it.
Exit gates are strict, entry gates are flexible.
rat-init-project is a hard entry block. Note: orchestrator "Context Preload" checks (verifying physical existence of input files a phase MUST read) use STOP, not WARNING — phases cannot function without their input data. This is distinct from entry gates which assess quality/completeness.This ensures downstream phases never receive incomplete inputs, while allowing upstream-incomplete work to proceed with reduced scope.
Design artifacts serve as persistent memory across phases and agents.
iron-requirements.json + open-requirements.json → arch-designer → architecture.md → uarch-designer → docs/phase-3-uarch/*.md → rtl-coder
reviews/phase-N/ → Quality Gate → next phase proceeds or fails
phase-N-summary.md on completion for downstream context efficiencyVerification artifacts MUST be functionally validated against their upstream reference — not merely checked for existence and compilation. Phase 1 (Research) and Phase 6 (Design Note) are excluded as they produce no executable verification artifacts.
Phase 2 refC ──compare──→ external golden C model (if provided, e.g., vendor_ref/) OR Phase 1 requirements
Phase 3 BFM ──compare──→ Phase 2 refC (shared test vectors, per-block output match) [enforced: G4b gate]
Phase 4 unit ──compare──→ Phase 2 refC golden output [enforced: DPI-C/file; gap: BFM I/O logs]
Phase 5 TB ──compare──→ Phase 1 requirements via Phase 2 refC as oracle [enforced]
Use these cues to justify dynamic spawning of the four high-value specialists:
| Agent | Primary Phases | Invoke When |
|---|---|---|
rtl-planner | P3 (μArch), P3→P4 handoff | Task dependency is unclear, repeated rework loops appear, or critical-path ordering blocks convergence |
clock-architect | P3 (μArch), P4 (CDC fix loop), P5 (CDC/top signoff) | Multi-clock/generated-clock/PLL/MMCM/mux/gating strategy needs design review or CDC root cause points to clock architecture |
ref-model-reviewer | P2 (ref model build/review) | C reference model is newly created/updated and must be validated for algorithm fidelity, numerical precision, and UB safety before oracle use. P5 oracle confidence is inherited from P2 validation — no separate P5 trigger unless ref model is modified during P5 |
equivalence-checker | P4 (refactor), review-refactor workflow, P5B (silicon validation) | Change is declared behavior-preserving, or synthesis/ECO/refactor introduces semantic drift risk requiring RTL-vs-RTL or RTL-vs-netlist proof |
If the user's request is ambiguous or incomplete in Phase 1, proactively use AskUserQuestion to clarify.
When to use AskUserQuestion:
[AMBIGUITY] or [CONFLICT]When NOT to use:
This rule applies to ALL tasks that modify .sv/.svh/.v/.vh files.
| Step | Description | Required |
|---|---|---|
| 1. Modify | Change RTL code | Required |
| 2. Lint | Pass verilator --lint-only -Wall | Required |
| 3. TB | Create or update testbench for modified module | Required |
| 4. Sim | Run cocotb/verilator simulation and PASS | Required |
Anti-pattern (prohibited): RTL modify → lint pass → "done" Correct flow: RTL modify → lint pass → TB create/update → simulation PASS → "done"
Gate signals:
scripts/run_sim.sh, or eda_runner.py verify-run around a project's own runner, records .rat/state/verify-evidence.json after a measured PASS.rat/state/rtl-verify-waiver..rat/state/ (the root is the directory that holds .rat/), not in a subdirectory the session cd'd into.Phase 4 Parallel Streams:
Phase 1: Research → docs/phase-1-research/ (spec, domain knowledge)
Phase 2: Arch/Ref → docs/phase-2-architecture/ + refc/ (C golden)
Phase 3: μArch/TLM → docs/phase-3-uarch/ + BFM
Phase 4: RTL+Unit → rtl/{module}/ + sim/{module}/ + docs/phase-4-rtl/
Phase 5: Verify → formal/ + docs/phase-5-verify/
Phase 6: Design Note → reviews/phase-6-review/
Phase 7: Exploration → docs/phase-7-exploration/ (optional, no pipeline rules)
Artifact separation:
docs/phase-N-*/ = Design artifacts (guides for next phase)reviews/phase-N-*/ = Verdict documents (upper spec compliance check)| Tier | Name | Skill | Prerequisite |
|---|---|---|---|
| 1 | Smoke Test | rtl-p4-implement Wave 4 | Lint pass |
| 2 | Unit Test | rtl-p4s-unit-test | Tier 1 pass |
| 3 | Module Regression | rtl-p5s-func-verify | Tier 2 pass |
| 4 | Integration | rtl-p5s-integration-test | Tier 3 pass or PARTIAL_PASS |
Coverage targets (Tier 3): line ≥ 90%, toggle ≥ 80%, FSM ≥ 70%
i_, o_, io_ required (NOT suffix _i, _o). Clock/reset are exceptions (no prefix)clk (single) or {domain}_clk (multiple). Reset: rst_n or {domain}_rst_n. Active-low asyncALL_CAPS. Localparam → L_ prefix. Enum values → ALL_CAPS. All identifiers snake_case or ALL_CAPSskills: frontmatter (rtl-coder→systemverilog, bfm-dev→systemc, testbench-dev/sva-extractor/protocol-checker→systemverilog-assertion/uvm); naming basics also enforced by the deployed .claude/rules file on .sv accessFull coding rules: .claude/rules/rtl-coding-conventions.md
Verification gate rules: .claude/rules/rtl-verification-gate.md
Diagram rules: <markdown_diagram_rule> in CLAUDE.md (or .claude/rules/diagram-rules.md fallback)
Domain packages provide pre-built knowledge bases. Active packages:
| Package | Path | Manifest | Status |
|---|---|---|---|
| video-codec | domain-packages/video-codec/ | domain-packages/video-codec/manifest.json | stable |
| video-processing | domain-packages/video-processing/ | domain-packages/video-processing/manifest.json | active |
Domain expert agents MUST read relevant knowledge files from domain-packages/{domain}/knowledge/ BEFORE producing analysis.
Each agent's prompt lists the specific files to read in its "Before analysis, read domain knowledge files:" section.
| Hook | Event | Purpose |
|---|---|---|
rtl-orchestrator-inject.sh | SessionStart | Inject routing rules and pipeline rules |
rtl-edit-tracker.sh | PostToolUse:Edit/Write/Bash | Track RTL file modifications |
rtl-skill-activation.sh | PreToolUse:Skill, PostToolUse:Skill | Setup and phase advisory before the call; completion-loop state (criteria, same-skill counter reset) once the call ran |
stop-gate.sh | Stop | Missing-work continuation; user decisions precede loops |
rtl-verify-stop-gate.sh | Stop | RTL verification gate |
rtl-p6-cascade-gate.sh | Stop | Phase 6 cascade enforcement + document mtime verification |
rtl-skill-completion-gate.sh | Stop | Bounded completion reminder; no automatic review ladder |
rtl-coverage-exclusion-gate.sh | Stop | Coverage exclusion approval enforcement (non-standard bins require user confirmation) |
Stop hook order (current): rtl-verify-stop-gate → rtl-p6-cascade-gate → rtl-skill-completion-gate → rtl-coverage-exclusion-gate → stop-gate.
(Authoritative registration + order: hooks/hooks.json. Full 18-hook inventory: CLAUDE.md Hook-Based Enforcement table.)
Hook-enforced (quality gates):
.rat/state/rat-auto-design-state.json — Full pipeline progress (stop-gate).rat/state/rat-auto-design-state.json::orchestration_control — Recorded failed repair count (max 2) and pending user decisions.rat/state/rtl-verify-done — RTL verification completion gate (rtl-verify-stop-gate).rat/state/rtl-verify-waiver — Verification waiver (rtl-verify-stop-gate).rat/state/skill-active.json — Skill completion loop state (rtl-skill-activation, rtl-skill-completion-gate).rat/state/phase6-stale — Phase 6 cascade marker (rtl-edit-tracker, rtl-p6-cascade-gate).rat/state/phase6-cascade-done — Phase 6 cascade completion (rtl-p6-cascade-gate).rat/state/rtl-modified-files.txt — Modified RTL file tracking (rtl-edit-tracker, rtl-verify-stop-gate).rat/state/stop-budget-<gate-id>.txt — A Stop gate's no-progress budget and chain count (hooks/lib/stop-budget-util.sh)Agent-managed (orchestrator resumability):
.rat/state/rat-p1p3-spec-uarch-state.json — Spec-to-μArch pipeline progress.rat/state/rat-p4p5-impl-verify-state.json — μArch-to-Verify pipeline progress.rat/state/rat-dse-state.json — DSE pipeline progress.rat/state/feedback-loop-state.json — Phase 5→4 feedback loop tracking.rat/state/{module}-phase-3-complete.json — Per-module Phase 3 completion markerTemplates:
${CLAUDE_PLUGIN_ROOT}/skills/rat-auto-design/templates/autopilot-state.json (or skills/rat-auto-design/templates/autopilot-state.json in repo context) — v3.0 state schema with orchestration_control${CLAUDE_PLUGIN_ROOT}/skills/rat-auto-design/templates/escalation-prompts.json (or skills/rat-auto-design/templates/escalation-prompts.json in repo context) — legacy templates; automatic strategy escalation is disabledThis block is the single source for SessionStart routing injection.
hooks/rtl-orchestrator-inject.sh reads it at session start (hooks/lib/session_inject.py).
verification.stop_gate notify/off relaxes it, the user's decision; ask first)Always route user intent to Action Skills first. Orchestrators are internal and spawned by skills.
| Pattern | Route To |
|---|---|
| RTL design, chip design, full pipeline | /rtl-agent-team:rat-auto-design |
| setup tools, EDA setup, install tools | /rtl-agent-team:rat-setup |
| init project, initialize project, new project | /rtl-agent-team:rat-init-project |
| doctor, diagnostics, plugin status, settings check | /rtl-agent-team:rat-doctor |
| tutorial, getting started, how to use | /rtl-agent-team:rat-tutorial |
| spec analysis, requirements, research | /rtl-agent-team:p1-spec-research |
| codec, H.264, H.265, domain expert | /rtl-agent-team:domain-consult |
| architecture design (RTL context) | /rtl-agent-team:p2-arch-design |
| architecture review | /rtl-agent-team:arch-review |
| reference model, C model | /rtl-agent-team:ref-model |
| BFM, bus functional model, SystemC | /rtl-agent-team:bfm-develop |
| microarchitecture, uarch | /rtl-agent-team:rtl-p3-uarch-design |
| DSE, design space exploration | /rtl-agent-team:rat-dse |
| Phase 1 team, research team, parallel research | /rtl-agent-team:p1-spec-research team mode |
| Phase 2 team, arch team, parallel architecture | /rtl-agent-team:p2-arch-design team mode |
| Phase 3 team, uarch team, parallel uarch | /rtl-agent-team:rtl-p3-uarch-design team mode |
| refc to RTL, C model to hardware, refc to P5, implement refc in RTL | /rtl-agent-team:rat-refc-to-p5 |
| spec to uarch team, Phase 1-3 team | /rtl-agent-team:rat-p1p3-spec-uarch team mode |
| spec to uarch, Phase 1-3, design only | /rtl-agent-team:rat-p1p3-spec-uarch |
| uarch to verify, Phase 4-5, RTL from uarch | /rtl-agent-team:rat-p4p5-impl-verify |
| RD eval, BD-PSNR, codec quality | /rtl-agent-team:codec-rd-eval |
| decoder conformance, conformance stream | /rtl-agent-team:codec-conformance-eval |
| rapid rtl, P4 rapid, sanity integration, fast implementation loop | /rtl-agent-team:rtl-p4-rapid-impl |
| bug fix, RTL fix, RTL bug | /rtl-agent-team:rtl-p4s-bugfix |
| RTL coding, module implementation | /rtl-agent-team:rtl-p4-implement |
| Phase 4 team, implement team, parallel implement | /rtl-agent-team:rtl-p4-implement team mode |
| block parallel, worktree parallel, 6-block | /rtl-agent-team:rtl-p4-block-parallel |
| refactoring (RTL context) | /rtl-agent-team:rtl-p4s-refactor |
| unit test (RTL context) | /rtl-agent-team:rtl-p4s-unit-test |
| IP instance, IP integration | /rtl-agent-team:rtl-ip-instantiate |
| lint, lint check | /rtl-agent-team:rtl-lint-check |
| synthesis, yosys, SDC | /rtl-agent-team:rtl-synth-check |
| RTL documentation | /rtl-agent-team:rtl-document |
| IP-XACT, register map | /rtl-agent-team:rtl-ipxact-gen |
| functional closure, P5A, deep functional verification, hierarchical functional closure | /rtl-agent-team:rtl-p5a-functional-closure |
| silicon validation, P5B, signoff readiness, timing signoff, post-functional signoff | /rtl-agent-team:rtl-p5b-silicon-validation |
| Phase 5, verification pipeline | /rtl-agent-team:rtl-p5-verify |
| Phase 5 team, verify team, parallel verify | /rtl-agent-team:rtl-p5-verify team mode |
| simulation, testbench, cocotb | /rtl-agent-team:rtl-p5s-func-verify |
| UVM verification, sequence, agent | /rtl-agent-team:rtl-p5s-uvm-verify |
| performance verification, throughput | /rtl-agent-team:rtl-p5s-perf-verify |
| formal, SVA, assertion | /rtl-agent-team:rtl-p5s-sva-check |
| CDC, clock domain | /rtl-agent-team:rtl-p5s-cdc-verify |
| AXI, APB, AHB, protocol | /rtl-agent-team:rtl-p5s-protocol-verify |
| coverage | /rtl-agent-team:rtl-p5s-coverage-analyze |
| PPA optimize, DC PPA, power/timing/area optimize | /rtl-agent-team:rtl-ppa-optimize-dc |
| PPA auto-loop, ultraloop PPA, converge PPA | /rtl-agent-team:rat-ultraloop-ppa |
| integration test, cross-module, Tier 4 | /rtl-agent-team:rtl-p5s-integration-test |
| regression, multi-seed | /rtl-agent-team:rtl-p5s-func-verify (Tier 3) |
| RTL conformance, golden comparison | /rtl-agent-team:rtl-conformance-test |
| bug reproduction, waveform debug | /rtl-agent-team:rtl-bug-repro |
| model consistency, RTL-model compare | /rtl-agent-team:rtl-model-consistency |
| cross-phase contract, spec consistency | /rtl-agent-team:cross-phase-contract-validator |
| design review, Phase 6, design note | /rtl-agent-team:rtl-p6-design-review |
| exploration, Phase 7, free exploration | /rtl-agent-team:rtl-p7-exploration |
| ultraloop, autonomous loop, unattended | /rtl-agent-team:rat-ultraloop |
| LLM code review, safe refactor, review and refactor workflow | /rtl-agent-team:rtl-review-refactor |
| cross-review, codex review, 2nd reviewer, second opinion | /rtl-agent-team:codex-cross-review |
.sv/.svh/.v/.vh files | systemverilog (agent-loaded) |
.sv/.sva assertion work | systemverilog-assertion (agent-loaded) |
| UVM testbench generation | uvm (agent-loaded) |
.cpp/.h SystemC/TLM work | systemc (agent-loaded) |
Convention skills are loaded by writer agents via their skills: frontmatter (rtl-coder→systemverilog, bfm-dev→systemc, testbench-dev/sva-extractor/protocol-checker→systemverilog-assertion/uvm); naming basics also enforced by the deployed .claude/rules file on .sv access. | |
Internal routing reference skill (rtl-orchestrate) is non-user-invocable and serves as the maintainer SSOT for this SessionStart export (not loaded at runtime). |
Resolve worker tiers using {plugin_root}/runtime/model-selection.md for the active host. Inherit the session model when no suitable ID is available.
Phase owners use {plugin_root}/runtime/phase-dispatch.md for project-enabled or explicitly requested Codex reviews.
Port prefix i_/o_/io_ (NOT suffix; clk/rst exempt). Clock clk/{domain}_clk, reset rst_n/{domain}_rst_n (active-low async). snake_case only (no CamelCase); params ALL_CAPS, localparam L_ prefix. Full rules auto-load from .claude/rules/rtl-coding-conventions.md on .sv access (deployed by rat-init-project).
RTL modify → configured lint → TB create/update → simulation PASS → done
Gate: scripts/run_sim.sh, or eda_runner.py verify-run around a project's own runner (local, or remote with --remote-host/--remote-root), records .rat/state/verify-evidence.json; completion requires a measured PASS bound to the current inputs and logs. A waiver for non-functional changes (.rat/state/rtl-verify-waiver) is the user's decision; ask first. Both are in the project root's .rat/state/, not in a subdirectory the session cd'd into.
P1: Research → P2: Arch/Ref → P3: μArch → P4: RTL+Unit → P5: Verify → P6: Design Note → P7: Exploration (optional)
Artifacts: docs/phase-N-*/ (design guides), reviews/phase-N-*/ (verdicts)
| Request Pattern | Delegate to Agent |
|---|---|
| CDC, synchronization, clock architecture, PLL | cdc-reviewer, clock-architect |
| Protocol/AXI design, formal/SVA quality | protocol-reviewer, formal-reviewer |
| Power analysis, synthesis area/timing | power-analyzer, synthesis-reviewer |
| UVM/cocotb testbench quality, regression analysis | uvm-reviewer, cocotb-reviewer, regression-analyzer |
| Requirement tracing, ref model review | requirement-tracer, ref-model-reviewer |
| Equivalence checking, integration verification | equivalence-checker, integration-verifier |
| Hardware security, DFT/scan/BIST/JTAG | security-reviewer, dft-designer |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
56 skills in this plugin
/arch-reviewRead-only architecture review of RTL vs uArch spec with area/timing/power tradeoffs. Use for post-RTL architecture sign-off or suspected spec mismatch./bfm-developBuilds Phase 3 SystemC TLM-2.0 bus functional models with AMBA (AXI/AHB/APB) support. Use for 'develop BFM', 'SystemC TLM model', 'bus functional model'./codec-conformance-evalEvaluate C ref-model decoder against JVET/JCTVC conformance bitstreams (bitexact/MD5) — 'decoder conformance'; C-level, not RTL (rtl-conformance-test).npx claudepluginhub babyworm/rtl-agent-team --plugin rtl-agent-teamOther plugins' skills for the same job