---
id: manual-karpathy-guidelines
name: "Andrej Karpathy's Guidelines"
nameZh: "Andrej Karpathy 编码准则"
sourceCategory: "Agent Skill"
sourceCategoryZh: "Agent Skill"
url: "https://github.com/swarmclawai/andrej-karpathy-skills/tree/main/skills/karpathy-guidelines"
sourceUrl: "https://github.com/swarmclawai/andrej-karpathy-skills"
tags: ["Coding rules","LLM coding","Planning"]
tagsZh: ["编码规则","LLM 编码","规划"]
categorySlugs: ["dev","meta-tools"]
---

# Andrej Karpathy's Guidelines

中文名称：Andrej Karpathy 编码准则

## Description

Encodes Karpathy's four LLM coding rules: think before coding, simplicity first, surgical changes, and goal-driven execution.

沉淀 Karpathy 的四条 LLM 编码规则：先思考再写代码、简单优先、精准改动、目标驱动执行。

## 中文说明

沉淀 Karpathy 的四条 LLM 编码规则：先思考再写代码、简单优先、精准改动、目标驱动执行。

- 打开或安装 Skill：https://github.com/swarmclawai/andrej-karpathy-skills/tree/main/skills/karpathy-guidelines
- 查看原始来源：https://github.com/swarmclawai/andrej-karpathy-skills
- 分类：dev, meta-tools
- 标签：编码规则、LLM 编码、规划

## Use This Skill

- Open or install the skill from: https://github.com/swarmclawai/andrej-karpathy-skills/tree/main/skills/karpathy-guidelines
- Review the original source: https://github.com/swarmclawai/andrej-karpathy-skills
- Categories: dev, meta-tools
- Tags: Coding rules, LLM coding, Planning
- 中文标签：编码规则、LLM 编码、规划

## README SEO Report

### Detailed Overview

Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls. Tradeoff: These guidelines bias toward caution over speed. For trivial tasks, use judgment.

### Installation

No explicit installation section was found in the archived README. Open the original source for the official setup path; the download button provides the local Markdown copy saved by EasyGlobe.

### Usage

Use this skill when the task involves Coding rules, LLM coding, Planning. It can be adapted into Claude Skills, Codex Skills, Gemini Skills, Kimi Skills, GLM Skills, or a team SOP.

### Capabilities

Primary workflow coverage: dev, meta-tools.

### Source Archive

- Archive source type: github
- Primary README/SKILL doc: github/skills/karpathy-guidelines/SKILL.md
- Archived docs: github/skills/karpathy-guidelines/SKILL.md

## 3W FAQ

### What is this skill?

Encodes Karpathy's four LLM coding rules: think before coding, simplicity first, surgical changes, and goal-driven execution.

### Who is this skill for?

This skill is for teams or AI agents working on dev, meta-tools workflows.

### When should you use it?

Use it when the task matches these tags: Coding rules, LLM coding, Planning.

## 中文 3W FAQ

### What：这个 skill 是什么？

沉淀 Karpathy 的四条 LLM 编码规则：先思考再写代码、简单优先、精准改动、目标驱动执行。

### Who：适合谁使用？

适合处理 dev、meta-tools 工作流的团队、运营人员、开发者或 AI Agent。

### When：什么时候使用？

当任务涉及 编码规则、LLM 编码、规划，或需要沉淀为 Claude Skills、Codex Skills、Gemini Skills、Kimi Skills、GLM Skills 或团队 SOP 时使用。
