karpathy-guidelines

Provide behavioral guidelines for LLM-assisted coding to prevent overcomplication.

3|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/lucasgrow/some-skills --skill karpathy-guidelines-lucasgrow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: karpathy-guidelines
Source: https://github.com/lucasgrow/some-skills/tree/main/karpathy-guidelines
Command: npx skills add https://github.com/lucasgrow/some-skills --skill karpathy-guidelines-lucasgrow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps reduce common coding mistakes made by LLMs by providing a set of behavioral guidelines focused on clarity, simplicity, and goal-driven execution.

Core Features & Use Cases

  • Think Before Coding: Encourages explicit assumptions and surfacing tradeoffs.
  • Simplicity First: Promotes writing minimum viable code without speculation.
  • Surgical Changes: Guides users to modify only necessary code sections.
  • Goal-Driven Execution: Emphasizes defining verifiable success criteria.
  • Use Case: When asking an LLM to refactor a piece of code, you can invoke this skill to ensure the LLM follows principles that prevent overcomplication and unintended side effects.

Quick Start

Apply the karpathy-guidelines skill to ensure the code generated is simple and surgical.

Frequently Asked Questions about karpathy-guidelines

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

FAQPage Schema
How do I prevent an LLM from overcomplicating code during refactoring?

To prevent overcomplicating code during refactoring, apply behavioral guidelines that enforce simplicity, encourage surgical changes to only necessary sections, and surface assumptions to avoid unintended side effects.

What are the best practices for LLM-assisted coding to maintain code quality?

Best practices for LLM-assisted coding include thinking before coding to surface tradeoffs, writing minimum viable code without speculation, and defining verifiable success criteria to maintain software development quality.

How can I make AI write surgical code changes instead of rewriting entire files?

You can make AI write surgical code changes by applying guidelines that restrict modifications to only necessary code sections, preventing overcomplication and preserving existing software maintainability during development.

How do I define verifiable success criteria when using AI for software development?

To define verifiable success criteria, establish goal-driven execution guidelines that emphasize cautious development, explicit assumptions, and clear problem-solving objectives before writing or reviewing any code with an LLM.

When should I use coding guidelines for LLM code generation and review?

You should use coding guidelines for LLM code generation and review whenever you need to improve code quality, prevent unintended side effects during refactoring, and ensure cautious, goal-oriented problem-solving in software development.

Does applying simplicity principles to LLM code generation actually improve maintainability?

Applying simplicity principles to LLM code generation improves maintainability by promoting minimum viable code without speculation, ensuring surgical changes, and surfacing assumptions to prevent overcomplication in software development.