Workflow Cheatsheet for Beginners
Everything you need to start using Claude Code with confidence — explained in plain English, no technical background required.
Install Claude Code — requires Node.js 18+
curl -fsSL https://claude.ai/install.sh | bash
Navigate to your project folder and launch:
cd your-project claude /init
/init scans your codebase and creates a starter memory file automatically.
CLAUDE.md = Claude’s persistent memory about your project. Loaded automatically at the start of every session.
- Tech stack
- Directory map
- Architecture
- Module purpose
- Design choices
- Gotchas
- Build/test/lint
- Workflows
- Commands
# Project: MyApp FastAPI REST + React SPA + Postgres ## Commands npm run dev / test / lint ## Architecture /app -> Next.js pages /lib -> shared utilities /prisma -> DB schema
Multiple CLAUDE.md files stack at different levels — deeper files add context without overwriting the parent.
- Run
/initfirst, then refine the output - Be specific — vague prompts get vague results
- Add gotchas Claude cannot infer from the code alone
- Reference specific files with
@filename - Add workflow rules so Claude follows your team’s process
- Keep memory concise — remove outdated notes regularly
- Commit CLAUDE.md to Git so your whole team benefits
Skills = markdown guides Claude auto-invokes via natural language. The description field is critical for auto-activation.
Start with these — each becomes a markdown file Claude learns to invoke automatically when you describe your intent.
Hooks = deterministic callbacks that run automatically before or after Claude uses a tool.
"hooks": {
"PreToolUse": [{
"matcher": "Bash",
"hooks": [{
"type": "command",
"command": "scripts/sec.sh",
"timeout": 5
}]
}]
}
Control exactly what Claude is and isn’t allowed to do using a permissions block in your settings file.
{
"permissions": {
"allow": [
"Read:*",
"Bash:git:*",
"Write:*:*.md"
],
"deny": [
"Read:env:*",
"Bash:sudo:*"
]
}
}
Allows: reading any file, using git, writing Markdown files.
Blocks: reading environment variables, running admin commands.