Context: Create or update persona files with demographics, context, JTBD, pains/gains, and behavioral patterns. Integrates existing codebase analysis when available.
Orchestrator Definition
Execution Protocol:
- Required specialist execution: Invoking this recipe is the user's explicit instruction and authorization to execute every named specialist whose condition applies. Execute each applicable Agent call with its declared
subagent_type when its prerequisites are met and continue from its returned result; equivalent orchestrator work does not complete that step
- Exact specialist handoff: The complete Agent prompt consists of all and only the applicable canonical
field: value entries declared by the specialist's Input Contract. Copy each value unchanged from its authoritative source; serialize path fields as path strings so the specialist reads referenced artifacts directly
- Follow the persona flow defined below
- Approval gate: At
[STOP — BLOCKING], present the persona decision and resume after explicit user confirmation
Workflow
Assess create/update context → gather available evidence → draft and confirm the persona → write the persona and affected references.
Execution Decision Flow
1. Context Assessment
Input: $ARGUMENTS
| Situation |
Action |
| No personas exist |
Create from scratch — gather user research or assumptions |
| Personas exist, new data available |
Update existing personas with new evidence |
| Existing codebase |
Invoke codebase-analyzer for repository-observable roles, workflows, and behavior-related structures; user demand or usage claims require direct behavioral evidence |
| Post-interview / post-survey |
Update with new primary research |
2. Research Gathering
From Existing Code (if applicable)
Invoke codebase-analyzer using Agent tool (subagent_type: "discover:codebase-analyzer") with analysis_mode: user_behavior and governing_context: $ARGUMENTS to identify:
- User roles and permissions in the system
- User-facing features and workflows
- Data models related to users
- Analytics/tracking events (if present)
From User Research
Gather available data:
- Interview transcripts or summaries
- Survey results
- Support ticket patterns
- Usage analytics
- Market research (per business-context skill)
From VPC Analysis
Map Customer Profile from Value Proposition Canvas:
- Customer jobs (functional, social, emotional)
- Pains (frustrations, obstacles, risks)
- Gains (required, expected, desired, unexpected)
3. Persona Drafting
Use design-perspective skill references/persona-template.md to create the smallest persona that distinguishes the current decisions. Populate applicable sections from evidence and mark decision-relevant unknowns:
- Demographics: Role, experience, technical proficiency, industry
- Context: Environment, frequency, time pressure, adjacent tools
- JTBD: Primary job, secondary jobs, social/emotional jobs
- Pains and Gains: Mapped from research with severity/priority
- Behavioral Patterns: Decision-making, adoption tendency, information sources
- Validation Status: Based on research quality — mark assumptions explicitly
[STOP — BLOCKING] Present persona draft to user for confirmation:
- Complete persona draft
- Evidence sources and confidence level
- Assumptions that need validation
- Connections to existing Opportunities (if any)
Write the persona file after explicit user confirmation.
4. File Output
After user approval:
- Write persona to
docs/product/personas/persona-[name].md
- Update any Opportunity files that reference this persona
- Update journey maps if persona context changed
Scope Boundaries
Included: Persona creation, persona update, integration with VPC and code analysis
Not included: Journey mapping, user story writing
Completion Criteria
1---2name: recipe-persona-23description: Create or update personas with demographic, contextual, JTBD, and behavioral data4---56**Context**: Create or update persona files with demographics, context, JTBD, pains/gains, and behavioral patterns. Integrates existing codebase analysis when available.78## Orchestrator Definition910**Execution Protocol**:111. **Required specialist execution**: Invoking this recipe is the user's explicit instruction and authorization to execute every named specialist whose condition applies. Execute each applicable Agent call with its declared `subagent_type` when its prerequisites are met and continue from its returned result; equivalent orchestrator work does not complete that step122. **Exact specialist handoff**: The complete Agent prompt consists of all and only the applicable canonical `field: value` entries declared by the specialist's Input Contract. Copy each value unchanged from its authoritative source; serialize path fields as path strings so the specialist reads referenced artifacts directly133. **Follow the persona flow** defined below144. **Approval gate**: At `[STOP — BLOCKING]`, present the persona decision and resume after explicit user confirmation1516## Workflow1718Assess create/update context → gather available evidence → draft and confirm the persona → write the persona and affected references.1920## Execution Decision Flow2122### 1. Context Assessment2324Input: $ARGUMENTS2526| Situation | Action |27|-----------|--------|28| No personas exist | Create from scratch — gather user research or assumptions |29| Personas exist, new data available | Update existing personas with new evidence |30| Existing codebase | Invoke codebase-analyzer for repository-observable roles, workflows, and behavior-related structures; user demand or usage claims require direct behavioral evidence |31| Post-interview / post-survey | Update with new primary research |3233### 2. Research Gathering3435#### From Existing Code (if applicable)36**Invoke codebase-analyzer** using Agent tool (subagent_type: "discover:codebase-analyzer") with `analysis_mode: user_behavior` and `governing_context: $ARGUMENTS` to identify:37- User roles and permissions in the system38- User-facing features and workflows39- Data models related to users40- Analytics/tracking events (if present)4142#### From User Research43Gather available data:44- Interview transcripts or summaries45- Survey results46- Support ticket patterns47- Usage analytics48- Market research (per business-context skill)4950#### From VPC Analysis51Map Customer Profile from Value Proposition Canvas:52- Customer jobs (functional, social, emotional)53- Pains (frustrations, obstacles, risks)54- Gains (required, expected, desired, unexpected)5556### 3. Persona Drafting5758Use design-perspective skill `references/persona-template.md` to create the smallest persona that distinguishes the current decisions. Populate applicable sections from evidence and mark decision-relevant unknowns:59601. **Demographics**: Role, experience, technical proficiency, industry612. **Context**: Environment, frequency, time pressure, adjacent tools623. **JTBD**: Primary job, secondary jobs, social/emotional jobs634. **Pains and Gains**: Mapped from research with severity/priority645. **Behavioral Patterns**: Decision-making, adoption tendency, information sources656. **Validation Status**: Based on research quality — mark assumptions explicitly6667**[STOP — BLOCKING]** Present persona draft to user for confirmation:68- Complete persona draft69- Evidence sources and confidence level70- Assumptions that need validation71- Connections to existing Opportunities (if any)7273Write the persona file after explicit user confirmation.7475### 4. File Output7677After user approval:78- Write persona to `docs/product/personas/persona-[name].md`79- Update any Opportunity files that reference this persona80- Update journey maps if persona context changed8182## Scope Boundaries8384**Included**: Persona creation, persona update, integration with VPC and code analysis85**Not included**: Journey mapping, user story writing8687## Completion Criteria8889- [ ] The persona separates observed evidence, inference, and assumptions90- [ ] Its distinctions can change a named product or discovery decision91- [ ] The user-confirmed file and affected references are updated