# harshith1432/prompt2product architecture

> Architecture diagram of the GitHub repository harshith1432/prompt2product, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/harshith1432/prompt2product
- Repository: https://github.com/harshith1432/prompt2product

## Overview

Prompt2Product is an Antigravity skill that turns a brief user goal into a researched, specified, implemented, verified, and security-hardened application through specialized agent roles. The README documents the major workflow and capabilities, but no source excerpts were provided; edges therefore reflect documented relationships only, not inspected implementation calls.

Main entry points: [`SKILL.md`](https://github.com/harshith1432/prompt2product/blob/main/SKILL.md) (Skill Orchestrator), [`workflows/security-audit-remediation-loop.md`](https://github.com/harshith1432/prompt2product/blob/main/workflows/security-audit-remediation-loop.md) (Security Hardening Loop), [`workflows/prompt-expander.md`](https://github.com/harshith1432/prompt2product/blob/main/workflows/prompt-expander.md) (Prompt Expander), [`workflows/prompt-loop-controller.md`](https://github.com/harshith1432/prompt2product/blob/main/workflows/prompt-loop-controller.md) (Prompt Loop Controller)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["Orchestration"]
  node_skill["Skill Orchestrator<br/>[SKILL.md]"]
end

subgraph group_research["Research &amp; Blueprint"]
  node_expander["Prompt Expander<br/>[prompt-expander.md]"]
  node_compliance["Compliance Checker"]
  node_blueprint["Master Blueprint"]
end

subgraph group_delivery["Specialist Agents"]
  node_ui["UI/UX Designer<br/>[subagent-ui.md]"]
  node_frontend["Frontend Engineer"]
  node_backend["Backend Engineer"]
  node_security["Security Officer"]
  node_qa["QA Pentester<br/>[subagent-qa.md]"]
end

subgraph group_assurance["Quality &amp; Security"]
  node_loop["Prompt Loop Controller"]
  node_hardening["Security Hardening Loop"]
  node_red["Red Team Auditor"]
  node_blue["Blue Team Remediator"]
end

node_user(("User"))
node_web["Live Web"]
node_checks["Build &amp; Test Tools"]

node_user -->|"provides goal"| node_skill
node_skill -->|"delegates research"| node_expander
node_expander -->|"searches live web"| node_web
node_skill -->|"checks standards"| node_compliance
node_skill -->|"synthesizes blueprint"| node_blueprint
node_skill -->|"delegates design"| node_ui
node_skill -->|"delegates frontend"| node_frontend
node_skill -->|"delegates backend"| node_backend
node_skill -->|"delegates security"| node_security
node_skill -->|"delegates QA"| node_qa
node_skill -->|"runs verification"| node_loop
node_loop -->|"runs checks"| node_checks
node_skill -->|"starts hardening"| node_hardening
node_hardening -->|"requests audit"| node_red
node_hardening -->|"requests remediation"| node_blue
node_blue -->|"returns for audit"| node_red

click node_skill "https://github.com/harshith1432/prompt2product/blob/main/SKILL.md"
click node_expander "https://github.com/harshith1432/prompt2product/blob/main/workflows/prompt-expander.md"
click node_compliance "https://github.com/harshith1432/prompt2product/blob/main/workflows/compliance-checker.md"
click node_blueprint "https://github.com/harshith1432/prompt2product/blob/main/templates/master-prompt.template.md"
click node_ui "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-ui.md"
click node_frontend "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-frontend.md"
click node_backend "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-backend.md"
click node_security "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-security.md"
click node_qa "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-qa.md"
click node_loop "https://github.com/harshith1432/prompt2product/blob/main/workflows/prompt-loop-controller.md"
click node_hardening "https://github.com/harshith1432/prompt2product/blob/main/workflows/security-audit-remediation-loop.md"
click node_red "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-red-team.md"
click node_blue "https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-blue-team.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_skill,node_user toneBlue
class node_expander,node_compliance,node_blueprint toneAmber
class node_ui,node_frontend,node_backend,node_security,node_qa toneMint
class node_loop,node_hardening,node_red,node_blue toneRose
class node_web,node_checks toneIndigo
```

## Components

### Orchestration

- [Skill Orchestrator](https://github.com/harshith1432/prompt2product/blob/main/SKILL.md): `SKILL.md`

### Research & Blueprint

- [Prompt Expander](https://github.com/harshith1432/prompt2product/blob/main/workflows/prompt-expander.md): `workflows/prompt-expander.md`
- [Compliance Checker](https://github.com/harshith1432/prompt2product/blob/main/workflows/compliance-checker.md): `workflows/compliance-checker.md`
- [Master Blueprint](https://github.com/harshith1432/prompt2product/blob/main/templates/master-prompt.template.md): `templates/master-prompt.template.md`

### Specialist Agents

- [UI/UX Designer](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-ui.md): `templates/subagent-ui.md`
- [Frontend Engineer](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-frontend.md): `templates/subagent-frontend.md`
- [Backend Engineer](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-backend.md): `templates/subagent-backend.md`
- [Security Officer](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-security.md): `templates/subagent-security.md`
- [QA Pentester](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-qa.md): `templates/subagent-qa.md`

### Quality & Security

- [Prompt Loop Controller](https://github.com/harshith1432/prompt2product/blob/main/workflows/prompt-loop-controller.md): `workflows/prompt-loop-controller.md`
- [Security Hardening Loop](https://github.com/harshith1432/prompt2product/blob/main/workflows/security-audit-remediation-loop.md): `workflows/security-audit-remediation-loop.md`
- [Red Team Auditor](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-red-team.md): `templates/subagent-red-team.md`
- [Blue Team Remediator](https://github.com/harshith1432/prompt2product/blob/main/templates/subagent-blue-team.md): `templates/subagent-blue-team.md`

### Other components

- **User**
- **Live Web**
- **Build & Test Tools**

## Connections

- User → Skill Orchestrator: provides goal (evidence: `README.md`)
- Skill Orchestrator → Prompt Expander: delegates research (evidence: `README.md`)
- Prompt Expander → Live Web: searches live web (evidence: `README.md`)
- Skill Orchestrator → Compliance Checker: checks standards (evidence: `README.md`)
- Skill Orchestrator → Master Blueprint: synthesizes blueprint (evidence: `README.md`)
- Skill Orchestrator → UI/UX Designer: delegates design (evidence: `README.md`)
- Skill Orchestrator → Frontend Engineer: delegates frontend (evidence: `README.md`)
- Skill Orchestrator → Backend Engineer: delegates backend (evidence: `README.md`)
- Skill Orchestrator → Security Officer: delegates security (evidence: `README.md`)
- Skill Orchestrator → QA Pentester: delegates QA (evidence: `README.md`)
- Skill Orchestrator → Prompt Loop Controller: runs verification (evidence: `README.md`)
- Prompt Loop Controller → Build & Test Tools: runs checks (evidence: `README.md`)
- Skill Orchestrator → Security Hardening Loop: starts hardening (evidence: `README.md`)
- Security Hardening Loop → Red Team Auditor: requests audit (evidence: `README.md`)
- Security Hardening Loop → Blue Team Remediator: requests remediation (evidence: `README.md`)
- Blue Team Remediator → Red Team Auditor: returns for audit (evidence: `README.md`)
