Claude Code folder structure cheat sheet from Reddit user

A Reddit user shared a cheat sheet for Claude Code's folder structure after repeatedly getting tripped up by documentation that required jumping between multiple pages. The cheat sheet covers practical implementation details that caused real time-wasting issues.
Key folder structure details
- Skills belong in
.claude/skills/, not a top-levelskills/folder - Each skill needs its own directory with an
SKILL.mdfile inside it - Subagents live in
.claude/agents/, not a standaloneagents/folder at the root
Hook configuration specifics
- For PostToolUse hooks, the matcher needs to be
"Edit|MultiEdit|Write"— using just"Write"misses edits - SessionStart and SessionEnd are real hook events (contrary to some community discussions)
Installation and documentation notes
npm installis no longer the recommended install path- The native installer is:
curl -fsSL https://claude.ai/install.sh | bash - Documentation updates happen quietly, so the cheat sheet may contain inaccuracies as docs evolve
The cheat sheet is currently available as an image, though the creator mentioned potentially converting it to a proper Markdown file if there's sufficient interest. The image format was chosen for faster initial creation.
📖 Read the full source: r/ClaudeAI
👀 See Also

CLI Design Patterns for AI Agents: Misconceptions and Practical Approaches
A Reddit post clarifies that CLI for agents means a text command interface protocol, not necessarily a real shell, and outlines agent-friendly CLI design principles including Unix-style help, tips thinking, and safety mechanisms like dry-run previews and human authorization.

Local Claude Code Setup with Qwen3.5 27B via llama.cpp
A developer shares their configuration for running Claude Code locally using Qwen3.5 27B with llama.cpp, including environment variables, server parameters, and performance benchmarks across seven coding tasks.

Reddit user shares practical Claude setup for consistent AI coding assistance
A developer describes moving from single prompts to separate context files (about-me.md, my-voice.md, my-rules.md) and implementing a structured workflow where Claude reads context, asks questions, creates plans, then executes tasks.

Using AI as a Cognitive Partner Instead of a Code Factory
A Reddit post proposes a system prompt called 'Cognitive Authorship Copilot' that forces AI to act as a pair programming partner rather than an autonomous solution generator, with three intervention levels based on task complexity.