refine
Idea Refinement to PBI
Transform captured ideas into actionable Product Backlog Items using Business Analysis best practices, Hypothesis-Driven Development, and domain research.
When to Use
- Idea artifact ready for refinement
- Need to validate problem hypothesis before building
- Converting concept to implementable item
- Adding acceptance criteria to requirements
- Researching domain/market context for new features
Quick Reference
Workflow Overview
| Phase | Name | Key Activity | Output |
|---|---|---|---|
| 1 | Idea Intake | Load artifact, detect module | Context loaded |
| 2 | Domain Research | WebSearch market/competitors | Research summary |
| 3 | Problem Hypothesis | Validate problem exists | Confirmed hypothesis |
| 4 | Elicitation | Apply BABOK techniques | Requirements extracted |
| 5 | Acceptance Criteria | Write BDD scenarios | GIVEN/WHEN/THEN |
| 6 | Prioritization | Apply RICE/MoSCoW | Priority assigned |
| 7 | Validation | Interview user | Assumptions confirmed |
| 8 | PBI Generation | Create artifact | PBI file saved |
Output
- Path:
team-artifacts/pbis/{YYMMDD}-pbi-{slug}.md - ID Pattern:
PBI-{YYMMDD}-{NNN}
Phase 1: Idea Intake & Context Loading
Process
- Read idea artifact from path or find by ID in
team-artifacts/ideas/ - Extract: problem statement, value proposition, target users, scope
- Check
modulefield in frontmatter for BravoSUITE domain
Module Detection
If module present: Load business feature context (see BravoSUITE Integration)
If module absent:
- Run
Glob("docs/business-features/*/README.md")to discover modules - Analyze idea text for module keywords
- Prompt if ambiguous: "Which BravoSUITE module?" + list + "None"
Skip conditions: Infrastructure ideas, cross-cutting concerns
Phase 2: Domain Research
When to Trigger
- New market/domain unfamiliar to team
- Competitive landscape unclear
- Industry best practices needed
- User explicitly requests
--research
Skip When
- Internal tooling with no market equivalent
- Well-understood domain
- Time-constrained refinement
Process
- Extract key domain terms from idea
- Use WebSearch for context:
| Query Type | Template |
|---|---|
| Market trends | "{domain} market trends 2026" |
| Competitors | "{domain} software solutions comparison" |
| Best practices | "{feature-type} best practices UX" |
| Similar solutions | "how {competitor} handles {feature}" |
- Summarize findings (max 3 bullets)
Output Template
## Domain Research Summary
- **Market context:** {1-sentence finding}
- **Competitor landscape:** {key players, gaps identified}
- **Best practices:** {relevant pattern to adopt}
- **Sources:** {links}
Phase 3: Problem Hypothesis Validation
Why This Matters
42% of startups fail due to no market need (CB Insights). Validate before building.
Problem Hypothesis Template
**We believe** [target users/persona]
**Experience** [specific problem]
**Because** [root cause]
**We'll know this is true when** [validation metric/evidence]
Value Hypothesis Template
**We believe** [feature/solution]
**Will deliver** [value/benefit]
**To** [target users]
**We'll know we're right when** [success metric]
Validation Process
- Draft hypothesis from idea content
- Use AskUserQuestion to validate:
- "Is this the core problem we're solving?"
- "Who exactly experiences this? How often?"
- "What evidence do we have this problem exists?"
- If validated, proceed to Phase 4
- If invalidated, return idea for clarification
Skip When
--skip-hypothesisflag provided- Idea already contains validated hypothesis
- Bug fix or technical debt (no new problem)
Phase 4: Requirements Elicitation (BABOK Core 5)
Select technique based on context:
1. Interviews
When: Deep individual insights needed, stakeholder perspectives vary
Process:
- Prepare open-ended questions (why, how, what-if)
- Active listening - don't lead the witness
- Follow-up on unexpected answers
- Document verbatim quotes for evidence
Output: Stakeholder needs, pain points, constraints
2. Workshops
When: Group consensus needed, complex requirements, multiple stakeholders
Process:
- Define clear agenda and timebox (90 min max)
- Use facilitator (neutral party)
- Capture all voices (round-robin, silent voting)
- Document decisions and dissent
Output: Prioritized requirements, consensus decisions
3. Document Analysis
When: Existing systems/processes to understand, regulatory requirements
Process:
- Gather artifacts: specs, manuals, reports, existing code
- Extract implicit requirements
- Note gaps and inconsistencies
- Cross-reference with stakeholder input
Output: As-is state, compliance requirements, gaps
4. Observation (Job Shadowing)
When: Understand real workflow, users can't articulate needs
Process:
- Shadow users in their environment
- Note workarounds and pain points
- Don't interrupt or suggest - just observe
- Ask clarifying questions afterward
Output: Actual vs stated workflow, hidden requirements
5. Prototyping
When: Visual validation needed, UI/UX requirements unclear
Process:
- Start low-fidelity (sketches, wireframes)
- Iterate based on feedback
- Increase fidelity as requirements stabilize
- Document design decisions
Output: Validated UI requirements, interaction patterns
Phase 5: Acceptance Criteria (BDD Format)
Standard Format
Scenario: {Descriptive title}
Given {precondition/context}
And {additional context}
When {action/trigger}
And {additional action}
Then {expected outcome}
And {additional verification}
Best Practices
| Practice | Description |
|---|---|
| Single trigger | "When" clause has ONE action |
| 3 scenarios minimum | Happy path, edge case, error case |
| No implementation details | Focus on behavior, not how |
| Testable outcomes | "Then" must be verifiable |
| Stakeholder language | No technical jargon |
Example Scenarios
Scenario: Employee creates goal with valid data
Given employee has permission to create goals
And employee is on the goal creation page
When employee submits goal form with all required fields
Then goal is created with status "Draft"
And goal appears in employee's goal list
Scenario: Goal creation fails with missing required field
Given employee is on the goal creation page
When employee submits form without title
Then validation error "Title is required" is displayed
And goal is not created
Scenario: Manager reviews subordinate goal
Given manager has direct reports
And subordinate has submitted goal for review
When manager opens goal review page
Then subordinate's goal is visible with "Pending Review" status
BravoSUITE Test Case Format
For domain features, use:
- Format:
TC-{MOD}-{FEATURE}-XXX(e.g., TC-GRO-GOAL-001) - Evidence:
file:lineformat - See
business-analystskill for detailed patterns
Phase 6: Prioritization & Estimation
Quick RICE Score
Score = (Reach × Impact × Confidence) / Effort
Reach: Users affected per quarter (100, 500, 1000+)
Impact: 0.25 (minimal) | 0.5 (low) | 1 (medium) | 2 (high) | 3 (massive)
Confidence: 0.5 (low) | 0.8 (medium) | 1.0 (high)
Effort: Person-days (1, 3, 5, 10, 20)
MoSCoW Categories
| Category | Meaning | Action |
|---|---|---|
| Must Have | Critical, non-negotiable | Include in MVP |
| Should Have | Important but not vital | Plan for release |
| Could Have | Nice to have, low effort | If time permits |
| Won't Have | Out of scope this cycle | Document for future |
Effort Estimation
| T-Shirt | Days | When to Use |
|---|---|---|
| XS | 0.5-1 | Config change, simple fix |
| S | 1-2 | Single component, clear scope |
| M | 3-5 | Multiple components, some unknowns |
| L | 5-10 | Cross-cutting, integration needed |
| XL | 10+ | Epic - break down further |
Phase 7: Validation Interview (MANDATORY)
After drafting PBI, validate with user.
Question Categories
| Category | Example Question |
|---|---|
| Assumptions | "We assume X is true. Correct?" |
| Scope | "Should Y be included or explicitly excluded?" |
| Dependencies | "This requires Z. Is that available?" |
| Edge Cases | "What happens when data is empty/null?" |
| Business Impact | "Will this affect existing reports/workflows?" |
| Entities | "Create new entity or extend existing X?" |
Process
- Generate 3-5 questions from assumptions, scope, dependencies
- Use
AskUserQuestiontool to interview - Document in PBI under
## Validation Summary - Update PBI based on answers
Validation Output Format
## Validation Summary
**Validated:** {date}
### Confirmed Decisions
- {decision}: {user choice}
### Assumptions Confirmed
- {assumption}: Confirmed/Modified
### Open Items
- [ ] {follow-up items}
This step is NOT optional - always validate before marking complete.
Phase 8: PBI Artifact Generation
Save Location
team-artifacts/pbis/{YYMMDD}-pbi-{slug}.md
Required Sections
- Frontmatter (ID, source_idea, priority, effort, status, module)
- Description
- Business Value
- Problem Hypothesis (from Phase 3)
- Related Business Rules (if domain)
- Acceptance Criteria (from Phase 5)
- Out of Scope
- Dependencies
- Validation Summary (from Phase 7)
Template Reference
See: team-artifacts/templates/pbi-template.md
Definition of Ready Checklist
Before marking PBI as "Ready":
| Criterion | Check |
|---|---|
| Independent | No blocking dependencies on other PBIs |
| Negotiable | Details can still be refined with team |
| Valuable | Clear user/business value articulated |
| Estimable | Team can estimate effort (XS-XL) |
| Small | Can complete in single sprint |
| Testable | Has 3+ GIVEN/WHEN/THEN scenarios |
| Problem Validated | Hypothesis confirmed in Phase 3 |
| Domain Context | BR/entity context loaded (if BravoSUITE) |
| Stakeholder Aligned | Validation interview completed |
BravoSUITE Integration
For domain-related PBIs, load business feature context.
Module Detection
Reference: .claude/skills/shared/module-detection-keywords.md
Business Rules Extraction
- Read
docs/business-features/{module}/README.md - Identify related feature doc
- Extract BR-{MOD}-XXX rules from "Business Rules" section
- Note conflicts with new requirements
Entity Context
- Read
.ai.mdcompanion file - Extract entity names, properties, relationships
- Identify key expressions for queries
Token Budget
Target 8-12K tokens for feature context:
- Module README: ~2K tokens
- Feature doc sections: 3-5K per feature
Detailed patterns: See business-analyst skill
Anti-Patterns to Avoid
| Anti-Pattern | Better Approach |
|---|---|
| Refining vague ideas | Return to /idea for clarification |
| Skipping hypothesis validation | Always run Phase 3 for new features |
| Solution-first thinking | Start with problem, not solution |
| Generic acceptance criteria | Use GIVEN/WHEN/THEN with specifics |
| Ignoring domain context | Load BravoSUITE docs if applicable |
| Too large PBI (XL+) | Break into smaller items |
| Missing "Out of Scope" | Explicitly list exclusions |
| Assuming instead of asking | Run validation interview |
Templates Quick Reference
Problem Hypothesis
**We believe** {users} **experience** {problem} **because** {cause}.
**Validation:** {metric/evidence}
Value Hypothesis
**We believe** {solution} **will deliver** {value} **to** {users}.
**Success metric:** {how we measure}
Acceptance Criteria
Scenario: {Title}
Given {context}
When {action}
Then {outcome}
Related
- Role Skill:
business-analyst(detailed patterns) - Command:
/refine - Input:
/ideaoutput - Next Step:
/story,/test-spec,/design-spec - Prioritization:
/prioritize
Triggers
Activates on: refine, refinement, pbi, backlog item, acceptance criteria, hypothesis, validate idea
Task Management Protocol:
- Always plan and break work into many small todo tasks
- Always add a final review todo task to verify work quality and identify fixes/enhancements