Bought it before? Sign in

11 May 2026

دليل · Guide13 min read

إتقان ملف CLAUDE.md: اضبط المهارات والـ Hooks وذاكرة مشروعكCLAUDE.md Mastery: Configuring Skills, Hooks and Project Memory for Your Codebase

Go from an empty CLAUDE.md to a full setup: the right file levels, a structure Claude follows, declared skills, hooks that enforce rules, and project memory that grows with every decision.

Who this guide is for

Developers and teams who run Claude Code on a real codebase every day

Key terms

CLAUDE.md
A Markdown file Claude Code loads at the start of every session. It holds your project context, commands, rules and limits.
Skill
A folder with a SKILL.md file that teaches Claude a repeatable task. Claude uses it when the situation matches its description.
Hook
A command Claude Code runs automatically at a fixed moment, like before a tool runs. It is set in settings.json and runs whatever Claude decides.
settings.json
The Claude Code config file. The one in .claude/ inside your repo is shared with the team through git.
Exit code 2
When a PreToolUse hook exits with 2, Claude Code blocks that tool call and shows Claude the reason.

7 full steps, with the ready prompts and the takeaway

Secure, encrypted payment via Stripe

Bought this before? Restore your access

Your access is tied to your email. Enter it here and the content opens right away, any time, on any device

Most value

Start building with me now

We sit together, break down your problem, and I build the AI solution with you step by step

60minutes
  • A private session with you
  • Real building during the session
  • Results you take with you when we finish
Book a build session

100% free

A free consultation about your problem

Start