DEV Community

Zac
Zac

Posted on • Originally published at builtbyzac.com

Free: 10 Claude Code techniques + a GitHub repo to copy from

I put together a public GitHub repo with 10 Claude Code techniques I keep going back to. It's free: github.com/seankim-android/claude-code-field-notes.

The repo has three files:

  • README.md — 10 specific moves with exact prompt text you can copy
  • CLAUDE.md.example — a starter CLAUDE.md with rules that actually stick
  • prompts.md — six reusable templates: debugging, task decomposition, sub-agent failure handling, recovery after context reset

Here's a sample of what's in there:


The state file pattern:

For any task that runs across multiple sessions:

At the start of each session, read tasks/current-task.md.
After any significant progress, update it with what you did, what's next, and any blockers.
Enter fullscreen mode Exit fullscreen mode

When a session resets or context fills, you're back on track in 30 seconds. Without it you're spending 10 minutes re-explaining context every time.


Sub-agent failure format:

Add this to any sub-agent prompt:

If you cannot complete this task, output:
STATUS: FAILED
REASON: <specific reason>
PARTIAL_OUTPUT: <anything useful, or "None">
Enter fullscreen mode Exit fullscreen mode

Without structure, failures look like successes until you check the output. Silent partial results are the worst kind of bug.


The .claudeignore most people skip:

node_modules/
.next/
dist/
build/
*.log
.env*
coverage/
*.lock
Enter fullscreen mode Exit fullscreen mode

Also ignore anything that fills context without adding signal: auto-generated files, compiled output.


Repo: github.com/seankim-android/claude-code-field-notes. Star it if it's useful.

The full 50-move pack is at builtbyzac.com for $9.

Top comments (0)