/spectre:spectre-uxfrom spectre
Turns requirements into a behavioral UX spec (ux.md) covering user flows, screens, states, copy, and accessibility. Two-stage process: align flows first, then write detailed spec after approval.
Ships in spectre. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn requirements into a behavioral spec — what users see/do and the system response, not visual taste. Align flows, then write ux.md.
$ARGUMENTS — explicit feature name/root or descendant requirements artifact.{OUT_DIR}/concepts/scope.md (canonical, preferred){OUT_DIR}/specs/prd.md{OUT_DIR}/task_summary.md/spectre:spectre-scope first; do not invent scope.FEATURE_ROOT only when explicit/current-thread evidence ties it to this work (physical directory wins; never branch/recency/lifecycle/scans); distinct work ignores ambient roots. Otherwise, including on collision, standalone MUST first load and follow @skill-spectre:spectre-feature-root through DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged.OUT_DIR = FEATURE_ROOT.@spectre:patterns dispatch for similar screens/tokens — ≤~2K in-thread, no files.Stage 1 — Flow discovery & alignment (align before specifying).
| Handoff | Details |
|---|---|
| 🧭 Current phase | Flow approval. |
| 📦 What was just done | Initial or revised flows. |
| ▶️ Proposed next step | Render resolved action. |
CONTINUATION: Prototype when interaction, layout, visual validation, or stakeholder review materially matters; otherwise Plan when Scope + flows suffice. Render /spectre:spectre-prototype {FEATURE_ROOT} FROM_UX=true or /spectre:spectre-plan {FEATURE_ROOT}; at most one explicit conditional alternative.{OUT_DIR}/ux.md before explicit flow approval + selected continuation. Feedback without approval → revise and re-present. Ambiguous approval or missing route authority → ask only the unresolved choice.Stage 2 — Detailed spec (only after explicit flow approval + selected continuation).
{OUT_DIR}/ux.md, then invoke the selected workflow in the same run with no second gate. Resolve from approved flows; ask only for missing irreversible authority.Write {FEATURE_ROOT}/ux.md with all 11 sections. Below its title:
Feature: <feature-name>
Feature Root: .spectre/features/<feature-name>
Derive both values from the physical feature directory.
State Vocabulary — pick relevant states:
DONE when: the Stage-1 flow gate was cleared (user approved flows); ux.md exists with all 11 sections; segments addressed; flows carry alternate paths; Interactions and States tables use the exact column formats above; component states are drawn from the State Vocabulary; layouts state the responsive breakpoints; accessibility and edge cases covered.
| Handoff | Details |
|---|---|
| 🧭 Current phase | Done |
| 📦 What was just done | Result |
| ▶️ Proposed next step | Render resolved action; no placeholders. |
Confirm UX/doc path. Material visual/interaction/stakeholder/prose-limit → Prototype (apply assumptions to ux.md); otherwise confirmed repository-changing work → /spectre:spectre-plan. One route/conditional; read-only may stop/Handoff.
/spectre:spectre-scope before specifying./spectre:spectre-plan; keep this pass on behavior./spectre:spectre-plan.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub joenandez/spectre --plugin spectre20 skills in this plugin
/spectre-captureCapture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed persistent blockers as soon as they matter. The user's correction is sufficient authority without code corroboration. Do not use for routine progress, transient errors, incidental code, task outcomes, or historical work accounts./spectre-code_reviewRun final adversarial review through a pinned high-effort opposing runtime with one native fallback. Use at the final boundary to falsify correctness, safety, production readiness, and requirement delivery. Do not use for partial checkpoints or implementation; review only./spectre-create_prOther plugins' skills for the same job