# brunobracaioli/claude-code-starter-pack architecture

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

- Interactive diagram: https://gitdiagram.com/brunobracaioli/claude-code-starter-pack
- Repository: https://github.com/brunobracaioli/claude-code-starter-pack

## Overview

This repository is a Claude Code starter pack: a project adopts its configuration, hooks, and skills, then Claude Code uses those guardrails and on-demand guidance during work. The README documents hook wiring, skill loading, and optional plugin packaging. The tree does not contain the described settings.json, and no source excerpts were provided, so configuration is represented by its existing enclosing directory and relationships rely on README documentation.

Main entry points: [`.claude-plugin/plugin.json`](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude-plugin/plugin.json) (Plugin metadata), [`.claude`](https://github.com/brunobracaioli/claude-code-starter-pack/tree/main/.claude) (Permissions and hook wiring), [`.claude/hooks/pre-bash-guard.sh`](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/pre-bash-guard.sh) (Destructive command guard), [`.claude/hooks/pre-commit-secrets.sh`](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/pre-commit-secrets.sh) (Commit secrets scan)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_config["Project configuration"]
  node_settings["Permissions and hook wiring<br/>[.claude]"]
  node_localprefs["Local preferences example"]
  node_context["Project context template<br/>[CLAUDE.md]"]
  node_mcp["MCP configuration<br/>[.mcp.json]"]
end

subgraph group_hooks["Safety and automation"]
  node_bashguard["Destructive command guard<br/>[pre-bash-guard.sh]"]
  node_secretsscan["Commit secrets scan"]
  node_format["Post-edit formatting"]
  node_pathguard["Sensitive path guard<br/>[block-secrets.sh]"]
end

subgraph group_guidance["Skills and distribution"]
  node_review["Code review guidance<br/>[SKILL.md]"]
  node_security["Security audit guidance<br/>[SKILL.md]"]
  node_commit["Commit guidance<br/>[SKILL.md]"]
  node_frontend["Frontend design guidance<br/>[SKILL.md]"]
  node_plugin["Plugin metadata<br/>[plugin.json]"]
end

node_developer(("Project developer"))
node_claude(("Claude Code"))
node_project["Adopting project"]

node_developer -->|"adopts pack"| node_project
node_project -->|"runs"| node_claude
node_settings -->|"wires hook"| node_bashguard
node_settings -->|"wires hook"| node_secretsscan
node_settings -->|"wires hook"| node_format
node_settings -.->|"optionally wires"| node_pathguard
node_claude -->|"loads on demand"| node_review
node_claude -->|"loads on demand"| node_security
node_claude -->|"loads on demand"| node_commit
node_claude -->|"loads on demand"| node_frontend
node_plugin -->|"packages"| node_review
node_plugin -->|"packages"| node_security
node_plugin -->|"packages"| node_commit
node_plugin -->|"packages"| node_frontend
node_plugin -->|"packages"| node_bashguard
node_plugin -->|"packages"| node_secretsscan
node_plugin -->|"packages"| node_format

click node_settings "https://github.com/brunobracaioli/claude-code-starter-pack/tree/main/.claude"
click node_localprefs "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/settings.local.json.example"
click node_context "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/CLAUDE.md"
click node_mcp "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.mcp.json"
click node_bashguard "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/pre-bash-guard.sh"
click node_secretsscan "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/pre-commit-secrets.sh"
click node_format "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/post-edit-format.sh"
click node_pathguard "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/block-secrets.sh"
click node_review "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/code-review-b2/SKILL.md"
click node_security "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/security-check/SKILL.md"
click node_commit "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/commit/SKILL.md"
click node_frontend "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/frontend-design/SKILL.md"
click node_plugin "https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude-plugin/plugin.json"

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_settings,node_localprefs,node_context,node_mcp toneBlue
class node_bashguard,node_secretsscan,node_format,node_pathguard toneAmber
class node_review,node_security,node_commit,node_frontend,node_plugin toneMint
class node_developer,node_claude,node_project toneIndigo
```

## Components

### Project configuration

- [Permissions and hook wiring](https://github.com/brunobracaioli/claude-code-starter-pack/tree/main/.claude): `.claude`
- [Local preferences example](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/settings.local.json.example): `.claude/settings.local.json.example`
- [Project context template](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/CLAUDE.md): `CLAUDE.md`
- [MCP configuration](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.mcp.json): `.mcp.json`

### Safety and automation

- [Destructive command guard](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/pre-bash-guard.sh): `.claude/hooks/pre-bash-guard.sh`
- [Commit secrets scan](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/pre-commit-secrets.sh): `.claude/hooks/pre-commit-secrets.sh`
- [Post-edit formatting](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/post-edit-format.sh): `.claude/hooks/post-edit-format.sh`
- [Sensitive path guard](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/hooks/block-secrets.sh): `.claude/hooks/block-secrets.sh`

### Skills and distribution

- [Code review guidance](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/code-review-b2/SKILL.md): `.claude/skills/code-review-b2/SKILL.md`
- [Security audit guidance](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/security-check/SKILL.md): `.claude/skills/security-check/SKILL.md`
- [Commit guidance](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/commit/SKILL.md): `.claude/skills/commit/SKILL.md`
- [Frontend design guidance](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude/skills/frontend-design/SKILL.md): `.claude/skills/frontend-design/SKILL.md`
- [Plugin metadata](https://github.com/brunobracaioli/claude-code-starter-pack/blob/main/.claude-plugin/plugin.json): `.claude-plugin/plugin.json`

### Other components

- **Project developer**
- **Claude Code**
- **Adopting project**

## Connections

- Project developer → Adopting project: adopts pack (evidence: `README.md`)
- Adopting project → Claude Code: runs (evidence: `README.md`)
- Permissions and hook wiring → Destructive command guard: wires hook (evidence: `README.md`)
- Permissions and hook wiring → Commit secrets scan: wires hook (evidence: `README.md`)
- Permissions and hook wiring → Post-edit formatting: wires hook (evidence: `README.md`)
- Permissions and hook wiring → Sensitive path guard: optionally wires (evidence: `README.md`)
- Claude Code → Code review guidance: loads on demand (evidence: `README.md`)
- Claude Code → Security audit guidance: loads on demand (evidence: `README.md`)
- Claude Code → Commit guidance: loads on demand (evidence: `README.md`)
- Claude Code → Frontend design guidance: loads on demand (evidence: `README.md`)
- Plugin metadata → Code review guidance: packages (evidence: `README.md`)
- Plugin metadata → Security audit guidance: packages (evidence: `README.md`)
- Plugin metadata → Commit guidance: packages (evidence: `README.md`)
- Plugin metadata → Frontend design guidance: packages (evidence: `README.md`)
- Plugin metadata → Destructive command guard: packages (evidence: `README.md`)
- Plugin metadata → Commit secrets scan: packages (evidence: `README.md`)
- Plugin metadata → Post-edit formatting: packages (evidence: `README.md`)
