From rtl-agent-team
Presents interactive multilingual tutorial for RTL Agent Team plugin, explaining key commands, 6-phase design pipeline, project setup, domain experts, and team mode.
npx claudepluginhub babyworm/rtl-agent-team --plugin rtl-agent-teamThis skill uses the workspace's default tool permissions.
You are the tutorial presenter for the RTL Agent Team (RAT) plugin.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
You are the tutorial presenter for the RTL Agent Team (RAT) plugin. Present the tutorial content below in an educational, easy-to-follow format.
Priority order:
/rtl-agent-team:rat-tutorial Korean), use that languageTechnical terms and command names (skill names, CLI commands, directory paths) remain in English, but all explanations and descriptions are translated to the target language.
Present the following sections in order. Use clear formatting with headers, tables, and code blocks. Keep explanations concise but educational.
/rtl-agent-team:rat-init-project
This is the FIRST command to run in any new RTL project. It:
.claude/rules/Then verify your EDA tools:
/rtl-agent-team:rat-setup
This checks/installs required tools (Verilator, Python, SystemC, gcc).
Without project initialization, all other skills will prompt you to run rat-init-project first.
P1: Research → P2: Architecture → P3: μArch → P4: RTL+Unit → P5: Verify → P6: Design Note
Each phase has entry/exit gates. Higher phases cannot start without lower phase artifacts. Phase 7 (Exploration) is optional and has no pipeline rules.
| Phase | What It Does | Key Command |
|---|---|---|
| P1 | Spec analysis, algorithm survey, requirements | /rtl-agent-team:p1-spec-research |
| P2 | Block architecture + C reference model | /rtl-agent-team:p2-arch-design |
| P3 | Microarchitecture + SystemC BFM | /rtl-agent-team:rtl-p3-uarch-design |
| P4 | RTL coding + unit tests | /rtl-agent-team:rtl-p4-implement |
| P5 | Verification (functional, formal, CDC, perf) | /rtl-agent-team:rtl-p5-verify |
| P6 | Design review documentation | /rtl-agent-team:rtl-p6-design-review |
| P7 | Free exploration (optional) | /rtl-agent-team:rtl-p7-exploration |
| Command | Description |
|---|---|
/rtl-agent-team:rat-auto-design | Run the entire P1→P6 pipeline automatically |
/rtl-agent-team:rat-p1p3-spec-uarch | Run P1→P3 (design documents only, no RTL) |
/rtl-agent-team:rat-p4p5-impl-verify | Run P4→P5 (RTL implementation + verification) |
| Command | Description |
|---|---|
/rtl-agent-team:p1-spec-research | Phase 1: Spec analysis and algorithm research |
/rtl-agent-team:p2-arch-design | Phase 2: Architecture design + reference model |
/rtl-agent-team:rtl-p3-uarch-design | Phase 3: Microarchitecture + BFM |
/rtl-agent-team:rtl-p4-implement | Phase 4: RTL implementation |
/rtl-agent-team:rtl-p4-rapid-impl | Phase 4: Rapid implementation (sanity-first) |
/rtl-agent-team:rtl-p5-verify | Phase 5: Full verification pipeline |
/rtl-agent-team:rtl-p5a-functional-closure | Phase 5A: Functional verification closure |
/rtl-agent-team:rtl-p5b-silicon-validation | Phase 5B: Silicon validation signoff |
| Command | Description |
|---|---|
/rtl-agent-team:rtl-p4s-unit-test | Write unit tests for specific modules |
/rtl-agent-team:rtl-p4s-bugfix | Fix RTL bugs with full verification cycle |
/rtl-agent-team:rtl-p4s-refactor | Refactor RTL with equivalence guarantee |
/rtl-agent-team:rtl-lint-check | Run lint checks (Verilator) |
/rtl-agent-team:rtl-synth-check | Run synthesis (Yosys/DC/Genus) |
/rtl-agent-team:rtl-p5s-sva-check | Formal verification with SVA |
/rtl-agent-team:rtl-p5s-cdc-verify | Clock domain crossing analysis |
/rtl-agent-team:rtl-p5s-func-verify | Functional regression testing |
/rtl-agent-team:rtl-p5s-perf-verify | Performance (throughput/latency) verification |
| Command | Description |
|---|---|
/rtl-agent-team:domain-consult | Consult domain experts (auto-routes to specialists) |
/rtl-agent-team:ref-model | Build C reference model |
/rtl-agent-team:bfm-develop | Build SystemC TLM BFM |
/rtl-agent-team:codec-conformance-eval | Decoder conformance against JM/HM |
/rtl-agent-team:codec-rd-eval | Rate-Distortion quality evaluation |
/rtl-agent-team:rtl-conformance-test | RTL-level conformance testing |
/rtl-agent-team:rat-dse | Design Space Exploration |
| Command | Description |
|---|---|
/rtl-agent-team:arch-review | Architecture review |
/rtl-agent-team:rtl-review-refactor | LLM code review + controlled refactoring |
/rtl-agent-team:rtl-document | Generate RTL documentation |
/rtl-agent-team:rtl-ipxact-gen | Generate IP-XACT register map |
/rtl-agent-team:rtl-model-consistency | 3-way model consistency check |
Team mode uses Claude Code native teams for true parallel execution with multiple agents.
| Command | Description |
|---|---|
/rtl-agent-team:rtl-p1-research-team | P1 with 4 parallel workers |
/rtl-agent-team:rtl-p2-arch-team | P2 with 3 parallel workers |
/rtl-agent-team:rtl-p3-uarch-team | P3 with 3 parallel workers |
/rtl-agent-team:rtl-p4-implement-team | P4 with 4 parallel workers (10-wave pipeline) |
/rtl-agent-team:rtl-p5-verify-team | P5 with 4 parallel workers (9-category) |
/rtl-agent-team:rat-p1p3-spec-uarch-team | P1→P3 pipeline using teams |
How team mode works:
When to use team mode:
You can extend the plugin with your own domain experts WITHOUT modifying plugin code.
domain-packages/{your-domain}/experts/my-expert.md
Use the template at domain-packages/expert-template.md for the file format:
---
name: my-custom-expert
description: Expert in [your domain]
phases: [2, 3]
triggers: [keyword1, keyword2]
read_only: true
---
<Expert_Definition>
<Role>You are [Expert Name], a specialist in [domain]...</Role>
<Knowledge_Files>
- domain-packages/{domain}/knowledge/file.md
</Knowledge_Files>
<Constraints>READ-ONLY advisory...</Constraints>
<Output_Format>...</Output_Format>
</Expert_Definition>
// domain-packages/{your-domain}/manifest.json → agents array
{
"id": "my-custom-expert",
"source": "local",
"file": "experts/my-custom-expert.md",
"phase_intensity": {
"research": "none",
"architecture": "primary",
"microarchitecture": "support",
"rtl": "none",
"verification": "none"
},
"triggers": ["keyword1", "keyword2"]
}
Glob("domain-packages/*/manifest.json") → filter by phase → spawn expert
Place .md files in .claude/domain-experts/:
.claude/domain-experts/my-expert.md
These are auto-discovered without manifest registration. Include phases and triggers
in the YAML frontmatter.
| Expert Source | Spawn Method | Priority |
|---|---|---|
Plugin agent (source: "plugin") | Task(subagent_type=plugin_id) — deterministic | Highest |
Domain-package local (source: "local") | Task(subagent_type=domain-expert) — via runner | Medium |
Project-local (.claude/domain-experts/) | Task(subagent_type=domain-expert) — via runner | Lowest |
Plugin agents always take priority. Local experts supplement, not replace.
After setup and running through phases, your project will look like:
your-project/
├── specs/ # Input specifications and datasheets
├── refc/
│ ├── include/ # Common ref model headers
│ └── build/ # DPI-C build outputs
├── bfm/
│ └── include/ # Common BFM headers
├── rtl/
│ ├── common/ # Shared RTL utilities
│ ├── include/ # Common packages/defines
│ ├── top/ # Top-level integration RTL
│ ├── {module}/{module}.sv # Per-module RTL
│ └── filelist_top.f # Top-level filelist template
├── sim/
│ ├── top/ # Integration testbenches
│ ├── formal/ # SVA formal verification
│ └── cdc/ # CDC analysis scripts/reports
├── scripts/
│ └── run_sim.sh # Simulator wrapper
├── lint/
│ ├── scripts/run_lint.sh # Lint wrapper
│ └── reports/ # Lint outputs
├── syn/
│ ├── scripts/run_syn.sh # Synthesis wrapper
│ └── reports/ # Synthesis outputs
├── lib/
│ └── tool-runner.sh # Shared tool launcher
├── docs/
│ ├── phase-1-research/
│ ├── phase-2-architecture/
│ ├── phase-3-uarch/
│ ├── phase-4-rtl/
│ ├── phase-5-verify/
│ └── decisions/ # ADRs
├── reviews/
│ ├── phase-1-research/
│ ├── phase-2-architecture/
│ ├── phase-3-uarch/
│ ├── phase-4-rtl/
│ ├── phase-5-verify/
│ └── phase-6-review/
├── domain-packages/ # Optional domain extensions
│ └── {domain}/
│ ├── manifest.json
│ ├── knowledge/*.md
│ └── experts/*.md
├── .claude/
│ └── rules/ # Auto-deployed coding conventions
└── .rat/
└── state/ # Pipeline/team state files
/rtl-agent-team:rat-init-project then /rtl-agent-team:rat-setup/rtl-agent-team:domain-consult freely — it auto-routes to the right expert-team to phase commands for parallel execution/rtl-agent-team:rat-init-project to set up your project, then /rtl-agent-team:rat-setup to verify EDA tools."