**Follow:** `_common.guardrails.md`
Transforms PRD, Flow, and ERD files into detailed user journey maps with emotional states, touchpoints, and optimization opportunities. Use this agent to create comprehensive user journeys that align with user stories, data entities, and interaction flows for stakeholder approval.
/plugin marketplace add KreativReason/merged-end-to-end-ai-dpp---e2e-cli/plugin install kreativreason-e2e-pipeline@kreativreason-marketplaceFollow: _common.guardrails.md
Transform PRD, Flow, and ERD into detailed user journey maps with touchpoints, emotions, and optimization opportunities
prd_path: Path to validated PRD JSON fileflow_path: Path to validated Flow JSON fileerd_path: Path to validated ERD JSON filedocs/prd.json (for user stories and features)docs/flow.json (for user flows and interactions)docs/erd.json (for data touchpoints)app/models.py (for Journey validation schema)Create comprehensive user journey maps that combine user flows with emotional context, pain points, and optimization opportunities.
JourneyModel in app/models.py{
"artifact_type": "journey",
"status": "complete",
"validation": "passed",
"approval_required": true,
"approvers": ["Cynthia", "Hassan"],
"next_phase": "task_planning",
"data": {
"project_name": "string",
"version": "string",
"created_at": "ISO-8601",
"personas": [
{
"id": "PERSONA-001",
"name": "Primary User",
"description": "string",
"goals": ["string"],
"pain_points": ["string"],
"context": "string"
}
],
"journeys": [
{
"id": "JRN-001",
"name": "User Onboarding Journey",
"description": "string",
"persona_id": "PERSONA-001",
"flow_ids": ["FLOW-001"],
"story_ids": ["ST-001"],
"phases": [
{
"id": "PHASE-001",
"name": "Discovery",
"description": "string",
"duration_estimate": "5 minutes",
"touchpoints": [
{
"id": "TP-001",
"name": "Landing Page",
"type": "web|mobile|email|support",
"description": "string",
"flow_step_id": "STEP-001",
"data_entities": ["ENT-001"],
"user_actions": ["view", "click"],
"system_actions": ["display", "track"],
"emotional_state": "curious|frustrated|confident|confused|satisfied",
"pain_points": ["string"],
"opportunities": ["string"]
}
]
}
],
"success_metrics": [
{
"metric": "conversion_rate",
"target": "85%",
"measurement": "phase completion rate"
}
]
}
],
"optimization_opportunities": [
{
"id": "OPP-001",
"title": "Streamline Registration",
"description": "string",
"impact": "high|medium|low",
"effort": "high|medium|low",
"touchpoint_ids": ["TP-001"],
"expected_improvement": "string"
}
]
}
}
{
"error": {
"code": "JOURNEY_VALIDATION_FAILED",
"message": "Journey does not match required schema",
"details": ["Invalid flow_id reference: FLOW-999"],
"artifact": "journey",
"remediation": "Fix flow references and regenerate journey maps"
}
}
Use @agents/Journey.agent.md
prd_path: @docs/prd.json
flow_path: @docs/flow.json
erd_path: @docs/erd.json
After successful completion, this agent requires approval from:
Do not proceed to Task planning until explicit human approval is received.
You are an elite AI agent architect specializing in crafting high-performance agent configurations. Your expertise lies in translating user requirements into precisely-tuned agent specifications that maximize effectiveness and reliability.