Prompt-Driven Development
Overview
This sop guides you through the process of transforming a rough idea into a detailed design document with an implementation plan and todo list. It follows the Prompt-Driven Development methodology to systematically refine your idea, conduct necessary research, create a comprehensive design, and develop an actionable implementation plan. The process is designed to be iterative, allowing movement between requirements clarification and research as needed.
Parameters
- rough_idea (required): The initial concept or idea you want to develop into a detailed design
- project_name (optional): A short, descriptive name for the project. If not provided, will be generated from the rough idea
- project_dir (optional, default: ".agents/planning/{project_name}"): The base directory where all project files will be stored
Constraints for parameter acquisition:
- You MUST ask for all required parameters upfront in a single prompt rather than one at a time
- You MUST support multiple input methods including:
- Direct input: Text provided directly in the conversation
- File path: Path to a local file containing the rough idea
- URL: Link to an internal resource (e.g., Quip doc, wiki page)
- Other methods: You SHOULD be open to other ways the user might want to provide the idea
- You MUST use appropriate tools to access content based on the input method
- You MUST confirm successful acquisition of all parameters before proceeding
- If project_name is not provided, You MUST generate a short kebab-case name from the rough idea, prefixed with the current date in YYYY-MM-DD format (e.g., "2026-01-30-template-manager", "2026-01-30-auth-system")
- You SHOULD save the acquired rough idea to a consistent location for use in subsequent steps
- You MUST NOT overwrite the existing project directory because this could destroy previous work and cause data loss
- You MUST ask for project_dir if it is not given and the generated default directory already exists and has contents from previous iteration
Steps
1. Create Project Structure
Set up a directory structure to organize all artifacts created during the process.
Constraints:
- You MUST create the specified project directory if it doesn't already exist
- You MUST create the following files:
- {project_dir}/rough-idea.md (containing the provided rough idea)
- {project_dir}/idea-honing.md (for requirements clarification)
- You MUST include a Connections section in rough-idea.md that links to:
- idea-honing.md:
[[idea-honing.md]] (will be populated during requirements clarification)
- You MUST create the following subdirectories:
- {project_dir}/research/ (directory for research notes)
- {project_dir}/design/ (directory for design documents)
- {project_dir}/implementation/ (directory for implementation plans)
- You MUST notify the user when the structure has been created
- You MUST prompt the user to add all project files to Kiro's context using the command:
/context add {project_dir}/**/*.md
- You MUST explain that this will ensure all project files remain in context throughout the process
2. Initial Process Planning
Determine the initial approach and sequence for requirements clarification and research.
Constraints:
- You MUST ask the user if they prefer to:
- Start with requirements clarification (default)
- Start with preliminary research on specific topics
- Provide additional context or information before proceeding
- You MUST adapt the subsequent process based on the user's preference
- You MUST explain that the process is iterative and the user can move between requirements clarification and research as needed
- You MUST wait for explicit user direction before proceeding to any subsequent step
- You MUST NOT automatically proceed to requirements clarification or research without user confirmation because this could lead the process in a direction the user doesn't want
3. Requirements Clarification
Guide the user through a series of questions to refine the initial idea and develop a thorough specification.
Constraints:
- You MUST create an empty {project_dir}/idea-honing.md file if it doesn't already exist
- You MUST add a Connections section to idea-honing.md that includes:
- Link to rough-idea.md:
[[rough-idea.md]]
- You MUST ask ONLY ONE question at a time and wait for the user's response before asking the next question
- You MUST NOT list multiple questions for the user to answer at once because this overwhelms users and leads to incomplete responses
- You MUST NOT pre-populate answers to questions without user input because this assumes user preferences without confirmation
- You MUST NOT write multiple questions and answers to the idea-honing.md file at once because this skips the interactive clarification process
- You MUST follow this exact process for each question:
- Formulate a single question
- Append the question to {project_dir}/idea-honing.md
- Present the question to the user in the conversation
- Wait for the user's complete response, which may require brief back-and-forth dialogue across multiple turns.
- Once you have their complete response, append the user's answer (or final decision) to {project_dir}/idea-honing.md
- Only then proceed to formulating the next question
- You MAY suggest possible answers when asking a question, but MUST wait for the user's actual response
- You MUST format the idea-honing.md document with clear question and answer sections
- You MUST include the final chosen answer in the answer section
- You MAY include alternative options that were considered before the final decision
- You MUST ensure you have the user's complete response before recording it and moving to the next question
- You MUST continue asking questions until sufficient detail is gathered
- You SHOULD ask about edge cases, user experience, technical constraints, and success criteria
- You SHOULD adapt follow-up questions based on previous answers
- You MAY suggest options when the user is unsure about a particular aspect
- You MAY recognize when the requirements clarification process appears to have reached a natural conclusion
- You MUST explicitly ask the user if they feel the requirements clarification is complete before moving to the next step
- You MUST offer the option to conduct research if questions arise that would benefit from additional information
- You MUST be prepared to return to requirements clarification after research if new questions emerge
- You MUST NOT proceed with any other steps until explicitly directed by the user because this could skip important clarification steps
4. Research Relevant Information
Conduct research on relevant technologies, libraries, or existing code that could inform the design, while collaborating with the user for guidance.
Constraints:
- You MUST identify areas where research is needed based on the requirements
- You MUST propose an initial research plan to the user, listing topics to investigate
- You MUST ask the user for input on the research plan, including:
- Additional topics that should be researched
- Specific resources (files, websites, internal tools) the user recommends
- Areas where the user has existing knowledge to contribute
- You MUST incorporate user suggestions into the research plan
- You MUST document research findings in separate markdown files in the {project_dir}/research/ directory
- You SHOULD organize research by topic (e.g., {project_dir}/research/existing-code.md, {project_dir}/research/technologies.md)
- You MUST include mermaid diagrams when documenting system architectures, data flows, or component relationships in research
- You MUST include links to relevant references and sources when research is based on external materials (websites, documentation, articles, etc.)
- You MAY use tools like search_internal_code, read_internal_website, or fs_read to gather information
- You MUST ask the user whether other available search tools should also be used.
- You MUST periodically check with the user during the research process (these check-ins may involve brief dialogue to clarify feedback) to:
- Share preliminary findings
- Ask for feedback and additional guidance
- Confirm if the research direction remains valuable
- You MUST summarize key findings that will inform the design
- You SHOULD cite sources and include relevant links in research documents
- You MUST ask the user if the research is sufficient before proceeding to the next step
- You MUST offer to return to requirements clarification if research uncovers new questions or considerations
- You MUST NOT automatically return to requirements clarification after research without explicit user direction because this could disrupt the user's intended workflow
- You MUST wait for the user to decide the next step after completing research
- You MUST add a Connections section to each research document that includes:
- Link to idea-honing.md:
[[../idea-honing.md]]
- Links to other research documents in the same project
- Links to related vault concepts or patterns (search vault for relevant notes using research topic keywords)
5. Iteration Checkpoint
Determine if further requirements clarification or research is needed before proceeding to design.
Constraints:
- You MUST summarize the current state of requirements and research to help the user make an informed decision
- You MUST explicitly ask the user if they want to:
- Proceed to creating the detailed design
- Return to requirements clarification based on research findings
- Conduct additional research based on requirements
- You MUST support iterating between requirements clarification and research as many times as needed
- You MUST ensure that both the requirements and research are sufficiently complete before proceeding to design
- You MUST NOT proceed to the design step without explicit user confirmation because this could skip important refinement steps
6. Create Detailed Design
Develop a comprehensive design document based on the requirements and research.
Constraints:
- You MUST create a detailed design document at {project_dir}/design/detailed-design.md
- You MUST write the design as a standalone document that can be understood without reading other project files
- You MUST include the following sections in the design document:
- Overview
- Detailed Requirements (consolidated from idea-honing.md)
- Architecture Overview
- Components and Interfaces
- Data Models
- Error Handling
- Testing Strategy
- Appendices (Technology Choices, Research Findings, Alternative Approaches)
- You MUST consolidate all requirements from the idea-honing.md file into the Detailed Requirements section
- You MUST include an appendix section that summarizes key research findings, including:
- Major technology choices with pros and cons
- Existing solutions analysis
- Alternative approaches considered
- Key constraints and limitations identified during research
- You SHOULD include diagrams or visual representations when appropriate using mermaid syntax
- You MUST generate mermaid diagrams for architectural overviews, data flow, and component relationships
- You MUST ensure the design addresses all requirements identified during the clarification process
- You SHOULD highlight design decisions and their rationales, referencing research findings where applicable
- You MUST review the design with the user and iterate based on feedback
- You MUST explicitly ask the user if they are ready to proceed to implementation before moving to Step 7
- You MUST NOT proceed to the implementation plan step without explicit user confirmation because this could skip important design refinement
- You MUST offer to return to requirements clarification or research if gaps are identified during design
- You MUST add a Connections section at the end of the design document that includes:
- Links to related project files:
[[../rough-idea.md]], [[../idea-honing.md]]
- Links to research documents:
[[../research/{filename}.md]] for each research file
- Links to related vault concepts or patterns if applicable (search vault for relevant notes using keywords from the design)
7. Develop Implementation Plan
Create a structured implementation plan with a series of steps for implementing the design.
Constraints:
- You MUST create an implementation plan at {project_dir}/implementation/plan.md
- You MUST include a checklist at the beginning of the plan.md file to track implementation progress
- You MUST use the following specific instructions when creating the implementation plan:
Convert the design into a series of implementation steps that will build each component in a test-driven manner following agile best practices. Each step must result in a working, demoable increment of functionality. Prioritize best practices, incremental progress, and early testing, ensuring no big jumps in complexity at any stage. Make sure that each step builds on the previous steps, and ends with wiring things together. There should be no hanging or orphaned code that isn't integrated into a previous step.
- You MUST format the implementation plan as a numbered series of detailed steps
- Each step in the plan MUST be written as a clear implementation objective
- Each step MUST begin with "Step N:" where N is the sequential number
- You MUST ensure each step includes:
- A clear objective
- General implementation guidance
- Test requirements where appropriate
- How it integrates with previous work
- Demo - explicit description of the working functionality that can be demonstrated after completing this step
- You MUST ensure each step results in working, demoable functionality that provides value
- You MUST sequence steps so that core end-to-end functionality is available as early as possible
- You MUST NOT include excessive implementation details that are already covered in the design document because this creates redundancy and potential inconsistencies
- You MUST assume that all context documents (requirements, design, research) will be available during implementation
- You MUST break down the implementation into a series of discrete, manageable steps
- You MUST ensure each step builds incrementally on previous steps
- You SHOULD prioritize test-driven development where appropriate
- You MUST ensure the plan covers all aspects of the design
- You SHOULD sequence steps to validate core functionality early
- You MUST ensure the checklist items correspond directly to the steps in the implementation plan
- You MUST add a Connections section at the end of the plan.md that includes:
- Link to the detailed design:
[[../design/detailed-design.md]]
- Links to research documents:
[[../research/{filename}.md]]
- Link to idea-honing.md:
[[../idea-honing.md]]
8. Summarize and Present Results
Provide a summary of all artifacts created and next steps.
Constraints:
- You MUST create a summary document at {project_dir}/summary.md
- You MUST list all artifacts created during the process
- You MUST provide a brief overview of the design and implementation plan
- You MUST suggest next steps for the user
- You SHOULD highlight any areas that may need further refinement
- You MUST present this summary to the user in the conversation
- You MUST add a Connections section at the end of summary.md that includes:
- Links to all project files created:
[[rough-idea.md]], [[idea-honing.md]], [[design/detailed-design.md]], [[implementation/plan.md]]
- Links to research documents:
[[research/{filename}.md]] for each research file
- Links to related vault notes if discovered during the process (concepts, patterns, projects)
Examples
Example Input
Rough idea: I want to build a feature for our team's internal tool that allows users to create and manage templates for common documents we produce. Users should be able to create, edit, and share templates, as well as use them to generate new documents with custom fields.
Project name: template-feature
Example Output
# Research Phase Interaction
Based on your requirements, I've identified several areas that would benefit from research:
1. **Existing template solutions** - Understanding what's already available
2. **Storage and versioning approaches** - How to handle template versions and sharing
3. **Custom field validation patterns** - Best practices for dynamic field validation
I notice you have several additional MCP search tools available beyond the standard ones, including 'peccy web search' and other external search capabilities. Should I incorporate these additional search tools into the research process for broader coverage of template management solutions and industry best practices?
---
# Project Summary
I've completed the transformation of your rough idea into a detailed design with an implementation plan. Here's what was created:
## Directory Structure
- .agents/planning/template-feature/
- rough-idea.md (your initial concept)
- idea-honing.md (our Q&A requirements clarification)
- research/
- existing-templates.md
- storage-options.md
- external-solutions.md
- design/
- detailed-design.md
- implementation/
- plan.md (includes implementation checklist)
- summary.md (this document)
## Key Design Elements
- Template management system with CRUD operations
- Role-based access control for sharing
- Versioning system for templates
- Custom fields with validation
- Document generation engine
## Implementation Approach
The implementation plan breaks down the work into 12 incremental steps, starting with core data models and building up to the complete feature set.
## Next Steps
1. Review the detailed design document at docs/template-feature/design/detailed-design.md
2. Check the implementation plan and checklist at docs/template-feature/implementation/plan.md
3. Begin implementation following the checklist in the implementation plan
Would you like me to explain any specific part of the design or implementation plan in more detail?
Troubleshooting
Requirements Clarification Stalls
If the requirements clarification process seems to be going in circles or not making progress:
- You SHOULD suggest moving to a different aspect of the requirements
- You MAY provide examples or options to help the user make decisions
- You SHOULD summarize what has been established so far and identify specific gaps
- You MAY suggest conducting research to inform requirements decisions
Research Limitations
If you cannot access needed information:
- You SHOULD document what information is missing
- You SHOULD suggest alternative approaches based on available information
- You MAY ask the user to provide additional context or documentation
- You SHOULD continue with available information rather than blocking progress
Design Complexity
If the design becomes too complex or unwieldy:
- You SHOULD suggest breaking it down into smaller, more manageable components
- You SHOULD focus on core functionality first
- You MAY suggest a phased approach to implementation
- You SHOULD return to requirements clarification to prioritize features if needed
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: pdd3description: Transform a rough idea into a detailed design document and implementation plan. Use when this capability is needed.4---56# Prompt-Driven Development78## Overview910This sop guides you through the process of transforming a rough idea into a detailed design document with an implementation plan and todo list. It follows the Prompt-Driven Development methodology to systematically refine your idea, conduct necessary research, create a comprehensive design, and develop an actionable implementation plan. The process is designed to be iterative, allowing movement between requirements clarification and research as needed.1112## Parameters1314- **rough_idea** (required): The initial concept or idea you want to develop into a detailed design15- **project_name** (optional): A short, descriptive name for the project. If not provided, will be generated from the rough idea16- **project_dir** (optional, default: ".agents/planning/{project_name}"): The base directory where all project files will be stored1718**Constraints for parameter acquisition:**19- You MUST ask for all required parameters upfront in a single prompt rather than one at a time20- You MUST support multiple input methods including:21 - Direct input: Text provided directly in the conversation22 - File path: Path to a local file containing the rough idea23 - URL: Link to an internal resource (e.g., Quip doc, wiki page)24 - Other methods: You SHOULD be open to other ways the user might want to provide the idea25- You MUST use appropriate tools to access content based on the input method26- You MUST confirm successful acquisition of all parameters before proceeding27- If project_name is not provided, You MUST generate a short kebab-case name from the rough idea, prefixed with the current date in YYYY-MM-DD format (e.g., "2026-01-30-template-manager", "2026-01-30-auth-system")28- You SHOULD save the acquired rough idea to a consistent location for use in subsequent steps29- You MUST NOT overwrite the existing project directory because this could destroy previous work and cause data loss30- You MUST ask for project_dir if it is not given and the generated default directory already exists and has contents from previous iteration3132## Steps3334### 1. Create Project Structure3536Set up a directory structure to organize all artifacts created during the process.3738**Constraints:**39- You MUST create the specified project directory if it doesn't already exist40- You MUST create the following files:41 - {project_dir}/rough-idea.md (containing the provided rough idea)42 - {project_dir}/idea-honing.md (for requirements clarification)43- You MUST include a **Connections** section in rough-idea.md that links to:44 - idea-honing.md: `[[idea-honing.md]]` (will be populated during requirements clarification)45- You MUST create the following subdirectories:46 - {project_dir}/research/ (directory for research notes)47 - {project_dir}/design/ (directory for design documents)48 - {project_dir}/implementation/ (directory for implementation plans)49- You MUST notify the user when the structure has been created50- You MUST prompt the user to add all project files to Kiro's context using the command: `/context add {project_dir}/**/*.md`51- You MUST explain that this will ensure all project files remain in context throughout the process5253### 2. Initial Process Planning5455Determine the initial approach and sequence for requirements clarification and research.5657**Constraints:**58- You MUST ask the user if they prefer to:59 - Start with requirements clarification (default)60 - Start with preliminary research on specific topics61 - Provide additional context or information before proceeding62- You MUST adapt the subsequent process based on the user's preference63- You MUST explain that the process is iterative and the user can move between requirements clarification and research as needed64- You MUST wait for explicit user direction before proceeding to any subsequent step65- You MUST NOT automatically proceed to requirements clarification or research without user confirmation because this could lead the process in a direction the user doesn't want6667### 3. Requirements Clarification6869Guide the user through a series of questions to refine the initial idea and develop a thorough specification.7071**Constraints:**72- You MUST create an empty {project_dir}/idea-honing.md file if it doesn't already exist73- You MUST add a **Connections** section to idea-honing.md that includes:74 - Link to rough-idea.md: `[[rough-idea.md]]`75- You MUST ask ONLY ONE question at a time and wait for the user's response before asking the next question76- You MUST NOT list multiple questions for the user to answer at once because this overwhelms users and leads to incomplete responses77- You MUST NOT pre-populate answers to questions without user input because this assumes user preferences without confirmation78- You MUST NOT write multiple questions and answers to the idea-honing.md file at once because this skips the interactive clarification process79- You MUST follow this exact process for each question:80 1. Formulate a single question81 2. Append the question to {project_dir}/idea-honing.md82 3. Present the question to the user in the conversation83 4. Wait for the user's complete response, which may require brief back-and-forth dialogue across multiple turns.84 5. Once you have their complete response, append the user's answer (or final decision) to {project_dir}/idea-honing.md85 6. Only then proceed to formulating the next question86- You MAY suggest possible answers when asking a question, but MUST wait for the user's actual response87- You MUST format the idea-honing.md document with clear question and answer sections88- You MUST include the final chosen answer in the answer section89- You MAY include alternative options that were considered before the final decision90- You MUST ensure you have the user's complete response before recording it and moving to the next question91- You MUST continue asking questions until sufficient detail is gathered92- You SHOULD ask about edge cases, user experience, technical constraints, and success criteria93- You SHOULD adapt follow-up questions based on previous answers94- You MAY suggest options when the user is unsure about a particular aspect95- You MAY recognize when the requirements clarification process appears to have reached a natural conclusion96- You MUST explicitly ask the user if they feel the requirements clarification is complete before moving to the next step97- You MUST offer the option to conduct research if questions arise that would benefit from additional information98- You MUST be prepared to return to requirements clarification after research if new questions emerge99- You MUST NOT proceed with any other steps until explicitly directed by the user because this could skip important clarification steps100101### 4. Research Relevant Information102103Conduct research on relevant technologies, libraries, or existing code that could inform the design, while collaborating with the user for guidance.104105**Constraints:**106- You MUST identify areas where research is needed based on the requirements107- You MUST propose an initial research plan to the user, listing topics to investigate108- You MUST ask the user for input on the research plan, including:109 - Additional topics that should be researched110 - Specific resources (files, websites, internal tools) the user recommends111 - Areas where the user has existing knowledge to contribute112- You MUST incorporate user suggestions into the research plan113- You MUST document research findings in separate markdown files in the {project_dir}/research/ directory114- You SHOULD organize research by topic (e.g., {project_dir}/research/existing-code.md, {project_dir}/research/technologies.md)115- You MUST include mermaid diagrams when documenting system architectures, data flows, or component relationships in research116- You MUST include links to relevant references and sources when research is based on external materials (websites, documentation, articles, etc.)117- You MAY use tools like search_internal_code, read_internal_website, or fs_read to gather information118- You MUST ask the user whether other available search tools should also be used.119- You MUST periodically check with the user during the research process (these check-ins may involve brief dialogue to clarify feedback) to:120 - Share preliminary findings121 - Ask for feedback and additional guidance122 - Confirm if the research direction remains valuable123- You MUST summarize key findings that will inform the design124- You SHOULD cite sources and include relevant links in research documents125- You MUST ask the user if the research is sufficient before proceeding to the next step126- You MUST offer to return to requirements clarification if research uncovers new questions or considerations127- You MUST NOT automatically return to requirements clarification after research without explicit user direction because this could disrupt the user's intended workflow128- You MUST wait for the user to decide the next step after completing research129- You MUST add a **Connections** section to each research document that includes:130 - Link to idea-honing.md: `[[../idea-honing.md]]`131 - Links to other research documents in the same project132 - Links to related vault concepts or patterns (search vault for relevant notes using research topic keywords)133134### 5. Iteration Checkpoint135136Determine if further requirements clarification or research is needed before proceeding to design.137138**Constraints:**139- You MUST summarize the current state of requirements and research to help the user make an informed decision140- You MUST explicitly ask the user if they want to:141 - Proceed to creating the detailed design142 - Return to requirements clarification based on research findings143 - Conduct additional research based on requirements144- You MUST support iterating between requirements clarification and research as many times as needed145- You MUST ensure that both the requirements and research are sufficiently complete before proceeding to design146- You MUST NOT proceed to the design step without explicit user confirmation because this could skip important refinement steps147148### 6. Create Detailed Design149150Develop a comprehensive design document based on the requirements and research.151152**Constraints:**153- You MUST create a detailed design document at {project_dir}/design/detailed-design.md154- You MUST write the design as a standalone document that can be understood without reading other project files155- You MUST include the following sections in the design document:156 - Overview157 - Detailed Requirements (consolidated from idea-honing.md)158 - Architecture Overview159 - Components and Interfaces160 - Data Models161 - Error Handling162 - Testing Strategy163 - Appendices (Technology Choices, Research Findings, Alternative Approaches)164- You MUST consolidate all requirements from the idea-honing.md file into the Detailed Requirements section165- You MUST include an appendix section that summarizes key research findings, including:166 - Major technology choices with pros and cons167 - Existing solutions analysis168 - Alternative approaches considered169 - Key constraints and limitations identified during research170- You SHOULD include diagrams or visual representations when appropriate using mermaid syntax171- You MUST generate mermaid diagrams for architectural overviews, data flow, and component relationships172- You MUST ensure the design addresses all requirements identified during the clarification process173- You SHOULD highlight design decisions and their rationales, referencing research findings where applicable174- You MUST review the design with the user and iterate based on feedback175- You MUST explicitly ask the user if they are ready to proceed to implementation before moving to Step 7176- You MUST NOT proceed to the implementation plan step without explicit user confirmation because this could skip important design refinement177- You MUST offer to return to requirements clarification or research if gaps are identified during design178- You MUST add a **Connections** section at the end of the design document that includes:179 - Links to related project files: `[[../rough-idea.md]]`, `[[../idea-honing.md]]`180 - Links to research documents: `[[../research/{filename}.md]]` for each research file181 - Links to related vault concepts or patterns if applicable (search vault for relevant notes using keywords from the design)182183### 7. Develop Implementation Plan184185Create a structured implementation plan with a series of steps for implementing the design.186187**Constraints:**188- You MUST create an implementation plan at {project_dir}/implementation/plan.md189- You MUST include a checklist at the beginning of the plan.md file to track implementation progress190- You MUST use the following specific instructions when creating the implementation plan:191 ```192 Convert the design into a series of implementation steps that will build each component in a test-driven manner following agile best practices. Each step must result in a working, demoable increment of functionality. Prioritize best practices, incremental progress, and early testing, ensuring no big jumps in complexity at any stage. Make sure that each step builds on the previous steps, and ends with wiring things together. There should be no hanging or orphaned code that isn't integrated into a previous step.193 ```194- You MUST format the implementation plan as a numbered series of detailed steps195- Each step in the plan MUST be written as a clear implementation objective196- Each step MUST begin with "Step N:" where N is the sequential number197- You MUST ensure each step includes:198 - A clear objective199 - General implementation guidance200 - Test requirements where appropriate201 - How it integrates with previous work202 - **Demo** - explicit description of the working functionality that can be demonstrated after completing this step203- You MUST ensure each step results in working, demoable functionality that provides value204- You MUST sequence steps so that core end-to-end functionality is available as early as possible205- You MUST NOT include excessive implementation details that are already covered in the design document because this creates redundancy and potential inconsistencies206- You MUST assume that all context documents (requirements, design, research) will be available during implementation207- You MUST break down the implementation into a series of discrete, manageable steps208- You MUST ensure each step builds incrementally on previous steps209- You SHOULD prioritize test-driven development where appropriate210- You MUST ensure the plan covers all aspects of the design211- You SHOULD sequence steps to validate core functionality early212- You MUST ensure the checklist items correspond directly to the steps in the implementation plan213- You MUST add a **Connections** section at the end of the plan.md that includes:214 - Link to the detailed design: `[[../design/detailed-design.md]]`215 - Links to research documents: `[[../research/{filename}.md]]`216 - Link to idea-honing.md: `[[../idea-honing.md]]`217218### 8. Summarize and Present Results219220Provide a summary of all artifacts created and next steps.221222**Constraints:**223- You MUST create a summary document at {project_dir}/summary.md224- You MUST list all artifacts created during the process225- You MUST provide a brief overview of the design and implementation plan226- You MUST suggest next steps for the user227- You SHOULD highlight any areas that may need further refinement228- You MUST present this summary to the user in the conversation229- You MUST add a **Connections** section at the end of summary.md that includes:230 - Links to all project files created: `[[rough-idea.md]]`, `[[idea-honing.md]]`, `[[design/detailed-design.md]]`, `[[implementation/plan.md]]`231 - Links to research documents: `[[research/{filename}.md]]` for each research file232 - Links to related vault notes if discovered during the process (concepts, patterns, projects)233234## Examples235236### Example Input237238```239Rough idea: I want to build a feature for our team's internal tool that allows users to create and manage templates for common documents we produce. Users should be able to create, edit, and share templates, as well as use them to generate new documents with custom fields.240241Project name: template-feature242```243244### Example Output245246```247# Research Phase Interaction248249Based on your requirements, I've identified several areas that would benefit from research:2502511. **Existing template solutions** - Understanding what's already available2522. **Storage and versioning approaches** - How to handle template versions and sharing2533. **Custom field validation patterns** - Best practices for dynamic field validation254255I notice you have several additional MCP search tools available beyond the standard ones, including 'peccy web search' and other external search capabilities. Should I incorporate these additional search tools into the research process for broader coverage of template management solutions and industry best practices?256257---258259# Project Summary260261I've completed the transformation of your rough idea into a detailed design with an implementation plan. Here's what was created:262263## Directory Structure264- .agents/planning/template-feature/265 - rough-idea.md (your initial concept)266 - idea-honing.md (our Q&A requirements clarification)267 - research/268 - existing-templates.md269 - storage-options.md270 - external-solutions.md271 - design/272 - detailed-design.md273 - implementation/274 - plan.md (includes implementation checklist)275 - summary.md (this document)276277## Key Design Elements278- Template management system with CRUD operations279- Role-based access control for sharing280- Versioning system for templates281- Custom fields with validation282- Document generation engine283284## Implementation Approach285The implementation plan breaks down the work into 12 incremental steps, starting with core data models and building up to the complete feature set.286287## Next Steps2881. Review the detailed design document at docs/template-feature/design/detailed-design.md2892. Check the implementation plan and checklist at docs/template-feature/implementation/plan.md2903. Begin implementation following the checklist in the implementation plan291292Would you like me to explain any specific part of the design or implementation plan in more detail?293```294295## Troubleshooting296297### Requirements Clarification Stalls298If the requirements clarification process seems to be going in circles or not making progress:299- You SHOULD suggest moving to a different aspect of the requirements300- You MAY provide examples or options to help the user make decisions301- You SHOULD summarize what has been established so far and identify specific gaps302- You MAY suggest conducting research to inform requirements decisions303304### Research Limitations305If you cannot access needed information:306- You SHOULD document what information is missing307- You SHOULD suggest alternative approaches based on available information308- You MAY ask the user to provide additional context or documentation309- You SHOULD continue with available information rather than blocking progress310311### Design Complexity312If the design becomes too complex or unwieldy:313- You SHOULD suggest breaking it down into smaller, more manageable components314- You SHOULD focus on core functionality first315- You MAY suggest a phased approach to implementation316- You SHOULD return to requirements clarification to prioritize features if needed317318---319> Converted and distributed by [TomeVault](https://tomevault.io/claim/mikeyobrien) — claim your Tome and manage your conversions.320<!-- tomevault:4.0:skill_md:2026-04-11 -->