claude-task-master icon indicating copy to clipboard operation
claude-task-master copied to clipboard

Implement a method to generate PRD

Open Crunchyman-ralph opened this issue 1 year ago • 28 comments

  • we need a way to make it easy to generate a PRD for the user.
  • Right now they have to come equipped with it
  • Use this as inspo:
    • https://github.com/JeredBlu/custom-instructions/blob/main/prd-creator-3-25.md

@eyaltoledano care to share more information in the comments here ?

#92

Crunchyman-ralph avatar Mar 27 '25 07:03 Crunchyman-ralph

Yes, Joe and I have been discussing this feature. It’s mission critical because users are left to their own devices having to come with their PRD.

We will build a structured workflow to turn raw ideas into polished PRDs through interactive commands, simulated research, and expert perspectives right within Task Master.

High-Level Workflow 1. ideate → Turn idea into a structured product concept (concept.txt) 2. round-table → Simulate expert discussion and generate improvements (discussion.txt) 3. refine-concept → Apply refinements from prompts or round table to the concept 4. generate-prd → Generate full PRD (prd.txt) 5. (Optional) Generate tasks, continue iteration as needed

Commands & Flags

  1. ideate

Purpose: Starting point — turn a raw idea into a structured product concept. • Interactive: Prompts user through idea exploration, target audience, core problem, features, and success metrics. • Output: concept.txt • Notes: This is the foundation. All other commands depend on this file.

  1. round-table

Purpose: Simulate a discussion between domain experts to generate insights and recommendations. • Flags: • --concept-file: Path to the concept.txt • --participants: List of expert names or descriptions (e.g. “Nikita Bier”, “experienced growth strategist”, “AI safety researcher”) • --refine-concept: Apply recommendations from discussion directly to concept.txt • Flow: 1. Prompts user to define each participant. 2. Confirms setup and runs simulation. 3. Outputs full discussion in discussion.txt. 4. Summarizes actionable recommendations directly in CLI. 5. If --refine-concept is passed, updates concept.txt with recommendations. • Notes: • Should feel like a structured roundtable with personas contributing distinct takes. • Each contribution should reflect domain-specific thinking.

  1. refine-concept

Purpose: Improve and deepen the concept via additional research and prompts. • Flags: • --concept-file: Path to concept.txt • --prompt: Custom prompt for refinement (e.g. "Consider using FastMCP for backend modularity.") • --discussion-file: Optionally include discussion.txt to automatically pull recommendations into refinement. • Flow: 1. Loads the concept. 2. Applies additional input (prompt or discussion-based suggestions). 3. Outputs updated concept.txt.

  1. generate-prd

Purpose: Turn the finalized concept into a detailed PRD. • Flags: • --concept-file: Path to concept.txt • --example-prd: Reference template structure • --research: Optional live research (e.g. Grok, Perplexity) • Output: prd.txt • Notes: • Should handle both structured concepts and slightly fuzzy ones. • Output should be well-structured and scoped (features, goals, edge cases, etc.)

Example CLI Flow (simplified)

> What's your idea? ...  
> Who is it for? ...
> What are key outcomes? ...
✓ Saved to concept.txt

$ task-master round-table --concept-file=concept.txt
> Add participants:
  1. Nikita Bier
  2. A seasoned consumer growth advisor
  3. A skeptical investor
✓ Saved to discussion.txt
✓ Summary:
  - Focus on retention loops early
  - Add frictionless onboarding path
  - Consider viral incentives

$ task-master refine-concept --concept-file=concept.txt --discussion-file=discussion.txt
✓ Updated concept.txt with applied recommendations

