skills/openspec-to-prompts/SKILL.md
Transform an OpenSpec change phase into UI-ready build prompts through a 3-step pipeline. PRD generation, then UX specification, then build-order prompts. Use when starting implementation of an OpenSpec feature phase, or when the user mentions "openspec-to-prompts", "feature pipeline", or asks to convert a spec phase to implementation prompts. Requires an openspec change-id and phase number as input.
npx skillsauth add akornmeier/claude-config openspec-to-promptsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform an OpenSpec change phase into actionable UI build prompts through a structured 3-step process.
This skill orchestrates three sub-skills in sequence:
OpenSpec Phase → [prd-lite + prd-clarifier] → [prd-to-ux] → [ux-spec-to-prompts] → Build Prompts
Input: OpenSpec change-id and phase number Output: Three documents ready for UI generation tools
Before starting, confirm these inputs with the user:
| Input | Description | Example |
|-------|-------------|---------|
| change-id | OpenSpec change directory name | add-launch-features |
| phase | Section number from tasks.md | 1 (for "1. Pocket Import") |
Before running the pipeline, read and understand:
Tasks file: openspec/changes/{change-id}/tasks.md
Proposal file: openspec/changes/{change-id}/proposal.md
Spec files: openspec/changes/{change-id}/specs/{capability}/spec.md
Create a summary of the phase for use in Step 1.
Invoke: prd-lite skill, then prd-clarifier skill
Process:
Output file: {change-id}/specs/{capability}/{capability}-prd-clarification-session.md
Example: For phase "1. Pocket Import" in change "add-launch-features":
add-launch-features/specs/article-import/article-import-prd-clarification-session.mdInvoke: prd-to-ux skill
Process:
Output file: {prd-clarification-file}-ux-spec.md (same directory as Step 1 output)
Invoke: ux-spec-to-prompts skill
Process:
Output file: {capability}-build-prompts.md (same directory)
After completion, report all generated files:
Pipeline Complete: {change-id} Phase {phase}
Generated Files:
1. PRD + Clarifications: {path}
2. UX Specification: {path}
3. Build Prompts: {path}
Next Steps:
- Use build prompts with v0, Bolt, or frontend-design skill
- Update tasks.md with any new requirements discovered
- Update spec.md with new scenarios from clarifications
All outputs go in the openspec change's specs directory for the relevant capability:
openspec/changes/{change-id}/specs/{capability}/
├── spec.md # Original spec (don't modify)
├── {capability}-prd-clarification-session.md # Step 1 output
├── {capability}-prd-clarification-session-ux-spec.md # Step 2 output
└── {capability}-build-prompts.md # Step 3 output
Map phase numbers to capability names by reading the change's spec structure:
| Phase | tasks.md Section | Likely Capability |
|-------|-----------------|-------------------|
| 1 | "1. Pocket Import" | article-import |
| 2 | "2. Browser Extension" | browser-extension |
| 3 | "3. Offline Reading" | offline-reading |
Check openspec/changes/{change-id}/specs/ for exact capability directory names.
| Issue | Resolution | |-------|------------| | Phase not found in tasks.md | List available phases, ask user to confirm | | No specs directory for capability | Create it, or output to change root | | User wants to skip clarification | Not allowed - clarification prevents implementation bugs | | User wants fewer than 20 questions | Recommend "Long" but accept "Medium" (10) minimum |
User: "Run openspec-to-prompts for add-launch-features phase 2"
Response:
tools
Use when translating UX specifications into build-order prompts for UI generation tools. Triggers when user has a UX spec, PRD, or detailed feature doc and needs sequential, self-contained prompts for tools like v0, Bolt, or Claude frontend-design.
development
Guide for implementing Turborepo - a high-performance build system for JavaScript and TypeScript monorepos. Use when setting up monorepos, optimizing build performance, implementing task pipelines, configuring caching strategies, or orchestrating tasks across multiple packages.
tools
Replace with description of the skill and when Claude should use it.
tools
Guide for implementing Tailwind CSS - a utility-first CSS framework for rapid UI development. Use when styling applications with responsive design, dark mode, custom themes, or building design systems with Tailwind's utility classes.