explaingit

multica-ai/andrej-karpathy-skills

133,647Audience · developerComplexity · 1/5Setup · easy

TLDR

A single CLAUDE.md config file with four guiding principles that make AI coding assistants like Claude less likely to over-engineer, make silent assumptions, or touch code they shouldn't.

Mindmap

mindmap
  root((repo))
    What It Is
      CLAUDE.md config file
      AI coding principles
      Claude Code plugin
    Four Principles
      Think before coding
      Simplicity first
      Surgical changes
      Goal driven execution
    How To Install
      Global Claude plugin
      Drop in project folder
      Cursor setup
    Audience
      AI tool power users
      Developers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Install the CLAUDE.md as a Claude Code plugin to make your AI assistant ask before assuming, applied across all your projects.

USE CASE 2

Drop the file into a specific project folder to stop Claude from over-engineering solutions or touching unrelated code in that repo.

USE CASE 3

Use it as a reference template when writing your own CLAUDE.md to embed your team's specific coding principles into an AI assistant.

Getting it running

Difficulty · easy Time to first run · 5min

In plain English

This repository provides a single configuration file, called CLAUDE.md, designed to make AI coding assistants like Claude Code behave more reliably and produce cleaner results. It was inspired by observations from AI researcher Andrej Karpathy about common pitfalls when using large language models (LLMs, meaning AI systems that generate code or text) for programming tasks. The file installs four guiding principles into your AI assistant. The first, "Think Before Coding," tells the AI to state its assumptions out loud, ask for clarification when confused, and present tradeoffs instead of silently picking one approach. The second, "Simplicity First," pushes the AI to write the minimum amount of code needed, no extra features, no unnecessary abstractions, no speculative flexibility. The third, "Surgical Changes," means the AI should only touch the specific lines relevant to your request and leave everything else alone. The fourth, "Goal-Driven Execution," transforms vague requests like "fix the bug" into verifiable goals with clear success checks, so the AI can loop independently until done. You would use this when you are working with an AI coding assistant and keep experiencing issues like the AI over-engineering solutions, making silent assumptions, touching code it shouldn't, or producing bloated pull requests. You can install it as a Claude Code plugin (making it available across all projects) or simply drop the CLAUDE.md file into a specific project folder. It also includes a setup for Cursor, another AI coding tool.

Copy-paste prompts

Prompt 1
Before implementing my feature request, apply the Think Before Coding principle: state your assumptions, ask me any clarifying questions, then list the tradeoffs before writing a line of code.
Prompt 2
Apply the Simplicity First principle from andrej-karpathy-skills to refactor this function, write the minimum code needed with no abstractions: [paste function]
Prompt 3
Using the Surgical Changes principle, review my pull request and flag any changes that touch code outside the stated goal of the PR.
Prompt 4
Set up the andrej-karpathy-skills CLAUDE.md as a Claude Code global plugin so it applies to all my projects, show me the exact commands to run.
Open on GitHub → Explain another repo

← multica-ai on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.