karpathy-guidelines

Outline planning, simplification, and verification steps for LLM coding tasks.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/cin12211/orcaq-test --skill karpathy-guidelines-cin12211
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: karpathy-guidelines
Source: https://github.com/cin12211/orcaq-test/tree/main/.github/skills/karpathy-guidelines
Command: npx skills add https://github.com/cin12211/orcaq-test --skill karpathy-guidelines-cin12211

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Behavioral guidelines to reduce common LLM coding mistakes, derived from observed coding pitfalls, helping teams write clearer, simpler, and more verifiable code.

Core Features & Use Cases

  • Think Before Coding: Surface assumptions and tradeoffs upfront to avoid misinterpretation and scope creep.
  • Simplicity First: Prioritize minimal, well-scoped changes over broad, speculative rewrites.
  • Surgical Changes: Apply targeted edits that preserve existing behavior and reduce risk.
  • Goal-Driven Execution: Define measurable success criteria and plan steps to verify outcomes.

Quick Start

Begin every task by listing assumptions, surfacing tradeoffs, and defining verifiable success criteria before coding.

Frequently Asked Questions about karpathy-guidelines

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

FAQPage Schema
How do I prevent LLM coding mistakes during software refactoring?

To prevent LLM coding mistakes during refactoring, enforce structured guidelines that surface assumptions, prioritize minimal surgical changes, and define verifiable success criteria before execution begins.

What are the best guidelines for LLM code review and planning?

The best guidelines for LLM code review require listing explicit assumptions, defining 2-3 core guidelines, and creating a plan with verifiable checks to ensure outcome-driven execution before coding starts.

How do I stop LLMs from overcomplicating code changes?

To stop LLMs from overcomplicating code changes, apply simplicity-first guidelines that prioritize minimal, well-scoped edits over broad speculative rewrites while preserving existing behavior.

Can I enforce verifiable success criteria for LLM generated code?

You can enforce verifiable success criteria for LLM generated code by requiring planning steps that define measurable outcomes and tradeoffs upfront before any execution occurs.

Why does my LLM refactor introduce unexpected scope creep?

Your LLM refactor introduces unexpected scope creep when guidelines fail to surface assumptions and tradeoffs upfront, leading to misinterpretation and broad speculative rewrites instead of surgical changes.

When should I not use automated LLM coding guidelines?

You should not use automated LLM coding guidelines for software engineering tasks that lack clear requirements or measurable success criteria, as the guidelines depend on upfront tradeoff analysis to function properly.