---
name: gsd:ui-phase
description: Generate UI design contract (UI-SPEC.md) for frontend phases
argument-hint: "[phase]"
allowed-tools:
- Read
- Write
- Bash
- Glob
- Grep
- Task
- WebFetch
- AskUserQuestion
- mcp__context7__*
---
Create a UI design contract (UI-SPEC.md) for a frontend phase.
Orchestrates gsd-ui-researcher and gsd-ui-checker.
Flow: Validate → Research UI → Verify UI-SPEC → Done
@${CLAUDE_PLUGIN_ROOT}/workflows/ui-phase.md
@${CLAUDE_PLUGIN_ROOT}/references/ui-brand.md
Phase number: $ARGUMENTS — optional, auto-detects next unplanned phase if omitted.
Execute @${CLAUDE_PLUGIN_ROOT}/workflows/ui-phase.md end-to-end.
Preserve all workflow gates.