From rtl-agent-team
Orchestrates Phase 3 RTL uArch design and parallel BFM development using Claude Code native teams, managing per-block tasks, validation gates, and multi-reviewer iterative reviews.
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 2 completion required:
docs/phase-2-architecture/architecture.md must existrefc/ directory with C reference model must existIf prerequisites are missing: WARNING — recommend running /rtl-agent-team:p2-arch-design.
Proceed with available artifacts — orchestrator will adapt scope.
# Step 1: Team creation (main session = leader)
TeamCreate(team_name="p3-uarch", description="Phase 3 uArch: dual-stream uArch + BFM development")
# Step 2: Write team-config.json for hook consumption
Write(".rat/state/team-config.json", json.dumps({
"team_mode": true,
"team_name": "p3-uarch",
"leader_session_id": "<current_session_id>",
"coordinator_name": "coordinator",
"worker_count": 3,
"phase": "p3",
"created_at": "<ISO_TIMESTAMP>"
}))
# Step 3: Prepare directories
Bash("mkdir -p docs/phase-3-uarch reviews/phase-3-uarch .rat/scratch/phase-3")
# Step 4: Create initial task graph (T1 and T2 are independent — no dependencies)
TaskCreate(subject="T1: uArch Design",
description="Per-block micro-architecture design from architecture spec")
TaskCreate(subject="T2: BFM Development",
description="Bus Functional Model development from architecture spec")
# Step 5: Spawn coordinator as teammate (orchestrator)
Agent(team_name="p3-uarch", subagent_type="rtl-agent-team:p3-uarch-team-orchestrator",
name="coordinator", description="P3 uArch coordination",
prompt="You are the Phase 3 uArch coordinator in team 'p3-uarch'. "
"Manage the task graph using TaskCreate/TaskList/TaskUpdate. "
"Direct workers via SendMessage. "
"Initial tasks T1 (uarch) and T2 (BFM) already created by leader. "
"Create dynamic tasks (T3 BFM gate, T4-T10 review rounds). "
"Signal leader when T10 complete. User input: $ARGUMENTS")
# Step 6: Spawn workers as teammates (3 general-purpose)
Agent(team_name="p3-uarch", subagent_type="rtl-agent-team:uarch-designer",
name="uarch-worker", description="P3 uArch design and review",
prompt="You are a Phase 3 uArch worker in team 'p3-uarch'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: docs/phase-3-uarch/, reviews/phase-3-uarch/. "
"Specialty: per-block uArch design, timing review, algorithm consistency. "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:<specialist>', prompt='...'). "
"Examples: timing-advisor for timing review, vcodec-architecture-expert for domain. "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md. "
"Scratch dir: .rat/scratch/phase-3/ (for write-restricted outputs).")
Agent(team_name="p3-uarch", subagent_type="rtl-agent-team:bfm-dev",
name="bfm-worker", description="P3 BFM development",
prompt="You are a Phase 3 BFM worker in team 'p3-uarch'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: bfm/, docs/phase-3-uarch/. "
"Specialty: BFM development, BFM correctness review, I/O logging. "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:ref-model-dev', prompt='...'). "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md.")
Agent(team_name="p3-uarch", subagent_type="rtl-agent-team:rtl-architect",
name="review-worker", description="P3 review lead",
prompt="You are a Phase 3 review worker in team 'p3-uarch'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: reviews/phase-3-uarch/. "
"Specialty: feature preservation review, aggregation, final consolidation. "
"For specialist work, spawn: Task(subagent_type='rtl-agent-team:<specialist>', prompt='...'). "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md. "
"Scratch dir: .rat/scratch/phase-3/ (for write-restricted outputs).")
# 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-3/")
open-requirements.jsonopen-resolved, zero-remaining-opens, and ambiguity-passcompliance-pass will be added when team orchestrator is updated to invoke compliance-checker