karpathy-guidelines

Apply behavioral guidelines to reduce LLM coding mistakes during writing, reviewing, and refactoring.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/RemseyMailjard/superpowers --skill karpathy-guidelines-remseymailjard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: karpathy-guidelines
Source: https://github.com/RemseyMailjard/superpowers/tree/main/.github/skills/karpathy-guidelines
Command: npx skills add https://github.com/RemseyMailjard/superpowers --skill karpathy-guidelines-remseymailjard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls.

Core Features & Use Cases

  • Surface assumptions and ask clarifying questions before coding.
  • Make surgical changes and avoid unnecessary refactoring.
  • Define verifiable success criteria and tests to guide development.

Quick Start

Consult these guidelines before coding to minimize overcomplication and surface assumptions.

Frequently Asked Questions about karpathy-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best guidelines to reduce common LLM coding mistakes during refactoring?

Behavioral coding guidelines reduce common LLM coding mistakes by enforcing surgical changes, surfacing assumptions, and defining verifiable success criteria during code generation and refactoring tasks.

How do I prevent an LLM from overcomplicating code during development?

You can prevent LLM overcomplication by consulting guidelines that prompt the model to ask clarifying questions before coding and strictly avoid unnecessary refactoring during implementation.

How to apply code review guidelines for LLM generated code?

Apply code review guidelines by checking for surfaced assumptions, verifying that changes are surgical, and ensuring verifiable success criteria and tests are defined to guide the review process.

Can I use these coding guidelines with standard development workflows?

Yes, these coding guidelines are designed to be generalizable, safe, and easy to integrate into standard workflows with minimal friction, requiring no additional dependencies or specific environment setup.

When should I not use LLM coding guidelines for planning and refactoring?

You should reconsider using these guidelines if your development task requires broad architectural refactoring rather than surgical changes, or if verifiable success criteria cannot be clearly defined beforehand.