Agentic Coding Workshop — Handout

Quick Start

# Install Claude Code
npm install -g @anthropic-ai/claude-code

# Start (with full autonomy)
claude --dangerously-skip-permissions

Without --dangerously-skip-permissions you'll be confirming all day.

Core Principles

  1. Monolithic > Multi-Agent — One agent, one task, one loop
  2. Plan First — Explore first, then plan, then build
  3. Small Tasks — Limit scope, restart on drift
  4. Validate, Don't Hope — Tests, linter, build as feedback loop
  5. Git as Safety Net — Checkpoints before big changes

The Ralph Loop

┌─────────────────────────────────────┐
│  1. Explore (understand codebase)   │
│  2. Plan (IMPLEMENTATION_PLAN.md)   │
│  3. Build (one task per iteration)  │
│  4. Error? → Back to 2              │
└─────────────────────────────────────┘

The plan persists between iterations. Each iteration starts fresh, reads the current state, and works on the next task.

You Are the Puppet Master

You do

Claude does

CLAUDE.md — The Heart of It

Placement

FileScope
./CLAUDE.mdProject root, commit to Git
./CLAUDE.local.mdPersonal, add to .gitignore
~/.claude/CLAUDE.mdGlobal for all sessions
./subdir/CLAUDE.mdMonorepo, loaded on-demand

What Goes In

Control Behavior

Interview Mode: "For new features, ALWAYS clarify requirements before writing code."

Self-Evaluation: "Before completion: run tests, check build, fix errors independently."

Phase Separation: Research → Planning → Implementation (not all at once!)

Emphasis Keywords

Improve instruction-following:

IMPORTANT: Always run tests before committing
YOU MUST: Use TypeScript strict mode
NEVER: Commit directly to main
ALWAYS: Ask before architectural changes

Template

# Project Name

## Commands
- `make dev` — Start dev server
- `make test` — Run tests (ALWAYS before commit!)
- `make lint` — Check code style

## Conventions
- TypeScript strict, no any types
- Conventional Commits (feat:, fix:, ...)
- Branch: feature/*, fix/*

## IMPORTANT
- NEVER commit without tests
- ASK before architectural changes
- New feature? Clarify requirements first!

Golden Rule: Treat it like a prompt — test and refine iteratively. Press # to automatically add instructions.

Context Management

Red Flags — When Output is Bad

Solution: Don't patch. Context is polluted → New session, regenerate plan.

Voice Input

VoiceInk (Mac) + Parakeet model — faster than Whisper, runs locally.

Not Just for Code

Skills make the difference: Claude has access to your data.

Costs

WhatCost
Claude Code (Max 20x)~€200/month
OpenRouter (Chat, Workflows)~$20 lasts 1-2 months

Links

Essentials

Tools

Further Reading


Next steps

Want help applying this to your codebase? Or want the full system walkthrough?