算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
spec-to-ux-tasks【设计与创意】Extract UX tasks from a product spec and save as ux-tasks.md in the same spec folder. Use this skill when: - The user wants to generate UX work items from a spec - The user says "UX tasks", "what does UX need to do", "extract UX work", "UX deliverables" - The user wants to hand off a spec to the UX/design team - The user asks "what screens need desig…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: spec-to-ux-tasks description: | Extract UX tasks from a product spec and save as ux-tasks.md in the same spec folder. Use this skill when:
Read a product spec and extract all UX work items into a structured ux-tasks.md file in the same spec folder.
Product specs describe functional requirements for engineering, but UX teams need a clear task list of what they must design, decide, or validate. This skill bridges that gap by scanning each spec section and generating prioritised UX tasks with context, acceptance criteria, and open questions.
The user provides:
Spec source (required) — one of:
a. A spec file path (e.g., docs/specs/NNN-feature-name/feature-name.md)
b. A feature name (e.g., "feature X") — resolve to the spec folder using an epic-to-spec-map.yaml index (or similar convention)
c. A wiki/doc URL — pull the spec via your doc-to-markdown converter
Meeting transcript (optional) — a meeting URL or transcript ID from your meeting tool. If provided, fetch the transcript via the relevant MCP tool and cross-reference it with the spec to capture UX points discussed in the meeting that may not yet be in the spec.
A file named ux-tasks.md saved in the same folder as the spec:
NNN-feature-name/
feature-name.md
ux-tasks.md <-- generated
epic-to-spec-map.yaml) to resolve the folder path.§1.1 Related Document (or equivalent) for existing Figma links — carry these forward as references in relevant tasks.If the user provided a meeting link:
get_meeting_transcript with the meeting ID.(Meeting source) tag
b. If it's a new UX point not in the spec, create a new task with (Meeting source) in the contextImportant: Meeting transcripts contain casual discussion, not formal requirements. Only extract points that have UX implications. Do not log engineering-only concerns (database tagging, API structure) unless they affect the user interface.
Scan the spec top to bottom. Apply these extraction rules per section:
Scan the entire spec for any mention of future phases, deferred work, or upcoming enhancements that have UX implications. Look for:
Each future scope item = a Future Scope entry (NOT a regular task -- these do not have priorities or block current engineering). These are logged so the UX team knows what is coming and can factor it into current designs for forward compatibility.
For each extracted task:
High — Blocks engineering. No wireframe exists AND engineering cannot start this section without UX output. Includes all Interaction Decision tasks where the spec explicitly says "UX to decide".
Medium — Engineering can start but needs UX before completion. Edge case states, loading indicators, secondary flows.
Low — Polish and validation. Usability review of flows that already have wireframes, micro-interactions, animation details.
Cross-check with Figma links from §1.1:
Use this exact format:
# UX Tasks -- {Feature Name}
> Spec: `NNN-feature-name/feature-name.md`
> Wiki: [{Spec Page Title}]({wiki_url})
> Generated: DD-MM-YYYY
> Total tasks: N (H High, M Medium, L Low)
---
## Summary
| Task Type | Count | High | Medium | Low |
|---|---|---|---|---|
| Screen Design | X | X | X | X |
| Interaction Decision | X | X | X | X |
| User Flow | X | X | X | X |
| Component Design | X | X | X | X |
| Edge Case UX | X | X | X | X |
| Usability Review | X | X | X | X |
| **Total** | **X** | **X** | **X** | **X** |
---
## Screen Design
### UX-001 -- {Task Title}
**Priority:** High
**Spec section:** S2.1.2
**Figma:** [Link](url) or Not started
**Context:**
Brief summary of the functional requirement that drives this task. Written so the UX designer
understands what this screen/component must do without reading the full spec.
**What UX needs to deliver:**
1. Specific deliverable (e.g., "Wireframe for admin control panel showing ON/OFF toggle per role")
2. Another deliverable
**Open questions:**
1. Any UX decisions from the spec that need resolution before or during design
2. Options listed in spec if applicable
**Acceptance criteria:**
1. What "done" looks like (e.g., "Figma screen covers all states: enabled, disabled, pending sync")
2. Engineering can implement from this output without ambiguity
---
## Interaction Decision
### UX-002 -- {Task Title}
...same format...
---
## User Flow
...
## Component Design
...
## Edge Case UX
...
## Usability Review
...
---
## Future Scope
> Items below are NOT active tasks. They are future-phase features mentioned in the spec that will
> require UX work when they move to active development. Listed here so the UX team can factor
> forward compatibility into current designs.
### FS-001 -- {Future Item Title}
**Spec section:** S2.3.1, S5
**Mentioned as:** "future phase" / "deferred to" / "not in current scope"
**What the spec says:**
Verbatim or summarised description of the future capability from the spec.
**UX implication:**
What this means for UX when it becomes active -- new screens, changed interactions, or design
decisions that current designs should keep open for.
**Forward compatibility note:**
Any current design choices that should avoid painting UX into a corner for this future feature.
E.g., "Design the toggle component so it can accommodate a third option without a full redesign."
---
1., 2.), never bullet points (-, *).-- (double dash), never em-dashes.S prefix (e.g., S2.1.2, S1.3) since § may not render in all tools.> Source: line at the top.After writing the file, show:
ux-tasks.md was saved.