Transform rough ideas into detailed design documents with implementation plans. Use when a user wants to develop an idea into a complete specification, create a design document from a concept, plan a feature implementation, or mentions "PDD", "prompt-driven development", "idea to design", "design doc from idea", or wants to systematically refine requirements before building. Guides through requirements clarification, research, detailed design, and implementation planning.
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: prompt-driven-development description: Transform rough ideas into detailed design documents with implementation plans. Use when a user wants to develop an idea into a complete specification, create a design document from a concept, plan a feature implementation, or mentions "PDD", "prompt-driven development", "idea to design", "design doc from idea", or wants to systematically refine requirements before building. Guides through requirements clarification, research, detailed design, and implementation planning.
Prompt-Driven Development
Transform rough ideas into detailed designs with implementation plans through systematic requirements clarification, research, and iterative refinement.
Parameters
- rough_idea (required): The initial concept to develop. Accept via:
- Direct text input
- File path to a local file
- URL to a resource
- project_dir (optional, default:
.sop/planning): Base directory for all project files
Constraints:
- Ask for all required parameters upfront in a single prompt
- Confirm successful acquisition before proceeding
- Never overwrite an existing project directory - ask for a new path if it exists
Workflow
Step 1: Create Project Structure
Create the directory structure:
{project_dir}/
βββ rough-idea.md # Original concept
βββ idea-honing.md # Requirements Q&A
βββ research/ # Research findings
βββ design/ # Design documents
β βββ detailed-design.md
βββ implementation/ # Implementation plans
β βββ plan.md
βββ summary.md # Final summary
Prompt user to add files to context: /context add {project_dir}/**/*.md
Step 2: Initial Process Planning
Ask user preference:
- Start with requirements clarification (default)
- Start with preliminary research
- Provide additional context first
Explain the process is iterative - they can move between steps as needed. Wait for explicit direction before proceeding.
Step 3: Requirements Clarification
Critical constraints:
- Ask ONE question at a time, wait for response
- Never pre-populate answers or list multiple questions
- Follow this exact process per question:
- Formulate question
- Append to
idea-honing.md - Present to user
- Wait for complete response (may require dialogue)
- Record answer to
idea-honing.md - Formulate next question
Cover: edge cases, user experience, technical constraints, success criteria. Offer research when questions arise that need investigation.
See references/templates.md for idea-honing format.
Step 4: Research
- Identify areas needing research
- Propose research plan to user, ask for:
- Additional topics
- Specific resources to check
- Areas where user has expertise
- Document findings in
{project_dir}/research/(one file per topic) - Include mermaid diagrams for architectures and data flows
- Link to sources and references
- Check in periodically with user on findings
- Offer to return to requirements if new questions emerge
Step 5: Iteration Checkpoint
Summarize current state and ask user:
- Proceed to detailed design?
- Return to requirements clarification?
- Conduct additional research?
Support iterating as many times as needed. Never proceed to design without explicit confirmation.
Step 6: Create Detailed Design
Create {project_dir}/design/detailed-design.md with sections:
- Overview
- Detailed Requirements (consolidated from idea-honing)
- Architecture Overview (with mermaid diagrams)
- Components and Interfaces
- Data Models
- Error Handling
- Testing Strategy
- Appendices (Technology Choices, Research Findings, Alternatives)
See references/templates.md for detailed design template.
Review with user and iterate. Offer to return to earlier steps if gaps emerge.
Step 7: Develop Implementation Plan
Create {project_dir}/implementation/plan.md:
- Checklist at top for tracking progress
- Numbered steps, each with:
- Clear objective
- Implementation guidance
- Test requirements
- Integration with previous work
- Demo - explicit description of demoable functionality
Key principle: Each step must result in working, demoable functionality. Prioritize test-driven development and early core functionality.
See references/templates.md for implementation plan template.
Step 8: Summarize Results
Create {project_dir}/summary.md:
- List all artifacts created
- Overview of design and implementation plan
- Suggested next steps
- Areas needing refinement
Present summary to user.
Troubleshooting
Requirements stall: Suggest moving to different aspect, provide examples, summarize progress, or conduct research.
Research limitations: Document gaps, suggest alternatives, ask user for context, continue with available info.
Design complexity: Break into smaller components, focus on core first, suggest phased approach.
More by m31uk3
View allAnalyze a codebase and generate comprehensive documentation including architecture, components, interfaces, workflows, and dependencies. Creates an AI-optimized knowledge base (index.md) and can consolidate into AGENTS.md, README.md, or CONTRIBUTING.md. Use when the user wants to document a codebase, create AGENTS.md, understand system architecture, generate developer documentation, or asks to "summarize the codebase".
Guide for creating reliable AI workflows and SOPs. Use when: (1) User wants to create a structured workflow for AI tasks, (2) User needs to build an SOP for complex processes, (3) User wants to ensure their workflow follows best practices for managing LLM uncertainty, (4) User mentions creating workflows for domains like code review, response analysis, documentation, or any structured process
Analyze whether your response addresses the actual question asked before posting. Use when: (1) About to post response to forum/Slack question, (2) Want to validate response coverage, (3) Need to ensure solving the right problem, (4) Want specific improvement suggestions for gaps in response
This skill should be used when the user asks to "add resiliency to a skill", "make this skill more robust", "improve error handling", "add validation mechanisms", "create self-correcting behavior", or discusses determinism, robustness, error correction, or homeostatic patterns in Agent Skills. Applies biological resiliency principles from Michael Levin's work to Agent Skill design.
