generated from Paul.Kim/tpl-superclaude
2.1 KiB
2.1 KiB
allowed-tools, description
| allowed-tools | description | |||
|---|---|---|---|---|
|
Generates the final MRD document by consolidating all research and analysis from a session. |
Generate MRD Document
Context
- User Request: $ARGUMENTS
- Session Name/Index: Passed via
--nameargument. - All Session Files: All
0*_*.md(user research) and_summary_*.md(AI analysis) files within the target session directory.
Goal
To synthesize all research findings and AI-generated analyses from a completed MRD session into a single, coherent, and well-structured Market Requirements Document (MRD).
Process
-
Identify Target Session:
- Use the
--nameargument to locate the correct session directory.
- Use the
-
Aggregate All Session Data:
- Read the content of all user research files (
0*_*.md) within the directory. - Read the content of all AI-generated summary files (
_summary_*.md).
- Read the content of all user research files (
-
Synthesize and Structure Content:
- Comprehensively analyze the aggregated information.
- Logically map the findings to the standard sections of an MRD template (e.g., Market Problem, Target Audience, Competitive Landscape, Requirements).
- Rewrite and rephrase the content to ensure a consistent tone and narrative flow throughout the document.
-
Generate Final MRD File:
- Create the final document named
mrd_[session_name].md. - Populate it with the structured, synthesized content.
- Create the final document named
-
Finalize Session State:
- Update the
_session-state.jsonfile by setting thestatustofinalized. This marks the session as complete.
- Update the
-
Notify User and Suggest Next Step:
- Inform the user that the MRD document has been successfully generated and provide the file path.
- Proactively suggest the next logical step in the SDLC, which is to define a product roadmap.
- Example: "Your MRD is complete. Would you like to proceed with defining the product roadmap using
/planning/roadmap/1-define-roadmap?"
Example Usage
- Generate MRD for a session:
/planning/mrd/3-generate-mrd-document --name="mvp-launch" - Generate by index:
/planning/mrd/3-generate-mrd-document --name="1"