Team ui

From striderZA/OpenCodeGameStudios · View interactive version

Team ui is an AI agent skill from the GitHub repository striderZA/OpenCodeGameStudios. Orchestrate the UI team through the full UX pipeline: from UX spec authoring through visual design, implementation, review, and polish. Integrates with /ux-design, /ux-review, and studio UX templates.

How to use this skill

Skill file

When this skill is invoked, orchestrate the UI team through a structured pipeline.

Decision Points: At each phase transition, use question to present

the user with the subagent's proposals as selectable options. Write the agent's

full analysis in conversation, then capture the decision with concise labels.

The user must approve before moving to the next phase.

Team Composition

Templates used by this pipeline:

How to Delegate

Use the Task tool to spawn each team member as a subagent:

Always provide full context in each agent's prompt (feature requirements, existing UI patterns, platform targets). Launch independent agents in parallel where the pipeline allows it (e.g., Phase 4 review agents can run simultaneously).

Pipeline

Phase 1a: Context Gathering

Before designing anything, read and synthesize:

If design/ux/interaction-patterns.md does not exist, surface the gap immediately:

"interaction-patterns.md does not exist — no existing patterns to reuse."

Then use question with options:

Do NOT invent or assume patterns from the feature name or GDD alone. If the user chooses (b), explicitly instruct ui-programmer in Phase 3 to treat all patterns as new and document them in design/ux/interaction-patterns.md when implementation is complete. Note the pattern library status (created / absent / updated) in the final summary report.

Summarize the context in a brief for the ux-designer: what the player is doing, what they need, what constraints apply, and which existing patterns are relevant.

Phase 1b: UX Spec Authoring

Invoke /ux-design [feature name] skill OR delegate directly to ux-designer to produce design/ux/[feature-name].md following the ux-spec.md template.

If designing the HUD, use the hud-design.md template instead of ux-spec.md.

Notes on special cases:

- For HUD design specifically, invoke /ux-design with argument: hud (e.g., /ux-design hud).

- For the interaction pattern library, run /ux-design patterns once at project start and update it whenever new patterns are introduced during later phases.

Output: design/ux/[feature-name].md with all required spec sections filled.

Phase 1c: UX Review

After the spec is complete, invoke /ux-review design/ux/[feature-name].md.

Gate: Do not proceed to Phase 2 until the verdict is APPROVED. If the verdict is NEEDS REVISION, the ux-designer must address the flagged issues and re-run the review. The user may explicitly accept a NEEDS REVISION risk and proceed, but this must be a conscious decision — present the specific concerns via question before asking whether to proceed.

Phase 2: Visual Design

Delegate to art-director:

Phase 3: Implementation

Before implementation begins, spawn the engine UI specialist (from docs/framework/technical-preferences.md Engine Specialists → UI Specialist) to review the UX spec and visual design spec for engine-specific implementation guidance:

If no engine is configured, skip this step.

Delegate to ui-programmer:

Phase 4: Review (parallel)

Delegate in parallel:

All three review streams must report before proceeding to Phase 5.

Phase 5: Polish

Quick Reference — When to Use Which Skill

Error Recovery Protocol

If any spawned agent (via Task) returns BLOCKED, errors, or cannot complete:

  1. Surface immediately: Report "[AgentName]: BLOCKED — [reason]" to the user before continuing to dependent phases
  2. Assess dependencies: Check whether the blocked agent's output is required by subsequent phases. If yes, do not proceed past that dependency point without user input.
  3. Offer options via question with choices:
  1. Always produce a partial report — output whatever was completed. Never discard work because one agent blocked.

Common blockers:

File Write Protocol

All file writes (UX specs, interaction pattern library updates, implementation files) are

delegated to sub-agents and sub-skills (/ux-design, ui-programmer). Each enforces the

"May I write to [path]?" protocol. This orchestrator does not write files directly.

Output

A summary report covering: UX spec status, UX review verdict, visual design status, implementation status, accessibility compliance, input method support, interaction pattern library update status, and any outstanding issues.

Verdict: COMPLETE — UI feature delivered through full pipeline (UX spec → visual → implementation → review → polish).

Verdict: BLOCKED — pipeline halted; surface the blocker and its phase before stopping.

Next Steps

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.