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.
Install
git clone https://github.com/faizkhairi/claude-code-blueprint.gitFrom 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…
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.
Details
- Repository
- faizkhairi/claude-code-blueprint
- 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
Post Compact Reminder
55Dicklesworthstone/post_compact_reminder
Claude Code hook that detects context compaction and injects a reminder to re-read AGENTS.md, preventing post-compaction rule amnesia in long sessions
Deepsafe Scan
77XiaoYiWeio/deepsafe-scan
Universal preflight security scanner for AI coding agents — Detects hooks injection, credential exfiltration & backdoors in .cursorrules, CLAUDE.md, AGENTS.md and more.
Create Viral Content
78aaaronmiller/create-viral-content
Claude Code skill that optimizes content for social media engagement. Auto-generates hooks, headlines, and formatted posts for Reddit, Twitter/X, LinkedIn, and TikTok.
Claude Code Message Timestamps
77zoharbabin/claude-code-message-timestamps
Show local time on every Claude Code message, and let Claude know when each prompt was sent. Zero-config plugin, cross-OS, graceful degradation.
Claude Code Tutorial
76hiliyongke/claude-code-tutorial
Claude Code CLI 中文教程 - 从入门到精通,涵盖配置、Hooks、Skills、MCP集成及企业级最佳实践。
Claude Code Setup
64tomascortereal/claude-code-setup
My full Claude Code configuration — agents, skills, hooks, plugins, and global instructions
Browse the most popular Claude Code mods, all hooks, or the skills and MCP server directories.