# financeflash/unvibecode architecture

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

- Interactive diagram: https://gitdiagram.com/financeflash/unvibecode
- Repository: https://github.com/financeflash/unvibecode

## Overview

UnvibeCode is documented as a repository-review tool: an engineer supplies a repository path, runs a review, and explores workflow maps, connected-code relationships, risk findings, and repository context. The supplied tree does not include the CLI implementation, so the review stages are represented as documented capabilities rather than inferred internal calls. The repository also contains engineering references, workflow playbooks, and two standalone guardrail/RAG examples; the examples’ behavior is grounded in their excerpts.

Main entry points: [`AI Engineering Cheatsheet/AI system design`](https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design) (AI System Design), [`README.md`](https://github.com/financeflash/unvibecode/blob/main/README.md) (Workflow Map), [`AI Engineering Cheatsheet/AI system design/02_RAG`](https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design/02_RAG) (RAG Guidance), [`AI Engineering Cheatsheet/AI system design/05_GUARDRAILS`](https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design/05_GUARDRAILS) (Guardrail Guidance)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_review["Repository Review"]
  node_review_cli["Review CLI"]
  node_workflow_map["Workflow Map<br/>[README.md]"]
  node_code_map["Connected Code<br/>[README.md]"]
  node_risk_findings["Risk Findings<br/>[README.md]"]
  node_repo_context["Repository Context<br/>[README.md]"]
end

subgraph group_knowledge["Engineering Knowledge"]
  node_ai_design["AI System Design"]
  node_rag_guidance["RAG Guidance"]
  node_guardrail_guidance["Guardrail Guidance"]
  node_ai_skills["AI Engineering Skills"]
end

subgraph group_playbooks["Workflow Playbooks"]
  node_workflow_library["Workflow Library"]
end

subgraph group_examples["Runnable Examples"]
  node_guardrail_runner["Guardrail Config Checker"]
  node_rag_demo["Synthetic RAG Demo"]
end

node_engineer(("Engineer"))

node_engineer -->|"runs review"| node_review_cli
node_review_cli -->|"produces"| node_workflow_map
node_review_cli -->|"produces"| node_code_map
node_review_cli -->|"produces"| node_risk_findings
node_review_cli -->|"provides"| node_repo_context
node_ai_design -->|"includes"| node_rag_guidance
node_ai_design -->|"includes"| node_guardrail_guidance

click node_workflow_map "https://github.com/financeflash/unvibecode/blob/main/README.md"
click node_code_map "https://github.com/financeflash/unvibecode/blob/main/README.md"
click node_risk_findings "https://github.com/financeflash/unvibecode/blob/main/README.md"
click node_repo_context "https://github.com/financeflash/unvibecode/blob/main/README.md"
click node_ai_design "https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design"
click node_rag_guidance "https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design/02_RAG"
click node_guardrail_guidance "https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design/05_GUARDRAILS"
click node_ai_skills "https://github.com/financeflash/unvibecode/tree/main/skills"
click node_workflow_library "https://github.com/financeflash/unvibecode/tree/main/prebuilt-workflow-paths"
click node_guardrail_runner "https://github.com/financeflash/unvibecode/blob/main/skills/unvibecode_gaurdrails_implemenataion_pack/Pre-configured_gaurdrails_programs/guardrails_runner.py"
click node_rag_demo "https://github.com/financeflash/unvibecode/blob/main/skills/unvibecode-rag-review/scripts/rag_review_example.py"

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_review_cli,node_workflow_map,node_code_map,node_risk_findings,node_repo_context toneBlue
class node_ai_design,node_rag_guidance,node_guardrail_guidance,node_ai_skills toneAmber
class node_workflow_library toneMint
class node_guardrail_runner,node_rag_demo toneRose
class node_engineer toneIndigo
```

## Components

### Repository Review

- **Review CLI**
- [Workflow Map](https://github.com/financeflash/unvibecode/blob/main/README.md): `README.md`
- [Connected Code](https://github.com/financeflash/unvibecode/blob/main/README.md): `README.md`
- [Risk Findings](https://github.com/financeflash/unvibecode/blob/main/README.md): `README.md`
- [Repository Context](https://github.com/financeflash/unvibecode/blob/main/README.md): `README.md`

### Engineering Knowledge

- [AI System Design](https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design): `AI Engineering Cheatsheet/AI system design`
- [RAG Guidance](https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design/02_RAG): `AI Engineering Cheatsheet/AI system design/02_RAG`
- [Guardrail Guidance](https://github.com/financeflash/unvibecode/tree/main/AI%20Engineering%20Cheatsheet/AI%20system%20design/05_GUARDRAILS): `AI Engineering Cheatsheet/AI system design/05_GUARDRAILS`
- [AI Engineering Skills](https://github.com/financeflash/unvibecode/tree/main/skills): `skills`

### Workflow Playbooks

- [Workflow Library](https://github.com/financeflash/unvibecode/tree/main/prebuilt-workflow-paths): `prebuilt-workflow-paths`

### Runnable Examples

- [Guardrail Config Checker](https://github.com/financeflash/unvibecode/blob/main/skills/unvibecode_gaurdrails_implemenataion_pack/Pre-configured_gaurdrails_programs/guardrails_runner.py): `skills/unvibecode_gaurdrails_implemenataion_pack/Pre-configured_gaurdrails_programs/guardrails_runner.py`
- [Synthetic RAG Demo](https://github.com/financeflash/unvibecode/blob/main/skills/unvibecode-rag-review/scripts/rag_review_example.py): `skills/unvibecode-rag-review/scripts/rag_review_example.py`

### Other components

- **Engineer**

## Connections

- Engineer → Review CLI: runs review (evidence: `README.md`)
- Review CLI → Workflow Map: produces (evidence: `README.md`)
- Review CLI → Connected Code: produces (evidence: `README.md`)
- Review CLI → Risk Findings: produces (evidence: `README.md`)
- Review CLI → Repository Context: provides (evidence: `README.md`)
- AI System Design → RAG Guidance: includes (evidence: `README.md`)
- AI System Design → Guardrail Guidance: includes (evidence: `README.md`)
