# manojkanur/microsaas-template-private architecture

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

- Interactive diagram: https://gitdiagram.com/manojkanur/microsaas-template-private
- Repository: https://github.com/manojkanur/microsaas-template-private

## Overview

This repository is a prompt-and-agent template for planning and building a customized SaaS, not the SaaS runtime itself. The documented workflow is to define a product in INITIAL.md, generate a PRP blueprint, then execute it with parallel specialist agents. Skills describe backend, frontend, database, testing, and deployment patterns. The graph reflects README-documented relationships; command and agent file contents were not available, so no additional implementation links are inferred.

Main entry points: [`.claude/commands/execute-prp.md`](https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/execute-prp.md) (Execute PRP), [`INITIAL.md`](https://github.com/manojkanur/microsaas-template-private/blob/main/INITIAL.md) (Product definition), [`.claude/commands/generate-prp.md`](https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/generate-prp.md) (Generate PRP), [`agents/backend-agent.md`](https://github.com/manojkanur/microsaas-template-private/blob/main/agents/backend-agent.md) (Backend agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Planning workflow"]
  node_initial["Product definition<br/>[INITIAL.md]"]
  node_generate["Generate PRP<br/>[generate-prp.md]"]
  node_blueprint["PRP blueprint"]
  node_execute["Execute PRP<br/>[execute-prp.md]"]
  node_setup["Setup wizard<br/>[setup-project.md]"]
end

subgraph group_agents["Build agents"]
  node_orchestrator["Agent orchestration<br/>[ORCHESTRATOR.md]"]
  node_backend_agent["Backend agent<br/>[backend-agent.md]"]
  node_database_agent["Database agent<br/>[database-agent.md]"]
  node_frontend_agent["Frontend agent<br/>[frontend-agent.md]"]
end

subgraph group_skills["Implementation skills"]
  node_backend_skill["Backend patterns<br/>[BACKEND.md]"]
  node_database_skill["Database patterns<br/>[DATABASE.md]"]
  node_frontend_skill["Frontend patterns<br/>[FRONTEND.md]"]
  node_testing_skill["Testing patterns<br/>[TESTING.md]"]
  node_deployment_skill["Deployment patterns<br/>[DEPLOYMENT.md]"]
end

subgraph group_project["Project guidance"]
  node_rules["Project rules<br/>[CLAUDE.md]"]
end

node_user(("Product author"))
node_application["Generated SaaS"]

node_user -->|"defines product"| node_initial
node_initial -->|"provides input"| node_generate
node_generate -->|"creates blueprint"| node_blueprint
node_blueprint -->|"guides build"| node_execute
node_execute -->|"dispatches build"| node_backend_agent
node_execute -->|"dispatches build"| node_database_agent
node_execute -->|"dispatches build"| node_frontend_agent
node_execute -->|"builds application"| node_application
node_user -->|"starts setup"| node_setup
node_backend_agent -.->|"uses patterns"| node_backend_skill
node_database_agent -.->|"uses patterns"| node_database_skill
node_frontend_agent -.->|"uses patterns"| node_frontend_skill
node_execute -.->|"coordinates agents"| node_orchestrator
node_application -.->|"coverage guidance"| node_testing_skill
node_application -.->|"deployment guidance"| node_deployment_skill
node_application -.->|"follows rules"| node_rules

click node_initial "https://github.com/manojkanur/microsaas-template-private/blob/main/INITIAL.md"
click node_generate "https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/generate-prp.md"
click node_execute "https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/execute-prp.md"
click node_setup "https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/setup-project.md"
click node_orchestrator "https://github.com/manojkanur/microsaas-template-private/blob/main/agents/ORCHESTRATOR.md"
click node_backend_agent "https://github.com/manojkanur/microsaas-template-private/blob/main/agents/backend-agent.md"
click node_database_agent "https://github.com/manojkanur/microsaas-template-private/blob/main/agents/database-agent.md"
click node_frontend_agent "https://github.com/manojkanur/microsaas-template-private/blob/main/agents/frontend-agent.md"
click node_backend_skill "https://github.com/manojkanur/microsaas-template-private/blob/main/skills/BACKEND.md"
click node_database_skill "https://github.com/manojkanur/microsaas-template-private/blob/main/skills/DATABASE.md"
click node_frontend_skill "https://github.com/manojkanur/microsaas-template-private/blob/main/skills/FRONTEND.md"
click node_testing_skill "https://github.com/manojkanur/microsaas-template-private/blob/main/skills/TESTING.md"
click node_deployment_skill "https://github.com/manojkanur/microsaas-template-private/blob/main/skills/DEPLOYMENT.md"
click node_rules "https://github.com/manojkanur/microsaas-template-private/blob/main/CLAUDE.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_initial,node_generate,node_blueprint,node_execute,node_setup toneBlue
class node_orchestrator,node_backend_agent,node_database_agent,node_frontend_agent toneAmber
class node_backend_skill,node_database_skill,node_frontend_skill,node_testing_skill,node_deployment_skill toneMint
class node_rules toneRose
class node_user,node_application toneIndigo
```

## Components

### Planning workflow

- [Product definition](https://github.com/manojkanur/microsaas-template-private/blob/main/INITIAL.md): `INITIAL.md`
- [Generate PRP](https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/generate-prp.md): `.claude/commands/generate-prp.md`
- **PRP blueprint**
- [Execute PRP](https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/execute-prp.md): `.claude/commands/execute-prp.md`
- [Setup wizard](https://github.com/manojkanur/microsaas-template-private/blob/main/.claude/commands/setup-project.md): `.claude/commands/setup-project.md`

### Build agents

- [Agent orchestration](https://github.com/manojkanur/microsaas-template-private/blob/main/agents/ORCHESTRATOR.md): `agents/ORCHESTRATOR.md`
- [Backend agent](https://github.com/manojkanur/microsaas-template-private/blob/main/agents/backend-agent.md): `agents/backend-agent.md`
- [Database agent](https://github.com/manojkanur/microsaas-template-private/blob/main/agents/database-agent.md): `agents/database-agent.md`
- [Frontend agent](https://github.com/manojkanur/microsaas-template-private/blob/main/agents/frontend-agent.md): `agents/frontend-agent.md`

### Implementation skills

- [Backend patterns](https://github.com/manojkanur/microsaas-template-private/blob/main/skills/BACKEND.md): `skills/BACKEND.md`
- [Database patterns](https://github.com/manojkanur/microsaas-template-private/blob/main/skills/DATABASE.md): `skills/DATABASE.md`
- [Frontend patterns](https://github.com/manojkanur/microsaas-template-private/blob/main/skills/FRONTEND.md): `skills/FRONTEND.md`
- [Testing patterns](https://github.com/manojkanur/microsaas-template-private/blob/main/skills/TESTING.md): `skills/TESTING.md`
- [Deployment patterns](https://github.com/manojkanur/microsaas-template-private/blob/main/skills/DEPLOYMENT.md): `skills/DEPLOYMENT.md`

### Project guidance

- [Project rules](https://github.com/manojkanur/microsaas-template-private/blob/main/CLAUDE.md): `CLAUDE.md`

### Other components

- **Product author**
- **Generated SaaS**

## Connections

- Product author → Product definition: defines product (evidence: `README.md`)
- Product definition → Generate PRP: provides input (evidence: `README.md`)
- Generate PRP → PRP blueprint: creates blueprint (evidence: `README.md`)
- PRP blueprint → Execute PRP: guides build (evidence: `README.md`)
- Execute PRP → Backend agent: dispatches build (evidence: `README.md`)
- Execute PRP → Database agent: dispatches build (evidence: `README.md`)
- Execute PRP → Frontend agent: dispatches build (evidence: `README.md`)
- Execute PRP → Generated SaaS: builds application (evidence: `README.md`)
- Product author → Setup wizard: starts setup (evidence: `README.md`)
- Backend agent → Backend patterns: uses patterns
- Database agent → Database patterns: uses patterns
- Frontend agent → Frontend patterns: uses patterns
- Execute PRP → Agent orchestration: coordinates agents
- Generated SaaS → Testing patterns: coverage guidance
- Generated SaaS → Deployment patterns: deployment guidance
- Generated SaaS → Project rules: follows rules
