Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Unified team skill for UX improvement. Systematically discovers and fixes UI/UX interaction issues including unresponsive buttons, missing feedback, and state refresh problems. Uses team-worker agent architecture with roles/ for domain logic. Coordinator orchestrates pipeline, workers are team-worker agents. Triggers on "team ux improve".
.claude/skills/catlog22-team-ux-improve/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | 140% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 113% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 39% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 69% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 127% | 0% |
Systematic UX improvement pipeline: scan -> diagnose -> design -> implement -> test. 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-ux-improve", args="<project-path> [--framework react|vue]")
|
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 v
[team-worker agents, each loads roles/<role>/role.md]
scanner diagnoser designer implementer tester| Role | Path | Prefix | Inner Loop | |------|------|--------|------------| | coordinator | roles/coordinator/role.md | — | — | | scanner | roles/scanner/role.md | SCAN- | false | | diagnoser | [roles/diagnoser/role.md](roles/diagnoser/role.md) | DIAG- | false | | designer | roles/designer/role.md | DESIGN- | false | | implementer | [roles/implementer/role.md](roles/implementer/role.md) | IMPL- | true | | tester | roles/tester/role.md | TEST- | false |
Coordinator-only: Utility members can only be spawned by Coordinator. Workers CANNOT call spawn_agent() to spawn utility members.
| Utility Member | Path | Callable By | Purpose | |----------------|------|-------------|---------| | explorer | roles/explorer/role.md | Coordinator only | Explore codebase for UI component patterns and framework-specific patterns |
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.
ux-improve.workflow/.team/ux-improve-<timestamp>/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: <true|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.
UX improvement has an explorer utility member and a scan-diagnose-design-implement-test pipeline.
| Role | reasoning_effort | Rationale | |------|-------------------|-----------| | explorer | low | File reading and pattern summarization only (utility member) | | scanner | medium | Broad UI/UX issue scanning, pattern-based detection | | diagnoser | high | Root cause diagnosis of UX issues requires deep analysis | | designer | high | UX improvement design needs careful user experience reasoning | | implementer | high | UI code changes must preserve existing behavior | | tester | medium | Test execution follows defined UX verification criteria |
| Command | Action | |---------|--------| | check / status | View execution status graph | | resume / continue | Advance to next step |
.workflow/.team/ux-improve-<timestamp>/
├── .msg/
│ ├── messages.jsonl # Team message bus
│ └── meta.json # Pipeline config + role state snapshot
├── artifacts/ # Role deliverables
│ ├── scan-report.md # Scanner output
│ ├── diagnosis.md # Diagnoser output
│ ├── design-guide.md # Designer output
│ ├── fixes/ # Implementer output
│ └── test-report.md # Tester output
├── explorations/ # Explorer cache
│ └── cache-index.json
└── wisdom/ # Session knowledge base
├── contributions/ # Worker contributions (write-only for workers)
├── principles/
├── patterns/
└── anti-patterns/| Intent | API | Example | |--------|-----|---------| | Queue supplementary info (don't interrupt) | send_message | Send explorer findings to running scanner | | Assign implementation from design | followup_task | Assign IMPL task from designer output | | 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: "SCAN-001", message: "..." }) -- send explorer findings to scannerfollowup_task({ target: "IMPL-001", message: "..." }) -- assign UX fix from designer outputclose_agent({ target: "TEST-001" }) -- cleanup after UX testingCoordinator spawns explorer (utility member) early to gather codebase context, then sends findings to scanner via upstream context:
// Explorer results inform scanner's scope
send_message({
target: "SCAN-001",
message: `## Explorer Findings
component_patterns: <explorer's component inventory>
framework: <detected framework>
ui_library: <detected UI library>`
})| Scenario | Resolution | |----------|------------| | Unknown command | Error with available command list | | Role not found | Error with role registry | | Project path invalid | Re-prompt user for valid path | | Framework detection fails | request_user_input for framework selection | | Session corruption | Attempt recovery, fallback to manual | | Fast-advance conflict | Coordinator reconciles on next callback | | No UI issues found | Complete with empty fix list, generate clean bill report | | Test iterations exceeded | Accept current state, continue to completion |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-02 | fail→fail | 4,213 | 5,090 | +21% | 1 | 1 | 0% | 202 | 2,479 | +1127% | 0 | 0 | — |
case-03 | fail→fail | 7,995 | 5,570 | -30% | 1 | 1 | 0% | 321 | 2,537 | +690% | 0 | 0 | — |
case-01 | fail→fail | 4,419 | 8,426 | +91% | 1 | 1 | 0% | 587 | 2,500 | +326% | 0 | 0 | — |
case-04 | fail→fail | 5,990 | 51,309 | +757% | 1 | 1 | 0% | 936 | 2,555 | +173% | 0 | 0 | — |
case-05 | fail→fail | 2,235 | 6,954 | +211% | 1 | 1 | 0% | 291 | 2,718 | +834% | 0 | 0 | — |
case-06 | fail→pass | 7,691 | 2,405 | -69% | 1 | 1 | 0% | 1,043 | 2,505 | +140% | 0 | 0 | — |
case-07 | fail→pass | 8,106 | 3,676 | -55% | 1 | 1 | 0% | 1,320 | 2,816 | +113% | 0 | 0 | — |
case-08 | pass→pass | 11,927 | 3,021 | -75% | 1 | 1 | 0% | 1,933 | 2,722 | +41% | 0 | 0 | — |
case-09 | fail→pass | 9,638 | 2,166 | -78% | 1 | 1 | 0% | 1,809 | 2,523 | +39% | 0 | 0 | — |
case-10 | fail→pass | 10,587 | 4,756 | -55% | 1 | 1 | 0% | 1,811 | 3,061 | +69% | 0 | 0 | — |
case-11 | fail→pass | 8,229 | 5,791 | -30% | 1 | 1 | 0% | 1,488 | 3,377 | +127% | 0 | 0 | — |
case-12 | fail→pass | 8,939 | 3,509 | -61% | 1 | 1 | 0% | 1,449 | 2,788 | +92% | 0 | 0 | — |
case-13 | pass→pass | 7,103 | 2,632 | -63% | 1 | 1 | 0% | 1,062 | 2,570 | +142% | 0 | 0 | — |
case-14 | pass→pass | 7,697 | 3,398 | -56% | 1 | 1 | 0% | 1,296 | 2,741 | +111% | 0 | 0 | — |
case-15 | fail→pass | 10,677 | 4,961 | -54% | 1 | 1 | 0% | 1,904 | 3,143 | +65% | 0 | 0 | — |
case-16 | fail→pass | 7,688 | 2,567 | -67% | 1 | 1 | 0% | 1,505 | 2,513 | +67% | 0 | 0 | — |
case-17 | fail→pass | 16,736 | 8,582 | -49% | 1 | 1 | 0% | 1,461 | 2,746 | +88% | 0 | 0 | — |
case-22 | pass→fail | 9,808 | 7,165 | -27% | 1 | 1 | 0% | 2,082 | 2,752 | +32% | 0 | 0 | — |
case-18 | pass→pass | 13,261 | 4,970 | -63% | 1 | 1 | 0% | 2,148 | 3,016 | +40% | 0 | 0 | — |
case-19 | fail→fail | 7,052 | 2,971 | -58% | 1 | 1 | 0% | 1,400 | 2,649 | +89% | 0 | 0 | — |
case-20 | pass→fail | 4,201 | 7,407 | +76% | 1 | 1 | 0% | 775 | 2,436 | +214% | 0 | 0 | — |
case-21 | pass→fail | 15,390 | 6,653 | -57% | 1 | 1 | 0% | 3,217 | 2,598 | -19% | 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 14 counted toward the lift figure. The other 8 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 +27 percentage points is the difference between those two pass rates over the 14 comparable cases. 5 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 | +45% |
Other measured skills in the registry, with their headline benchmark lift.