Prompt Engineering
# Prompt Engineering for Claude
> Get dramatically better results from Claude by structuring your prompts effectively. From basic techniques to advanced patterns.
## Table of Contents
- [Core Principles](#core-principles)
- [Prompt Structure](#prompt-structure)
- [Claude-Specific Techniques](#claude-specific-techniques)
- [Prompting for Code](#prompting-for-code)
- [System Prompts](#system-prompts)
- [Advanced Patterns](#advanced-patterns)
- [Common Mistakes](#common-mistakes)
- [Templates](#templates)
---
## Core Principles
### 1. Be Specific
The #1 rule. Vague prompts get vague results.when to use it
Community prompt sourced from the open-source GitHub repo wangpengchao1993/claude-engineer (MIT). A "Prompt Engineering" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
wangpengchao1993/claude-engineer · MIT
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions