Claude Code hook

Claude Code Blueprint

A battle-tested, framework-agnostic reference architecture for Claude Code. Beginner-friendly with graduated adoption (minimal / standard / core / full presets). 12 agents, 19 skills, 15 hooks, 6 rules, with reasoning behind every decision.

73 stars 22 forksHooks Source

Install

From source
git clone https://github.com/faizkhairi/claude-code-blueprint.git

From the README

Claude Code Blueprint

Prevent the most common AI coding mistakes: a library of ready-to-copy files (CLAUDE.md, hooks, agents) you mix into your own project to make Claude Code more reliable.

60 seconds to start. Copy one file. Add more as your project grows. Works with any language, any framework, any skill level.

12 agents · 19 skills · 15 hooks · 6 rules, copy only what you need, or install a preset (minimal / standard / core / full)

English | 日本語 | 한국어 | 简体中文

Heads up before you copy: This is a reference repo, not a project template. You'll copy files OUT of it into your own project. Don't run Claude Code inside this repository (it'll load this blueprint's CLAUDE.md instead of yours). See GETTING-STARTED.md for the full walkthrough.

Quick Start

Do this first. Install one file and you're done in 60 seconds:

That gives Claude Code four behavioral rules that prevent the most common AI coding mistakes: Verify-After-Complete · Diagnose-First · Plan-First · Verify-Before-Exit-Plan, applied to every project on your machine. That's the whole first step; try it, then come back for more. See where config belongs if you also want project-specific conventions.

Want more than CLAUDE.md? (hooks, agents, settings)

Once CLAUDE.md is working, add the rest. Easiest path: run the installer from a cloned/forked copy:

Or let Claude do it: paste into a Claude Code session: *"Set up the Claude Code Blueprint. Install CLAUDE.md to ~/.claude/CLAUDE.md, set up hooks and settings in ~/.claude/. Show me each step."*

For every install option (fork / clone / cherry-pick / presets) plus a verification checklist, see SETUP.md.

New to Claude Code, or want the guided version? The beginner guide walks you through the same thing step by step. Curious who this is for? See Who Is This For…
Read the full README on GitHub

How hooks work

  • Hooks are shell commands Claude Code runs at fixed points: before or after a tool call, when you submit a prompt, when Claude stops, on notifications and at session start.
  • They are set in the hooks section of ~/.claude/settings.json (or .claude/settings.json for a project), or come bundled in a plugin.
  • A hook can block a tool call, add context, or run a formatter or test. Read the scripts before you install them: they run on your machine with your permissions.
Claude Code docs

Details

Type
Hooks
Language
Shell
License
MIT
Last updated
25 September 2026
Topics
agentsai-codingbeginner-friendlyclaudeclaude-codecodexcursordeveloper-toolsframework-agnosticgemini-clihooksmcp

FAQ

What is Claude Code Blueprint?

A battle-tested, framework-agnostic reference architecture for Claude Code. Beginner-friendly with graduated adoption (minimal / standard / core / full presets). 12 agents, 19 skills, 15 hooks, 6 rules, with reasoning behind every decision. It is a hook for Claude Code, from faizkhairi/claude-code-blueprint on GitHub.

How do I install Claude Code Blueprint?

Clone faizkhairi/claude-code-blueprint from GitHub and follow the setup steps in its README.

Is Claude Code Blueprint popular?

faizkhairi/claude-code-blueprint has 73 GitHub stars and 22 forks. It was last updated on 25 September 2026.

More hooks

Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.