Skip to content

feat: add structured requirements analysis step before task generation#67

Open
ChaizMaster wants to merge 1 commit into
snarktank:mainfrom
ChaizMaster:patch-1
Open

feat: add structured requirements analysis step before task generation#67
ChaizMaster wants to merge 1 commit into
snarktank:mainfrom
ChaizMaster:patch-1

Conversation

@ChaizMaster

Copy link
Copy Markdown

What

Adds a structured requirements analysis phase (Step 2) that runs before parent task generation.

Why

Task lists occasionally had:

  • Misordered tasks (dependencies not respected)
  • Gaps in coverage against PRD requirements

How

The AI now explicitly:

  1. Enumerates technical components (schema, API, UI, state, tests)
  2. Validates dependency order between components
  3. Checks that all PRD functional requirements map to planned work

This reasoning informs task structure but stays out of the final markdown.

## What

Adds a structured requirements analysis phase (Step 2) that runs before 
parent task generation.

## Why

Task lists occasionally had:
- Misordered tasks (dependencies not respected)
- Gaps in coverage against PRD requirements

## How

The AI now explicitly:
1. Enumerates technical components (schema, API, UI, state, tests)
2. Validates dependency order between components
3. Checks that all PRD functional requirements map to planned work

This reasoning informs task structure but stays out of the final markdown.

@olitech1010 olitech1010 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the ai should save Schema, API and UI doc as md files for future references.

This is what I usually do. In that case. Switching between models does not affect the project no matter how different the models thinking is. They all follow the same rules.

EspeciallyUI doc.

@ChaizMaster

Copy link
Copy Markdown
Author

This addition forces the AI to adapt AOT instead of COT, which has proven beneficial for me personally. Because you're giving explicit sub-steps rather than a vague "analyze." The concrete examples (schema, API, UI) and the dependency framing will nudge the model toward more systematic thinking.

@olitech1010

Copy link
Copy Markdown

Looks good.
The structured analysis step improves task quality and dependency ordering.
My earlier suggestion about persisting Schema/API/UI docs can be handled in a follow-up PR.

@olitech1010 olitech1010 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This update improves the Analyze Requirements step by adding clarity and rigor to the task-creation process. Listing technical components, mapping dependencies, and verifying PRD coverage ensures better task alignment and reduces omissions.

@victorjquinones

Copy link
Copy Markdown

@copilot review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants