Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Unified team skill for UI design team. Research -> design tokens -> audit -> implementation. Uses team-worker agent architecture with roles/ for domain logic. Coordinator orchestrates dual-track pipeline with GC loops and sync points. Triggers on "team ui design", "ui design team".
.claude/skills/catlog22-team-uidesign/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 85% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 46% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 75% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 216% | 0% |
Systematic UI design pipeline: research -> design tokens -> review -> implementation. Built on team-worker agent architecture — all worker roles share a single agent definition with role-specific Phase 2-4 loaded from roles/<role>/role.md.
Skill(skill="team-uidesign", args="task description")
|
SKILL.md (this file) = Router
|
+--------------+--------------+
| |
no --role flag --role <name>
| |
Coordinator Worker
roles/coordinator/role.md roles/<name>/role.md
|
+-- analyze → dispatch → spawn workers → STOP
|
+-------+-------+-------+-------+
v v v v
[team-worker agents, each loads roles/<role>/role.md]
researcher designer reviewer implementer| Role | Path | Prefix | Inner Loop | |------|------|--------|------------| | coordinator | roles/coordinator/role.md | — | — | | researcher | roles/researcher/role.md | RESEARCH- | false | | designer | [roles/designer/role.md](roles/designer/role.md) | DESIGN- | false | | reviewer | roles/reviewer/role.md | AUDIT- | false | | implementer | [roles/implementer/role.md](roles/implementer/role.md) | BUILD- | false |
Parse $ARGUMENTS:
--role <name> → Read roles/<name>/role.md, execute Phase 2-4--role → roles/coordinator/role.md, execute entry routerCoordinator is a PURE ORCHESTRATOR. It coordinates, it does NOT do.
Before calling ANY tool, apply this check:
| Tool Call | Verdict | Reason | |-----------|---------|--------| | spawn_agent, wait_agent, close_agent, send_message, followup_task | ALLOWED | Orchestration | | list_agents | ALLOWED | Agent health check | | request_user_input | ALLOWED | User interaction | | mcp__ccw-tools__team_msg | ALLOWED | Message bus | | Read/Write on .workflow/.team/ files | ALLOWED | Session state | | Read on roles/, commands/, specs/ | ALLOWED | Loading own instructions | | Read/Grep/Glob on project source code | BLOCKED | Delegate to worker | | Edit on any file outside .workflow/ | BLOCKED | Delegate to worker | | Bash("ccw cli ...") | BLOCKED | Only workers call CLI | | Bash running build/test/lint commands | BLOCKED | Delegate to worker |
If a tool call is BLOCKED: STOP. Create a task, spawn a worker.
No exceptions for "simple" tasks. Even a single-file read-and-report MUST go through spawn_agent.
UDS.workflow/.team/UDS-<date>-<slug>/ccw cli --mode analysis (read-only), ccw cli --mode write (modifications)mcp__ccw-tools__team_msg(session_id=<session-id>, ...)Coordinator spawns workers using this template:
spawn_agent({
agent_type: "team_worker",
task_name: "<task-id>",
fork_turns: "none",
message: `## Role Assignment
role: <role>
role_spec: <skill_root>/roles/<role>/role.md
session: <session-folder>
session_id: <session-id>
requirement: <task-description>
inner_loop: false
Read role_spec file (<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
## Task Context
task_id: <task-id>
title: <task-title>
description: <task-description>
pipeline_phase: <pipeline-phase>
## Upstream Context
<prev_context>`
})After spawning, use wait_agent({ timeout_ms: 1800000 }) to collect results. If result.timed_out, send STATUS_CHECK via followup_task (wait 3 min), then FINALIZE with interrupt (wait 3 min), then mark timed_out and close agents. Use close_agent({ target }) each worker.
UI design is a creative pipeline where research findings inform design decisions. Researcher needs thorough analysis, designer needs creative reasoning.
| Role | reasoning_effort | Rationale | |------|-------------------|-----------| | researcher | high | Deep analysis of existing design systems and patterns | | designer | high | Creative design token/component spec generation | | reviewer | high | Design audit must catch consistency and accessibility issues | | implementer | medium | Implementation follows defined design specs |
Researcher findings must reach designer via coordinator's upstream context:
// After RESEARCH-001 completes, coordinator sends findings to designer
spawn_agent({
agent_type: "team_worker",
task_name: "DESIGN-001",
fork_turns: "none",
message: `## Upstream Context
Research findings: <session>/research/design-intelligence.json
Component inventory: <session>/research/component-inventory.json
Accessibility audit: <session>/research/accessibility-audit.json`
})| Command | Action | |---------|--------| | check / status | View execution status graph | | resume / continue | Advance to next step |
.workflow/.team/UDS-<date>-<slug>/
├── .msg/
│ ├── messages.jsonl # Team message bus
│ └── meta.json # Pipeline config + GC state
├── research/ # Researcher output
│ ├── design-system-analysis.json
│ ├── component-inventory.json
│ ├── accessibility-audit.json
│ └── design-intelligence.json
├── design/ # Designer output
│ ├── design-tokens.json
│ ├── component-specs/
│ └── layout-specs/
├── audit/ # Reviewer output
│ └── audit-*.md
├── build/ # Implementer output
│ ├── token-files/
│ └── component-files/
└── wisdom/ # Cross-task knowledge| Intent | API | Example | |--------|-----|---------| | Queue supplementary info (don't interrupt) | send_message | Send research findings to running designer | | Assign build from reviewed specs | followup_task | Assign BUILD task after audit passes | | Check running agents | list_agents | Verify agent health during resume |
Use list_agents({}) in handleResume and handleComplete:
// Reconcile session state with actual running agents
const running = list_agents({})
// Compare with meta.json active tasks
// Reset orphaned tasks (in_progress but agent gone) to pendingWorkers are spawned with task_name: "<task-id>" enabling direct addressing:
send_message({ target: "DESIGN-001", message: "..." }) -- send additional research findings to designerfollowup_task({ target: "BUILD-001", message: "..." }) -- assign implementation from reviewed design specsclose_agent({ target: "AUDIT-001" }) -- cleanup after design audit| Scenario | Resolution | |----------|------------| | Unknown command | Error with available command list | | Role not found | Error with role registry | | Session corruption | Attempt recovery, fallback to manual | | Fast-advance conflict | Coordinator reconciles on next callback | | Completion action fails | Default to Keep Active | | GC loop stuck > 2 rounds | Escalate to user: accept / retry / terminate |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-06 | pass→fail | 9,567 | 7,797 | -19% | 1 | 1 | 0% | 2,171 | 2,474 | +14% | 0 | 0 | — |
case-01 | fail→fail | 30,258 | 6,796 | -78% | 1 | 1 | 0% | 6,208 | 2,375 | -62% | 0 | 0 | — |
case-02 | fail→fail | 12,835 | 5,322 | -59% | 1 | 1 | 0% | 2,364 | 2,279 | -4% | 0 | 0 | — |
case-03 | fail→fail | 8,208 | 5,569 | -32% | 1 | 1 | 0% | 676 | 2,494 | +269% | 0 | 0 | — |
case-04 | fail→fail | 4,986 | 6,802 | +36% | 1 | 1 | 0% | 221 | 2,453 | +1010% | 0 | 0 | — |
case-05 | pass→fail | 9,383 | 6,791 | -28% | 1 | 1 | 0% | 1,924 | 2,404 | +25% | 0 | 0 | — |
case-07 | fail→fail | 7,066 | 11,259 | +59% | 1 | 1 | 0% | 1,455 | 2,522 | +73% | 0 | 0 | — |
case-08 | fail→fail | 2,912 | 8,962 | +208% | 1 | 1 | 0% | 447 | 2,643 | +491% | 0 | 0 | — |
case-09 | fail→pass | 7,851 | 2,485 | -68% | 1 | 1 | 0% | 1,281 | 2,367 | +85% | 0 | 0 | — |
case-10 | fail→pass | 12,314 | 4,323 | -65% | 1 | 1 | 0% | 1,831 | 2,667 | +46% | 0 | 0 | — |
case-11 | fail→pass | 8,472 | 2,378 | -72% | 1 | 1 | 0% | 1,375 | 2,409 | +75% | 0 | 0 | — |
case-12 | fail→pass | 12,141 | 11,648 | -4% | 1 | 1 | 0% | 2,087 | 3,283 | +57% | 0 | 0 | — |
case-13 | fail→pass | 25,536 | 5,483 | -79% | 1 | 1 | 0% | 978 | 3,093 | +216% | 0 | 0 | — |
case-14 | fail→pass | 14,867 | 4,381 | -71% | 1 | 1 | 0% | 2,307 | 2,948 | +28% | 0 | 0 | — |
case-15 | fail→fail | 5,929 | 6,019 | +2% | 1 | 1 | 0% | 893 | 2,363 | +165% | 0 | 0 | — |
case-16 | fail→pass | 5,528 | 2,691 | -51% | 1 | 1 | 0% | 928 | 2,452 | +164% | 0 | 0 | — |
case-17 | fail→pass | 10,478 | 4,173 | -60% | 1 | 1 | 0% | 1,804 | 2,744 | +52% | 0 | 0 | — |
case-18 | fail→pass | 16,342 | 4,149 | -75% | 1 | 1 | 0% | 2,685 | 2,610 | -3% | 0 | 0 | — |
case-19 | fail→pass | 6,716 | 1,782 | -73% | 1 | 1 | 0% | 1,042 | 2,238 | +115% | 0 | 0 | — |
case-20 | pass→pass | 11,586 | 2,042 | -82% | 1 | 1 | 0% | 1,922 | 2,272 | +18% | 0 | 0 | — |
case-21 | fail→pass | 9,391 | 2,118 | -77% | 1 | 1 | 0% | 1,637 | 2,261 | +38% | 0 | 0 | — |
case-22 | fail→pass | 15,254 | 2,489 | -84% | 1 | 1 | 0% | 2,442 | 2,404 | -2% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 12 counted toward the lift figure. The other 10 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +45 percentage points is the difference between those two pass rates over the 12 comparable cases. 3 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/3/2026 | +23% |
Other measured skills in the registry, with their headline benchmark lift.