Tips & Setup

How to set it up when you're starting out

This is the practical page. What vibe coding means to me and what I work with is covered in the Vibe coding section. Here you'll find the habits that have worked for me in Claude Code. You don't have to adopt them all at once. Start with the first one and add the rest when you need them.

Start with a CLAUDE.md file

CLAUDE.md is the project's memory. It's a plain text file in the main project folder, and Claude reads it at the start of every conversation. Without it, Claude starts from scratch each time and has to guess what you're building and what it shouldn't touch.

You don't have to write it yourself. Tell Claude: “Create a CLAUDE.md in this project and write down what the project does and which rules apply.” After that you just keep adding to it. The main things it should cover:

  • Two or three sentences on what the project does and who it's for. Leave out the history and the marketing.
  • Rules you don't want to repeat in every message, such as the output language, style or format.
  • Files and folders Claude must not touch. This part prevents the most damage.
  • Where Claude should keep its notes, so they don't end up scattered across the project.

Short headings are enough. These work fine as they are:

# What the project does
# Rules
# What not to touch
# Where to save notes

A full CLAUDE.md skeleton, a hook, the critic and permissions, all ready to copy, are on the Templates page.

Skills, hooks, agents

People mix these up all the time, but each one does a different job.

A skill is a written procedure Claude follows to do one job the same way every time. You know you need one when you find yourself explaining something for the third time. At that point, tell Claude: “Turn this procedure into a skill.” Next time it will pick it up on its own. There's more about skills in What I use.

A hook is a safeguard that runs automatically. It's triggered by Claude Code itself rather than by the model, so it runs every time, not only when Claude happens to remember. My hooks stop the agent from reporting “done” without proof and keep it away from protected areas. Anything that must never be skipped belongs in a hook, not in a polite request in the prompt.

An agent is a helper with its own context. The main Claude hands it one task and gets back only the result, so the main conversation doesn't fill up with detail. Agents are useful for tasks that don't depend on each other and can run at the same time.

Run agents in parallel

If you have several independent tasks, say a security check, a speed check and a typo check, there's no need to do them one after another. Tell Claude to run several agents at once. Each works in its own context and the results come together at the end. Three tasks in a row means waiting three times. Three agents at once means waiting once. My agents usually run at medium effort to save on usage limits.

There's one strict condition: two agents must never edit the same file. Otherwise they overwrite each other's work and the result is useless. If you can't split the task so that each agent has its own files, run it step by step instead.

MCP servers and how to add them

An MCP server connects Claude to another service, such as your email, a database or Excel. Without one, Claude can only give advice. With one, it can read the data itself and work with it. Adding a server takes three steps:

  • Ask Claude to add the server to the Claude Code settings. You only do this once.
  • Have it store the access key in an environment variable, never directly in the code. That goes for every token, password and API key.
  • Restart the session and ask Claude to show you that the tools actually loaded. A command that ran without errors doesn't prove everything works.

Keys belong in a .env file or a password manager outside the repository, never in a file that goes into Git. Only switch on the servers you really need for a given project. Each extra one takes up part of Claude's context.

Git and commits

  • Git keeps a history of your changes that you can go back to at any time. Every project should get its own repository right away, not once it's finished. You can survive a lost session. Lost code with no history is a different story.
  • Keep commits small. A commit is a saved version with a note about what changed. If one commit mixes a fix, a new feature and a rebuild and then something breaks, it's hard to tell which part caused it. Ask Claude to commit after every change that has been checked.
  • Before you send anything to the server, have the project built on your own machine. A problem on your own computer is much easier to track down than one on a server.

Security and secrets

Following this rule costs nothing. Breaking it can cost a lot. Stick to it from the very first minute.

  • API keys, passwords and tokens never belong in a file that gets saved to Git. A key you push to a repository once stays in its history, even if you delete it later.
  • Keep secrets in a .env file or a password manager that isn't part of the repository.
  • .gitignore lists the files Git should skip. Ask Claude to show you that .env is in it before your first commit.
  • Before Claude touches settings.json, CLAUDE.md or .env, have it make a .bak copy. It takes a second, and if something goes wrong you have something to go back to.

A second opinion from another model

Anything that goes public or really matters is best read by a different model before you approve it, for example Codex from OpenAI, which I used for this in the past. A second model has no reason to praise the first one's work and goes looking for holes in it. It's still only a second pair of eyes, though, so check every objection. Not all of them hold up. My critic in Claude Code works in a similar way: an agent that builds nothing and only reviews. How this fits into my day is described in How I work.

Memory and notes as you go

A session can get lost. A notes file stays. Everything else follows from that:

  • Project memory is CLAUDE.md plus the note files it points to. I keep mine as plain markdown files in git.
  • Write things down as you go. After every change, have Claude write down straight away what it did and why. “Later” rarely comes, because the session ends first.
  • Before the context gets cleared or compacted, have Claude save where you left off. Otherwise it won't know afterwards and will start redoing things.

All of this has a single purpose: the same mistake shouldn't happen twice. A mistake that's written down usually stays fixed. One that isn't tends to come back.

Check with a real test, not a hunch

A command that ran doesn't mean the result works. When Claude tells you it's “done”, ask for proof. Have it open the page in a browser, try the feature or show you that the tool really loaded. If a test isn't possible, it should say so plainly: “ran, but not verified”. I have a hook that won't let the agent move on without proof. Half-checked work that you know is half-checked beats “finished” work that you only assume is finished.

When you get stuck, fix it directly

When something breaks, tell Claude to fix it. Don't send out five agents to keep watching something and reporting that nothing has changed. If something needs checking, check it once and act on the result. An agent running in the background should come back with a concrete result, not an endless “waiting”.

This is a selection of what has worked for me, not a complete manual. What my setup looks like today and what I dropped along the way is in My setup. Answers to the most common beginner questions are in the FAQ. If something is missing here, write to me at team@euphronic.com.