Skip to content
openspec-to-prompts logo

OpenSpec to Prompts Pipeline

openspec-to-prompts

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...

NeverSight/skills_feed0installs215stars

SKILL.md

Full skill instructions

OpenSpec to Prompts Pipeline

Transform an OpenSpec change phase into actionable UI build prompts through a structured 3-step process.

Overview

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

When to Use

  • Starting implementation of an OpenSpec feature phase
  • Converting spec requirements into UI build prompts
  • User says "run the feature pipeline" or "openspec-to-prompts"
  • User wants to prepare a phase for frontend development

Required Inputs

Before starting, confirm these inputs with the user:

InputDescriptionExample
change-idOpenSpec change directory nameadd-launch-features
phaseSection number from tasks.md1 (for "1. Pocket Import")

Pipeline Execution

Pre-Flight: Gather Context

Before running the pipeline, read and understand:

  1. Tasks file: openspec/​changes/​{change-id}/​tasks.md

    • Extract the specific phase section (e.g., "## 1. Pocket Import")
    • Note all sub-tasks and requirements
  2. Proposal file: openspec/​changes/​{change-id}/​proposal.md

    • Understand the "Why" and context
    • Note any constraints or dependencies
  3. Spec files: openspec/​changes/​{change-id}/​specs/​{capability}/​spec.md

    • Read relevant capability specs
    • Extract scenarios and requirements

Create a summary of the phase for use in Step 1.

Step 1: PRD Generation + Clarification

Invoke: prd-lite skill, then prd-clarifier skill

Process:

  1. Generate a demo-grade PRD from the phase requirements
  2. Run clarification session (recommend "Long" depth = 20 questions)
  3. Document all decisions in the clarification session log

Output file: {change-id}/​specs/​{capability}/​{capability}-prd-clarification-session.md

Example: For phase "1. Pocket Import" in change "add-launch-features":

  • Output: add-launch-features/​specs/​article-import/​article-import-prd-clarification-session.md

Step 2: UX Specification

Invoke: prd-to-ux skill

Process:

  1. Read the clarification session from Step 1
  2. Execute all 6 UX passes (NO shortcuts):
    • Pass 1: Mental Model
    • Pass 2: Information Architecture
    • Pass 3: Affordances
    • Pass 4: Cognitive Load
    • Pass 5: State Design
    • Pass 6: Flow Integrity
  3. Generate visual specifications

Output file: {prd-clarification-file}-ux-spec.md (same directory as Step 1 output)

Step 3: Build-Order Prompts

Invoke: ux-spec-to-prompts skill

Process:

  1. Read the UX spec from Step 2
  2. Extract atomic buildable units
  3. Map dependencies between units
  4. Sequence by build order (foundation → components → assembly)
  5. Generate self-contained prompts

Output file: {capability}-build-prompts.md (same directory)

Output Summary

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

File Naming Convention

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

Determining Capability Name

Map phase numbers to capability names by reading the change's spec structure:

Phasetasks.md SectionLikely 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.

Error Handling

IssueResolution
Phase not found in tasks.mdList available phases, ask user to confirm
No specs directory for capabilityCreate it, or output to change root
User wants to skip clarificationNot allowed - clarification prevents implementation bugs
User wants fewer than 20 questionsRecommend "Long" but accept "Medium" (10) minimum

Important Constraints

  1. No shortcuts - Each step must complete fully before the next begins
  2. Clarification is mandatory - The questions prevent costly rework
  3. UX passes are mandatory - All 6 passes, no skipping to visuals
  4. Self-contained prompts - Each build prompt must stand alone
  5. Track progress - Use TodoWrite to show pipeline progress

Example Invocation

User: "Run openspec-to-prompts for add-launch-features phase 2"

Response:

  1. Read tasks.md section "2. Browser Extension"
  2. Read proposal.md for context
  3. Read specs/​browser-extension/​spec.md for requirements
  4. Invoke prd-lite → generate PRD
  5. Invoke prd-clarifier → clarification questions (Long depth)
  6. Invoke prd-to-ux → 6-pass UX spec
  7. Invoke ux-spec-to-prompts → build prompts
  8. Report all generated files

More skills from NeverSight

devops-deployer logo
NeverSight/skills_feed

devops-deployer

Comprehensive DevOps and deployment workflow that orchestrates infrastructure automation, CI/CD pipelines, container orchestration, and cloud deployment. Handles everything from infrastructure as code and pipeline setup to monitoring, scaling, and disaster recovery.

215 1
View
avnu logo
NeverSight/skills_feed

avnu

Integrate avnu SDK for Starknet DeFi: token swaps with best-price routing, DCA recurring buys, native staking, gasless transactions via paymaster, and market data. Use when building Starknet trading, DEX aggregation, or DeFi automation features.

215 0
View
post-to-x logo
NeverSight/skills_feed

post-to-x

发布内容和文章到 X (Twitter)。支持带图片的普通推文和 X Articles(长文)。使用真实的 Chrome 和 CDP 来绕过自动化检测。

215 0
View
ralph-prompt-builder logo
NeverSight/skills_feed

ralph-prompt-builder

Master orchestrator for generating Ralph Wiggum-compatible prompts. Analyzes task requirements and routes to appropriate generator (single-task, multi-task, project, or research). Use when you need to create any Ralph loop prompt and want automatic selection of the right generator.

215 0
View
branch-comparison logo
NeverSight/skills_feed

branch-comparison

Use when the user asks to compare branches, analyze git diffs, review changes between branches, update specifications based on code changes, or analyze what changed. Triggers on keywords like "compare branches", "git diff", "what changed", "branch comparison", "code changes", "spec update".

215 0
View
fastapi-development logo
NeverSight/skills_feed

fastapi-development

Build high-performance FastAPI applications with async routes, validation, dependency injection, security, and automatic API documentation. Use when developing modern Python APIs with async support, automatic OpenAPI documentation, and high performance requirements.

215 0
View
zendesk-chat logo
NeverSight/skills_feed

zendesk-chat

Enables Claude to manage Zendesk Chat conversations, support tickets, and customer service operations

215 0
View
forge logo
NeverSight/skills_feed

forge

Mine transcripts for knowledge - decisions, learnings, failures, patterns. Triggers: "forge insights", "mine transcripts", "extract knowledge".

215 0
View
mixpanel logo
NeverSight/skills_feed

mixpanel

Track product analytics and user behavior with Mixpanel's event-based platform.

215 0
View
ocpp logo
NeverSight/skills_feed

ocpp

OCPP protocol reference for EV charging infrastructure development. Covers OCPP 2.0.1 and OCPP 1.6J. Use when working with OCPP messages, charging station code, CSMS/Central System backends, smart charging, transaction handling, or EV charging protocols. Activates on keywords: OCPP, charging stat...

215 0
View
bee-collect logo
NeverSight/skills_feed

bee-collect

Gather scattered ideas into organized GitHub issues. The bee collects pollen from every flower, checks if the hive already has it, and carefully deposits new work in the comb for later. Never edits code—only organizes the work ahead. Use when creating issues from TODOs or planning work.

215 0
View
vercel-react-native-skills logo
NeverSight/skills_feed

vercel-react-native-skills

Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering performance, animations, UI patterns, and platform-specific optimizations.

215 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View