Wikiprompt
Talk

Karpathy Guidelines: LLM Coding Behavior Rules

From Wikiprompt, the free prompt encyclopedia

yazz4444
Contributed byyazz4444Source

Apr 14, 2026

Karpathy Guidelines: LLM Coding Behavior Rules A system prompt with four behavioral rules to reduce common LLM coding mistakes: think before coding, simplicity first, surgical changes, and goal-driven execution.

Prompt ContentSave

--- name: karpathy-guidelines description: Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria. license: MIT --- # Karpathy Guidelin...

Sign in to see the full prompt

Sign In to Continue

Usage

This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.

For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.

References

Categories:coding| prompts.chat| coding| llm

Talk