Personal playbook for working efficiently with coding agents. When starting a new machine or a new project, come here first.
One current source of agentic coding practice, so the same guidance isn't retyped in every project. New projects learn from it; when a project discovers something that works, it gets written back here.
Agent-agnostic on purpose. Claude Code is the agent in use today and claude/ holds its specifics, but the practice in shared/ should survive a switch to whatever beats it later. Staying current is part of the job, not a nice-to-have — see Freshness.
| Situation | Start here |
|---|---|
| Fresh machine | shared/project-setup/new-machine.md |
| New project | shared/project-setup/new-project.md |
| You are an agent the user pointed at this playbook from inside another project | shared/project-setup/setting-up-from-another-project.md |
| Stuck on a task | shared/workflows/ — plan-first, research-then-edit, diff-review, long-task-with-compact |
| Agent says it's done and you're not convinced | shared/principles/checks-over-claims.md |
| Coming back after weeks away | shared/workflows/doc-freshness.md — check what's gone stale before you trust it |
| Spotted recurring friction | claude/workflows/scaffolding-decision.md |
| Want the "why" behind a choice | shared/principles/ |
| Specific Claude Code mechanic | claude/ |
| Wondering whether Claude Code can do X at all | claude/surface-map.md |
shared/— agent-agnostic. Should hold regardless of which coding agent you use.principles/— context-is-finite, enforcement-vs-influence, form-follows-use, checks-over-claims, durability-ladder, defer-until-friction.project-setup/— new-machine.md (once per machine), new-project.md (once per project).workflows/— plan-first, research-then-edit, diff-review-cycle, long-task-with-compact, doc-freshness.
claude/— Claude Code specifics.setup/— install, authentication, vs-code.config/— memory, settings, permissions.tools/— context-window, prompt-caching, hooks, skills, tools-reference, subagents, mcp, plugins, artifacts.slash-commands/— built-in commands + bundled skills reference.workflows/— parallel-with-forks, custom-subagent-creation, scaffolding-decision, memory-curation, verification-ladder.surface-map.md— everything Claude Code does that isn't documented in depth here: one line and a link each.
research/— scratchpad for raw notes from docs and source material before they get distilled intoshared/orclaude/.
If you start using another coding agent (Cursor, Aider, etc.), add a new top-level dir for it (e.g. cursor/). Anything cross-cutting between agents gets promoted into shared/.
Docs that assert product facts carry a stamp in their frontmatter:
verified_against: 2.1.308
verified_on: 2026-10-27
sources:
- https://code.claude.com/docs/en/prompt-cachingTreat a doc whose verified_against is well behind your installed claude --version as unverified rather than wrong. shared/workflows/doc-freshness.md has the convention and the pass for clearing it.
CLAUDE.md— repo context loaded by Claude Code in every session run here.