Every new Claude CodeClaude CodeA coding tool from Anthropic that runs in the terminal and editor inside your repository: it reads files, runs the commands it is allowed, and writes changes. You steer it with CLAUDE.md, settings, agents, commands and skills. sessionSession (sign-in)The state that keeps you signed in from one request to the next, usually kept in a cookie holding a token. Expiring after a while and ending at sign-out limit the damage if it is stolen. starts with no memory of the last one. What carries over is what you write in CLAUDE.md, which Claude Code reads at the start of every session: the onboarding note you would give a new colleague.
Where it goes
- At the repositoryRepositoryThe project's folder with its full history in Git: code, docs and settings. It can be on your machine alone or on a platform such as GitHub, public for everyone to see or private. root: committed and shared with the team. The most important one.
- In a subfolder such as
apps/web/: read when Claude Code works there. - For you only:
~/.claude/CLAUDE.md, for preferences across all projects.
/init reads the repository and writes a first draft for you to review.
What to write
How the project is built and tested (the exact commands), where things live, the rules that are never broken, and conventions such as commitCommitA saved snapshot of changes in a repository, with a message explaining what changed and why. Make each commit one understandable change, so it is easy to review and to undo on its own. format and the default UI language.
What to leave out
What the code already says, generic advice like "write clean code", secretsSecretA key or password that opens a service in your name. It belongs in an environment variable on the server, and never enters the repository, the conversation or files the model writes., and long details: the file is read in full every session and every line takes context. Put long references elsewhere and point to them, or import them with an @path reference.
The test: can the rule be checked?
Weak: "care about security". Useful: "every new table enables RLSRow level security (RLS)A Postgres feature where the database itself decides which rows each user sees, by rules you write per table. If you forget a check in the code, the rule still protects the data. Talqeen's project privacy rests on it. in the same migrationMigrationA file describing one change to the structure of a database, such as adding a table or a column, kept in the repository with the code. Migrations are applied in order, so every copy of the database reaches the same structure., and pnpm audit:rls passes before every commit".
A short example
# Book shop
## Commands
- Run: `pnpm dev`
- Before every commit: `pnpm typecheck && pnpm lint && pnpm test`
## Layout
- Pages in `src/app/`, logic in `src/lib/`, migrations in `supabase/migrations/`.
## Rules never broken
- No API key in code or in a variable starting with NEXT_PUBLIC_.
- Every UI string goes through the translation files, Arabic first.CLAUDE.md in the Talqeen kit
The kit's CLAUDE.md is written from your plan: destinationDestinationWhere the project must arrive: one sentence, three to seven measurable success criteria, the final deliverable, constraints, and what we will not build. Talqeen's plan starts from it., platforms, rules, and a "Working with Talqeen" section on the serverServerA computer or program that waits for requests and answers them, such as a web server returning pages or a database server. What runs on the server the user cannot see, so secrets and checks belong there., commands and agentsAgentA model working in a loop: it decides the next step, calls a tool, reads the result, and decides again until the task is done. Its power and its risk come from the tools and permissions you give it., with the plan version and date in its header. It is yours to edit. Review it every two weeks: each note you keep repeating to Claude Code is a missing rule.