Claude Code Prompt Templates

A curated set of prompt templates for common engineering tasks in Claude Code. Each template uses a clear role, XML-tagged inputs, and an explicit output format so Claude produces structured, reviewable results.

How to use

  1. Copy a template into Claude Code.
  2. Replace every [placeholder] and fill the XML input blocks.
  3. Delete sections that don't apply — empty placeholders dilute the prompt.
  4. For multi-file work, prefer running this in a repo where Claude Code can read existing files; reference paths with @path/to/file instead of pasting code when possible.

General tips that apply to all templates:


1. Production Feature Builder


2. Full App From Scratch


3. Codebase Understanding + Refactor