From rtl-agent-team
Implements RTL for multiple modules in parallel via Claude Code teams, orchestrating 10-wave pipeline with per-module workers and inter-wave dependencies. Use after Phase 3 uArch specs for 3+ modules.
npx claudepluginhub babyworm/rtl-agent-team --plugin rtl-agent-teamThis skill is limited to using the following tools:
<Purpose>
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.
<Use_When>
<Do_Not_Use_When>
Phase 3 completion required:
docs/phase-3-uarch/ must existIf prerequisite is missing: WARNING — recommend running /rtl-agent-team:rtl-p3-uarch-design.
Proceed with available artifacts — orchestrator will adapt scope.
# Step 1: Team creation (main session = leader)
TeamCreate(team_name="p4-implement", description="Phase 4 RTL implementation: 10-wave parallel module coding")
# Step 2: Write team-config.json for hook consumption
Write(".rat/state/team-config.json", json.dumps({
"team_mode": true,
"team_name": "p4-implement",
"leader_session_id": "<current_session_id>",
"coordinator_name": "coordinator",
"worker_count": 4,
"phase": "p4",
"created_at": "<ISO_TIMESTAMP>"
}))
# Step 3: Prepare directories
Bash("mkdir -p reviews/phase-4-rtl docs/phase-4-rtl .rat/scratch/phase-4")
# Step 4: No initial tasks from skill — coordinator creates per-module W1-W10 after reading uarch specs
# Step 5: Spawn coordinator as teammate (orchestrator)
Agent(team_name="p4-implement", subagent_type="rtl-agent-team:p4-implement-team-orchestrator",
name="coordinator", description="P4 implementation coordination",
prompt="You are the Phase 4 RTL implementation coordinator in team 'p4-implement'. "
"Manage the 10-wave task graph using TaskCreate/TaskList/TaskUpdate. "
"Direct workers via SendMessage. "
"Create per-module 10-wave task graph after reading uarch specs. "
"Signal leader when integration gate passes. User input: $ARGUMENTS")
# Step 6: Spawn workers as teammates (4 general-purpose)
Agent(team_name="p4-implement", subagent_type="rtl-agent-team:rtl-coder",
name="coder-0", description="P4 RTL coding and lint",
prompt="You are a Phase 4 coding worker in team 'p4-implement'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: rtl/{module}/{module}.sv, reviews/phase-4-rtl/. "
"Specialty: RTL module implementation (W1), lint (W2), lint fix (W3). "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:<specialist>', prompt='...'). "
"Examples: lint-checker for lint, eda-runner for simulation. "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md. "
"Naming: i_/o_ prefixes, snake_case, clk/{domain}_clk, rst_n/{domain}_rst_n.")
Agent(team_name="p4-implement", subagent_type="rtl-agent-team:rtl-coder",
name="coder-1", description="P4 RTL coding and lint",
prompt="You are a Phase 4 coding worker in team 'p4-implement'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: rtl/{module}/{module}.sv, reviews/phase-4-rtl/. "
"Specialty: RTL module implementation (W1), lint (W2), lint fix (W3). "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:<specialist>', prompt='...'). "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md. "
"Naming: i_/o_ prefixes, snake_case, clk/{domain}_clk, rst_n/{domain}_rst_n.")
Agent(team_name="p4-implement", subagent_type="rtl-agent-team:testbench-dev",
name="verify-worker", description="P4 unit test and verification",
prompt="You are a Phase 4 verification worker in team 'p4-implement'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: sim/{module}/, reviews/phase-4-rtl/. "
"Specialty: unit test (W6), CDC analysis (W7), protocol check (W8). "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:<specialist>', prompt='...'). "
"Examples: eda-runner for sim, cdc-checker for CDC, protocol-checker for W8. "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md.")
Agent(team_name="p4-implement", subagent_type="rtl-agent-team:rtl-critic",
name="review-worker", description="P4 code review and refactor",
prompt="You are a Phase 4 review worker in team 'p4-implement'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: reviews/phase-4-rtl/. "
"Specialty: code review (W4), bugfix (W5), refactor (W9), integration (W10). "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:<specialist>', prompt='...'). "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md.")
# Step 7: Leader monitoring loop — poll until all tasks complete
while True:
tasks = TaskList()
all_done = all(t.status == "completed" for t in tasks)
if all_done:
break
# Continue polling
# Step 8: Cleanup
TeamDelete()
Bash("rm -f .rat/state/team-config.json")
Bash("rm -rf .rat/scratch/phase-4/")