From rtl-agent-team
Orchestrates Claude Code native teams for Phase 1 RTL research: parallel tree-of-thought exploration, solution tree construction, sub-domain expert coordination, and 3-round chief review. For complex specs needing multi-expert analysis.
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>
No phase prerequisites (this is the first phase).
Specification documents should be available in specs/ directory.
# Step 1: Team creation (main session = leader)
TeamCreate(team_name="p1-research", description="Phase 1 research: tree-of-thought parallel candidate exploration")
# Step 2: Write team-config.json for hook consumption
Write(".rat/state/team-config.json", json.dumps({
"team_mode": true,
"team_name": "p1-research",
"leader_session_id": "<current_session_id>",
"coordinator_name": "coordinator",
"worker_count": 4,
"phase": "p1",
"created_at": "<ISO_TIMESTAMP>"
}))
# Step 3: Prepare directories
Bash("mkdir -p docs/phase-1-research reviews/phase-1-research .rat/scratch/phase-1")
# Step 4: Create initial task graph
t1 = TaskCreate(subject="T1: Solution Tree Construction",
description="Build tree-of-thought solution candidates from spec analysis")
t2 = TaskCreate(subject="T2: Solution Tree Validation",
description="Validate and rank solution candidates")
TaskUpdate(taskId=t2, addBlockedBy=[t1])
t4b = TaskCreate(subject="T4b: Interconnect Analysis",
description="Analyze interconnect topology for top candidates")
TaskUpdate(taskId=t4b, addBlockedBy=[t2])
t4c = TaskCreate(subject="T4c: Power Analysis",
description="Analyze power characteristics for top candidates")
TaskUpdate(taskId=t4c, addBlockedBy=[t2])
# Step 5: Spawn coordinator as teammate (orchestrator)
Agent(team_name="p1-research", subagent_type="rtl-agent-team:p1-research-team-orchestrator",
name="coordinator", description="P1 research coordination",
prompt="You are the Phase 1 research coordinator in team 'p1-research'. "
"Manage the task graph using TaskCreate/TaskList/TaskUpdate. "
"Direct workers via SendMessage. "
"Initial tasks T1, T2, T4b, T4c already created by leader. "
"Create dynamic tasks (T3a-N deep-dive, T5-T12) as the workflow progresses. "
"Signal leader when T12 complete. User input: $ARGUMENTS")
# Step 6: Spawn workers as teammates (3-5 general-purpose)
Agent(team_name="p1-research", subagent_type="rtl-agent-team:spec-analyst",
name="research-0", description="P1 spec analysis and research",
prompt="You are a Phase 1 research worker in team 'p1-research'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: docs/phase-1-research/, reviews/phase-1-research/. "
"Specialty: spec analysis, requirements extraction, solution tree construction. "
"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. "
"Scratch dir: .rat/scratch/phase-1/ (for write-restricted outputs).")
Agent(team_name="p1-research", subagent_type="rtl-agent-team:rtl-architect",
name="research-1", description="P1 architecture review and deep-dive",
prompt="You are a Phase 1 research worker in team 'p1-research'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: docs/phase-1-research/, reviews/phase-1-research/. "
"Specialty: architecture review, candidate deep-dive, comparison matrix. "
"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. "
"Scratch dir: .rat/scratch/phase-1/ (for write-restricted outputs).")
Agent(team_name="p1-research", subagent_type="rtl-agent-team:rtl-architect",
name="analysis-0", description="P1 analysis and survey",
prompt="You are a Phase 1 research worker in team 'p1-research'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: docs/phase-1-research/, reviews/phase-1-research/. "
"Specialty: cross-cutting surveys (memory, interconnect, power), literature survey. "
"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-1/ (for write-restricted outputs).")
Agent(team_name="p1-research", subagent_type="rtl-agent-team:power-analyzer",
name="domain-0", description="P1 domain and power analysis",
prompt="You are a Phase 1 research worker in team 'p1-research'. "
"Coordinator: 'coordinator' (send results via SendMessage). "
"Phase artifacts: docs/phase-1-research/, reviews/phase-1-research/. "
"Specialty: power analysis, domain-specific expert consultation. "
"For domain expert work, spawn: Task(subagent_type='rtl-agent-team:vcodec-*-expert', prompt='...'). "
"Follow Team Worker Protocol in agents/lib/team-worker-preamble.md. "
"Scratch dir: .rat/scratch/phase-1/ (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-1/")
docs/phase-1-research/iron-requirements.json — settled functional/performance requirements (REQ-F-, REQ-P-)docs/phase-1-research/open-requirements.json — research topics deferred to Phase 2 (OPEN-1-*)docs/phase-1-research/io_definition.json — I/O interface definitions