$ task-master generate-prd --concept-file=concept.txt --example-prd=template.txt
✓ Generated prd.txt ```

From there the current workflows take over from `parse-prd` onwards. 

eyaltoledano avatar Mar 27 '25 15:03 eyaltoledano

Zyra-V23 currently working on this

Crunchyman-ralph avatar Mar 27 '25 17:03 Crunchyman-ralph

I will make it simple and clear :) gonna comeback soon here in a while :)

Zyra-V21 avatar Mar 27 '25 18:03 Zyra-V21

Image

Using task-master to improve Task Master, :)

Zyra-V21 avatar Mar 27 '25 19:03 Zyra-V21

Image

Image

Image

test-concept.txt

we getting closer

Zyra-V21 avatar Mar 27 '25 19:03 Zyra-V21

Let's go :)

eyaltoledano avatar Mar 27 '25 19:03 eyaltoledano

Image

round-table feature is gonna be sick, @eyaltoledano 's prompting skills are just impressive

Zyra-V21 avatar Mar 27 '25 21:03 Zyra-V21

https://gyazo.com/beac1d1cd340277d823cbd53d0a6e6ac

roundtable has been succesfully added to prd generator...

take a look:

concept.txt (original)

concept.txt

redefinedconcept.txt (after aplying roundtable)

redefinedconcept.txt

Zyra-V21 avatar Mar 27 '25 22:03 Zyra-V21

Image

Image

Zyra-V21 avatar Mar 27 '25 22:03 Zyra-V21

Image

Image

Image

Image

working on 'refine-concept'

input:

concept.txt

output:

refined-concept-test_2025-03-27T23-17-28.txt

Zyra-V21 avatar Mar 27 '25 23:03 Zyra-V21

Image

Zyra-V21 avatar Mar 27 '25 23:03 Zyra-V21

Image

working now in the last step of the process, the generation of the gem, the prd.txt

breaked down the tasks with --expand, so powerfull toll from task master

Zyra-V21 avatar Mar 27 '25 23:03 Zyra-V21

i asked him to add a final label to make things simple and clear but as powerfull as the complex ones, to keep the vibe of the product itself "stay simple"

Zyra-V21 avatar Mar 27 '25 23:03 Zyra-V21

Image

user friendly ux

Image

option to customize the prd

Image

customizable aspects of the prd (Such as ICP ;))))) )

Zyra-V21 avatar Mar 28 '25 00:03 Zyra-V21

Image

Zyra-V21 avatar Mar 28 '25 00:03 Zyra-V21

Image

added a preview option so we dont need to run again the whole thing if we dont match the goal, making it more accesible

Zyra-V21 avatar Mar 28 '25 00:03 Zyra-V21

prd.txt

sample prd, toggled off use a template so it full simules an user who just came with an idea and got his concept.txt from previous steps

Zyra-V21 avatar Mar 28 '25 00:03 Zyra-V21

debugging atm @eyaltoledano @Crunchyman-ralph

Image

Image

Zyra-V21 avatar Mar 28 '25 01:03 Zyra-V21

Image

Image

Zyra-V21 avatar Mar 28 '25 01:03 Zyra-V21

Would you be able to explain in a consolidated the way you’ve implemented this? Is it the way I spec’d it exactly or did you do anything different?

eyaltoledano avatar Mar 28 '25 02:03 eyaltoledano

Would you be able to explain in a consolidated the way you’ve implemented this? Is it the way I spec’d it exactly or did you do anything different?

I based everything in https://github.com/eyaltoledano/claude-task-master/issues/37#issue-2951958323

and https://github.com/eyaltoledano/claude-task-master/issues/37#issuecomment-2758518660

as starting point, I could explain also the way i did it, and you could verify yourselves in the tasks.txt of the project itself (used task master to create it)

Zyra-V21 avatar Mar 28 '25 02:03 Zyra-V21

Would you be able to explain in a consolidated the way you’ve implemented this? Is it the way I spec’d it exactly or did you do anything different?

Image

Image

this has been my roadmap by now, almost done

Zyra-V21 avatar Mar 28 '25 02:03 Zyra-V21

PR ARRIVING NOW

Zyra-V21 avatar Mar 28 '25 06:03 Zyra-V21

@eyaltoledano this is dead, good one is #92

Zyra-V21 avatar Apr 05 '25 07:04 Zyra-V21

@Zyra-V23 are you sure? looks like the other one is closed.

eyaltoledano avatar Apr 05 '25 07:04 eyaltoledano

https://github.com/eyaltoledano/claude-task-master/pull/92 sorry this one @eyaltoledano

Zyra-V21 avatar Apr 05 '25 07:04 Zyra-V21

This is a great concept, and reading the PR, I notice this is so limiting in a CLI.

It would be awesome to have a place to generate this PRD online, on our website!

Crunchyman-ralph avatar Apr 05 '25 08:04 Crunchyman-ralph

This is a great concept, and reading the PR, I notice this is so limiting in a CLI.

It would be awesome to have a place to generate this PRD online, on our website!

´the 92 is like the same, just isolated everything overthere and recoded it :) thanks a lot! i would LOVE to share my code with you guys ofc.

Zyra-V21 avatar Apr 05 '25 08:04 Zyra-V21

It would be great to have a feature like this, but I see that the PR in question has stalled.

mreduar avatar Jul 08 '25 13:07 mreduar

@Zyra-V23 @Crunchyman-ralph any updates on this feature? This would be crucial for a good workflow with task-master

Optimal would be online conversation connected with GitHub/Linear. Task-Master collecting this PRDs via MCP, track it's progress would even be perfect to work for me and my team. Wouldn't mind paying $20 a month for this. Specially avoiding "Bring my own key"

CoderGamester avatar Jul 12 '25 10:07 CoderGamester