# vladislavderkach/product-discovery-flow architecture

> Architecture diagram of the GitHub repository vladislavderkach/product-discovery-flow, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vladislavderkach/product-discovery-flow
- Repository: https://github.com/vladislavderkach/product-discovery-flow

## Overview

Product Discovery Flow is a Claude Code skill that turns a free-form product brief into a validated, publishable discovery report. The user invokes an English or Russian orchestrator, which loads the company profile and coordinates intake, context recovery, parallel research, AJTBD validation, segmentation, QA, optional ROI analysis, report writing, slop/logic review, translation, and publication. The graph models the documented orchestration and stage handoffs; source-level call details were not provided.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Inputs &amp; Runtime"]
  node_claude_code["Claude Code"]
  node_profile["Discovery Profile"]
end

subgraph group_orchestration["Pipeline Orchestration"]
  node_skill_en["English Orchestrator<br/>[SKILL.md]"]
  node_skill_ru["Russian Orchestrator<br/>[SKILL.md]"]
  node_request["Request Agent"]
  node_context["Context Recovery"]
end

subgraph group_research["Research Collection"]
  node_source_map["Market Source Map"]
  node_product_knowledge["Product Knowledge"]
  node_internal_data["Internal Data"]
  node_feature_intelligence["Feature Intelligence"]
  node_community_signals["Community Signals"]
  node_trend_analyst["Trend Analyst<br/>[trend-analyst.md]"]
end

subgraph group_analysis["Analysis &amp; Gates"]
  node_canon_validator{{"AJTBD Validator"}}
  node_segmentation["AJTBD Segmentation"]
  node_discovery_qa["Discovery QA"]
  node_roi["Opportunity ROI"]
end

subgraph group_reporting["Reporting &amp; Delivery"]
  node_final_report["Final Report"]
  node_slop_qa{{"Slop Logic QA"}}
  node_translation["Report Translation"]
  node_published_report["Published Report"]
end

node_user(("Product Team"))
node_web_sources[("Public Sources")]
node_company_systems[("Company Systems")]
node_publication["Publication Destination"]

node_user -->|"invokes skill"| node_claude_code
node_claude_code -->|"runs English"| node_skill_en
node_claude_code -->|"runs Russian"| node_skill_ru
node_profile -->|"loads profile"| node_skill_en
node_profile -->|"loads profile"| node_skill_ru
node_skill_en -->|"dispatches intake"| node_request
node_skill_ru -->|"dispatches intake"| node_request
node_request -->|"passes request"| node_context
node_context -->|"returns blind spots"| node_skill_en
node_skill_en -->|"dispatches collection"| node_source_map
node_skill_en -->|"dispatches collection"| node_product_knowledge
node_skill_en -->|"dispatches collection"| node_internal_data
node_skill_ru -->|"dispatches collection"| node_source_map
node_skill_ru -->|"dispatches collection"| node_product_knowledge
node_skill_ru -->|"dispatches collection"| node_internal_data
node_web_sources -.->|"provides sources"| node_source_map
node_web_sources -.->|"provides signals"| node_community_signals
node_web_sources -.->|"provides trends"| node_trend_analyst
node_company_systems -.->|"provides baseline"| node_product_knowledge
node_company_systems -.->|"provides metrics"| node_internal_data
node_source_map -->|"returns findings"| node_skill_en
node_product_knowledge -->|"returns baseline"| node_skill_en
node_internal_data -->|"returns data"| node_skill_en
node_skill_en -->|"dispatches recon"| node_feature_intelligence
node_skill_en -->|"dispatches recon"| node_community_signals
node_skill_en -->|"dispatches recon"| node_trend_analyst
node_feature_intelligence -->|"returns analysis"| node_skill_en
node_community_signals -->|"returns signals"| node_skill_en
node_trend_analyst -->|"returns scenarios"| node_skill_en
node_skill_en -->|"submits jobs"| node_canon_validator
node_canon_validator -->|"returns PASS/BLOCK"| node_skill_en
node_skill_en -->|"dispatches segmentation"| node_segmentation
node_segmentation -->|"returns Job Graph"| node_skill_en
node_skill_en -->|"dispatches QA"| node_discovery_qa
node_discovery_qa -->|"returns flags"| node_skill_en
node_skill_en -->|"requests follow-up"| node_internal_data
node_skill_en -.->|"optionally dispatches"| node_roi
node_roi -.->|"returns economics"| node_skill_en
node_skill_en -->|"dispatches writing"| node_final_report
node_final_report -->|"returns report"| node_skill_en
node_skill_en -->|"submits report"| node_slop_qa
node_slop_qa -->|"returns severity"| node_skill_en
node_skill_en -->|"dispatches translation"| node_translation
node_translation -->|"produces translation"| node_published_report
node_final_report -->|"produces report"| node_published_report
node_published_report -->|"publishes report"| node_publication
node_canon_validator -->|"requests decision"| node_user
node_user -->|"decides gate"| node_canon_validator

