# zoraxl/team-brain architecture

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

- Interactive diagram: https://gitdiagram.com/zoraxl/team-brain
- Repository: https://github.com/zoraxl/team-brain

## Overview

Team-Brain is a reusable team wiki and agent-driven development workflow template. Its main path takes an idea through brainstorming, planning, implementation, evaluation and PR review; after merge, wiki-sync records the durable knowledge and archives the completed plan. Separate skills support wiki retrieval and maintenance, onboarding, and repository operations. The README documents the workflow and skill responsibilities; no source excerpts were provided, so relationships shown here are limited to those documented there.

Main entry points: [`wiki`](https://github.com/zoraxl/team-brain/tree/main/wiki) (Team Wiki), [`.agents/skills/brainstorm/SKILL.md`](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brainstorm/SKILL.md) (Brainstorm), [`.agents/skills/planning/SKILL.md`](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/planning/SKILL.md) (Planning), [`.agents/skills/implement/SKILL.md`](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/implement/SKILL.md) (Implement)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_delivery["Idea to Delivery"]
  node_brainstorm["Brainstorm<br/>[SKILL.md]"]
  node_design["Design Sketch<br/>[SKILL.md]"]
  node_pressure["Pressure Test<br/>[SKILL.md]"]
  node_planning["Planning<br/>[SKILL.md]"]
  node_implement["Implement<br/>[SKILL.md]"]
  node_evaluate["Evaluate<br/>[SKILL.md]"]
  node_review["Review PR<br/>[SKILL.md]"]
end

subgraph group_knowledge["Wiki Knowledge"]
  node_wiki_sync["Wiki Sync<br/>[SKILL.md]"]
  node_wiki[("Team Wiki")]
  node_wiki_query["Wiki Query<br/>[SKILL.md]"]
  node_wiki_adr["Record ADR<br/>[SKILL.md]"]
  node_wiki_runbook["Write Runbook<br/>[SKILL.md]"]
  node_wiki_lint["Wiki Lint<br/>[SKILL.md]"]
end

subgraph group_operations["Setup and Operations"]
  node_setup["Setup Brain<br/>[SKILL.md]"]
  node_skills_sync["Skills Sync<br/>[SKILL.md]"]
  node_brain_update["Brain Update<br/>[SKILL.md]"]
  node_rebase["Rebase Main<br/>[SKILL.md]"]
end

subgraph group_support["Workflow Support"]
  node_bug_issue["Create Bug Issue<br/>[SKILL.md]"]
  node_workflow_chats["Workflow from Chats<br/>[SKILL.md]"]
  node_lifecycle_audit["Lifecycle Audit<br/>[SKILL.md]"]
  node_backlog["Backlog Triage<br/>[SKILL.md]"]
  node_pr_score["PR Score Log<br/>[SKILL.md]"]
end

node_user(("Team Member"))
node_merge(("Merge"))

node_user -->|"explores"| node_brainstorm
node_brainstorm -->|"hands off"| node_planning
node_planning -->|"plans work"| node_implement
node_implement -->|"implements for"| node_evaluate
node_evaluate -->|"prepares for"| node_review
node_review -->|"reviews before"| node_merge
node_merge -->|"triggers"| node_wiki_sync
node_wiki_sync -->|"updates and archives"| node_wiki
node_user -->|"sketches"| node_design
node_user -->|"tests strategy"| node_pressure
node_user -->|"retrieves knowledge"| node_wiki_query
node_wiki_adr -->|"records decisions"| node_wiki
node_wiki_runbook -->|"documents procedures"| node_wiki
node_wiki_lint -->|"audits"| node_wiki
node_setup -->|"delegates setup"| node_skills_sync
node_user -->|"onboards"| node_setup
node_user -->|"syncs repos"| node_brain_update
node_user -->|"rebases branch"| node_rebase
node_user -->|"captures bug"| node_bug_issue
node_user -->|"mines feedback"| node_workflow_chats
node_user -->|"audits lifecycle"| node_lifecycle_audit
node_user -->|"triages backlog"| node_backlog
node_user -->|"views scores"| node_pr_score

click node_brainstorm "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brainstorm/SKILL.md"
click node_design "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brainstorm-design/SKILL.md"
click node_pressure "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/pressure-test/SKILL.md"
click node_planning "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/planning/SKILL.md"
click node_implement "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/implement/SKILL.md"
click node_evaluate "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/evaluate/SKILL.md"
click node_review "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/review-pr/SKILL.md"
click node_wiki_sync "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-sync/SKILL.md"
click node_wiki "https://github.com/zoraxl/team-brain/tree/main/wiki"
click node_wiki_query "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-query/SKILL.md"
click node_wiki_adr "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-adr/SKILL.md"
click node_wiki_runbook "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-runbook/SKILL.md"
click node_wiki_lint "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-lint/SKILL.md"
click node_setup "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/setup-brain/SKILL.md"
click node_skills_sync "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/skills-sync/SKILL.md"
click node_brain_update "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brain-update/SKILL.md"
click node_rebase "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/rebase-onto-main/SKILL.md"
click node_bug_issue "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/create-bug-issue/SKILL.md"
click node_workflow_chats "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/workflow-from-chats/SKILL.md"
click node_lifecycle_audit "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/lifecycle-audit/SKILL.md"
click node_backlog "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/backlog-triage/SKILL.md"
click node_pr_score "https://github.com/zoraxl/team-brain/blob/main/.agents/skills/pr-score-log/SKILL.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_brainstorm,node_design,node_pressure,node_planning,node_implement,node_evaluate,node_review toneBlue
class node_wiki_sync,node_wiki,node_wiki_query,node_wiki_adr,node_wiki_runbook,node_wiki_lint toneAmber
class node_setup,node_skills_sync,node_brain_update,node_rebase toneMint
class node_bug_issue,node_workflow_chats,node_lifecycle_audit,node_backlog,node_pr_score toneRose
class node_user,node_merge toneIndigo
```

## Components

### Idea to Delivery

- [Brainstorm](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brainstorm/SKILL.md): `.agents/skills/brainstorm/SKILL.md`
- [Design Sketch](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brainstorm-design/SKILL.md): `.agents/skills/brainstorm-design/SKILL.md`
- [Pressure Test](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/pressure-test/SKILL.md): `.agents/skills/pressure-test/SKILL.md`
- [Planning](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/planning/SKILL.md): `.agents/skills/planning/SKILL.md`
- [Implement](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/implement/SKILL.md): `.agents/skills/implement/SKILL.md`
- [Evaluate](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/evaluate/SKILL.md): `.agents/skills/evaluate/SKILL.md`
- [Review PR](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/review-pr/SKILL.md): `.agents/skills/review-pr/SKILL.md`

### Wiki Knowledge

- [Wiki Sync](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-sync/SKILL.md): `.agents/skills/wiki-sync/SKILL.md`
- [Team Wiki](https://github.com/zoraxl/team-brain/tree/main/wiki): `wiki`
- [Wiki Query](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-query/SKILL.md): `.agents/skills/wiki-query/SKILL.md`
- [Record ADR](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-adr/SKILL.md): `.agents/skills/wiki-adr/SKILL.md`
- [Write Runbook](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-runbook/SKILL.md): `.agents/skills/wiki-runbook/SKILL.md`
- [Wiki Lint](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/wiki-lint/SKILL.md): `.agents/skills/wiki-lint/SKILL.md`

### Setup and Operations

- [Setup Brain](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/setup-brain/SKILL.md): `.agents/skills/setup-brain/SKILL.md`
- [Skills Sync](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/skills-sync/SKILL.md): `.agents/skills/skills-sync/SKILL.md`
- [Brain Update](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/brain-update/SKILL.md): `.agents/skills/brain-update/SKILL.md`
- [Rebase Main](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/rebase-onto-main/SKILL.md): `.agents/skills/rebase-onto-main/SKILL.md`

### Workflow Support

- [Create Bug Issue](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/create-bug-issue/SKILL.md): `.agents/skills/create-bug-issue/SKILL.md`
- [Workflow from Chats](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/workflow-from-chats/SKILL.md): `.agents/skills/workflow-from-chats/SKILL.md`
- [Lifecycle Audit](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/lifecycle-audit/SKILL.md): `.agents/skills/lifecycle-audit/SKILL.md`
- [Backlog Triage](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/backlog-triage/SKILL.md): `.agents/skills/backlog-triage/SKILL.md`
- [PR Score Log](https://github.com/zoraxl/team-brain/blob/main/.agents/skills/pr-score-log/SKILL.md): `.agents/skills/pr-score-log/SKILL.md`

### Other components

- **Team Member**
- **Merge**

## Connections

- Team Member → Brainstorm: explores (evidence: `README.md`)
- Brainstorm → Planning: hands off (evidence: `README.md`)
- Planning → Implement: plans work (evidence: `README.md`)
- Implement → Evaluate: implements for (evidence: `README.md`)
- Evaluate → Review PR: prepares for (evidence: `README.md`)
- Review PR → Merge: reviews before (evidence: `README.md`)
- Merge → Wiki Sync: triggers (evidence: `README.md`)
- Wiki Sync → Team Wiki: updates and archives (evidence: `README.md`)
- Team Member → Design Sketch: sketches (evidence: `README.md`)
- Team Member → Pressure Test: tests strategy (evidence: `README.md`)
- Team Member → Wiki Query: retrieves knowledge (evidence: `README.md`)
- Record ADR → Team Wiki: records decisions (evidence: `README.md`)
- Write Runbook → Team Wiki: documents procedures (evidence: `README.md`)
- Wiki Lint → Team Wiki: audits (evidence: `README.md`)
- Setup Brain → Skills Sync: delegates setup (evidence: `README.md`)
- Team Member → Setup Brain: onboards (evidence: `README.md`)
- Team Member → Brain Update: syncs repos (evidence: `README.md`)
- Team Member → Rebase Main: rebases branch (evidence: `README.md`)
- Team Member → Create Bug Issue: captures bug (evidence: `README.md`)
- Team Member → Workflow from Chats: mines feedback (evidence: `README.md`)
- Team Member → Lifecycle Audit: audits lifecycle (evidence: `README.md`)
- Team Member → Backlog Triage: triages backlog (evidence: `README.md`)
- Team Member → PR Score Log: views scores (evidence: `README.md`)