click node_profile "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/profile/discovery-profile.template.md"
click node_skill_en "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/skill/SKILL.md"
click node_skill_ru "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/skill-ru/SKILL.md"
click node_request "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/discovery-request-agent.md"
click node_context "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/context-recovery-agent.md"
click node_source_map "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/market-source-map-agent.md"
click node_product_knowledge "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/product-knowledge-agent.md"
click node_internal_data "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/internal-data-agent.md"
click node_feature_intelligence "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/feature-intelligence-agent.md"
click node_community_signals "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/community-signal-intelligence-agent.md"
click node_trend_analyst "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/trend-analyst.md"
click node_canon_validator "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/ajtbd-canon-validator.md"
click node_segmentation "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/ajtbd-segmentation-agent.md"
click node_discovery_qa "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/discovery-qa-agent.md"
click node_roi "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/market-opportunity-roi-agent.md"
click node_final_report "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/discovery-final-report-agent.md"
click node_slop_qa "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/slop-logic-qa-agent.md"
click node_translation "https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/report-translation-agent.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_claude_code,node_profile toneBlue
class node_skill_en,node_skill_ru,node_request,node_context,node_web_sources,node_company_systems toneAmber
class node_source_map,node_product_knowledge,node_internal_data,node_feature_intelligence,node_community_signals,node_trend_analyst toneMint
class node_canon_validator,node_segmentation,node_discovery_qa,node_roi toneRose
class node_final_report,node_slop_qa,node_translation,node_published_report,node_user,node_publication toneIndigo
```

## Components

### Inputs & Runtime

- **Claude Code**
- [Discovery Profile](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/profile/discovery-profile.template.md): `files/profile/discovery-profile.template.md`

### Pipeline Orchestration

- [English Orchestrator](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/skill/SKILL.md): `files/skill/SKILL.md`
- [Russian Orchestrator](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/skill-ru/SKILL.md): `files/skill-ru/SKILL.md`
- [Request Agent](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/discovery-request-agent.md): `files/agents/discovery-request-agent.md`
- [Context Recovery](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/context-recovery-agent.md): `files/agents/context-recovery-agent.md`

### Research Collection

- [Market Source Map](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/market-source-map-agent.md): `files/agents/market-source-map-agent.md`
- [Product Knowledge](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/product-knowledge-agent.md): `files/agents/product-knowledge-agent.md`
- [Internal Data](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/internal-data-agent.md): `files/agents/internal-data-agent.md`
- [Feature Intelligence](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/feature-intelligence-agent.md): `files/agents/feature-intelligence-agent.md`
- [Community Signals](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/community-signal-intelligence-agent.md): `files/agents/community-signal-intelligence-agent.md`
- [Trend Analyst](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/trend-analyst.md): `files/agents/trend-analyst.md`

### Analysis & Gates

- [AJTBD Validator](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/ajtbd-canon-validator.md): `files/agents/ajtbd-canon-validator.md`
- [AJTBD Segmentation](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/ajtbd-segmentation-agent.md): `files/agents/ajtbd-segmentation-agent.md`
- [Discovery QA](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/discovery-qa-agent.md): `files/agents/discovery-qa-agent.md`
- [Opportunity ROI](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/market-opportunity-roi-agent.md): `files/agents/market-opportunity-roi-agent.md`

### Reporting & Delivery

- [Final Report](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/discovery-final-report-agent.md): `files/agents/discovery-final-report-agent.md`
- [Slop Logic QA](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/slop-logic-qa-agent.md): `files/agents/slop-logic-qa-agent.md`
- [Report Translation](https://github.com/vladislavderkach/product-discovery-flow/blob/main/files/agents/report-translation-agent.md): `files/agents/report-translation-agent.md`
- **Published Report**

### Other components

- **Product Team**
- **Public Sources**
- **Company Systems**
- **Publication Destination**

## Connections

- Product Team → Claude Code: invokes skill
- Claude Code → English Orchestrator: runs English
- Claude Code → Russian Orchestrator: runs Russian
- Discovery Profile → English Orchestrator: loads profile
- Discovery Profile → Russian Orchestrator: loads profile
- English Orchestrator → Request Agent: dispatches intake
- Russian Orchestrator → Request Agent: dispatches intake
- Request Agent → Context Recovery: passes request
- Context Recovery → English Orchestrator: returns blind spots
- English Orchestrator → Market Source Map: dispatches collection
- English Orchestrator → Product Knowledge: dispatches collection
- English Orchestrator → Internal Data: dispatches collection
- Russian Orchestrator → Market Source Map: dispatches collection
- Russian Orchestrator → Product Knowledge: dispatches collection
- Russian Orchestrator → Internal Data: dispatches collection
- Public Sources → Market Source Map: provides sources
- Public Sources → Community Signals: provides signals
- Public Sources → Trend Analyst: provides trends
- Company Systems → Product Knowledge: provides baseline
- Company Systems → Internal Data: provides metrics
- Market Source Map → English Orchestrator: returns findings
- Product Knowledge → English Orchestrator: returns baseline
- Internal Data → English Orchestrator: returns data
- English Orchestrator → Feature Intelligence: dispatches recon
- English Orchestrator → Community Signals: dispatches recon
- English Orchestrator → Trend Analyst: dispatches recon
- Feature Intelligence → English Orchestrator: returns analysis
- Community Signals → English Orchestrator: returns signals
- Trend Analyst → English Orchestrator: returns scenarios
- English Orchestrator → AJTBD Validator: submits jobs
- AJTBD Validator → English Orchestrator: returns PASS/BLOCK
- English Orchestrator → AJTBD Segmentation: dispatches segmentation
- AJTBD Segmentation → English Orchestrator: returns Job Graph
- English Orchestrator → Discovery QA: dispatches QA
- Discovery QA → English Orchestrator: returns flags
- English Orchestrator → Internal Data: requests follow-up
- English Orchestrator → Opportunity ROI: optionally dispatches
- Opportunity ROI → English Orchestrator: returns economics
- English Orchestrator → Final Report: dispatches writing
- Final Report → English Orchestrator: returns report
- English Orchestrator → Slop Logic QA: submits report
- Slop Logic QA → English Orchestrator: returns severity
- English Orchestrator → Report Translation: dispatches translation
- Report Translation → Published Report: produces translation
- Final Report → Published Report: produces report
- Published Report → Publication Destination: publishes report
- AJTBD Validator → Product Team: requests decision
- Product Team → AJTBD Validator: decides gate
