/builder:karpathy-guidelinesfrom builder
Think before coding, keep changes surgical, and execute goal-driven. Use when writing, editing, reviewing, or refactoring code to surface assumptions and tradeoffs, avoid touching unrelated code, clean up only your own mess, and define verifiable success criteria before implementing. Pairs with ponytail (simplicity).
Ships in builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Tradeoff: these rules bias toward caution over speed. For trivial tasks (e.g. typo fixes, obvious one-liners), use judgment.
Don't assume. Don't hide confusion. Surface tradeoffs.
Before implementing:
Ask vs. proceed: state assumptions and proceed when the cost of being wrong is low (a wrong guess is cheap to detect and redo). Stop and ask when the step is hard to undo (deletions, schema changes, published interfaces, anything irreversible) or when confusion persists after investigation.
Minimum code that solves the problem. Nothing speculative.
The test: would a senior engineer call this overcomplicated? If yes, simplify.
This principle overlaps the ponytail skill, which covers it in depth
(intensity levels, the six-step ladder, when not to be lazy). When both skills
are loaded, ponytail is the authority on simplicity; this section is the
summary.
Touch only what you must. Clean up only your own mess.
When editing existing code:
When your changes create orphans:
The test: every changed line should trace directly to the user's request. Before finishing, review the diff and justify each hunk.
Define success criteria. Loop until verified.
Transform imperative tasks into verifiable goals:
For multi-step tasks, state a brief plan with a verification step per step:
1. [Step] -> verify: [check]
2. [Step] -> verify: [check]
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.
Before reporting a coding task done:
Project conventions outrank everything here. If a project's explicit standards conflict with these rules, follow the project. These rules also defer to the user's direct instructions on any single task.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub thimslugga/agent-plugins --plugin builder43 skills in this plugin
/adrCreate and maintain Architecture Decision Records (ADRs). Use when the user proposes a significant architectural change, records a refactoring decision, resolves a technical debate, or asks to write, update, deprecate, or supersede an ADR./asd-ste100Use when English text must be parsed without a human to resolve ambiguity — tool descriptions, error messages, inter-agent instructions, system prompts, status reports — and misreading has a real cost, or when text reads as dense, hedged, or easy to misparse. Triggers: disambiguate, STE100 rewrite, apply Simplified Technical English, plain-language rewrite, controlled-language rewrite, rewrite so an agent cannot misread this. Not for creative or marketing copy./ast-grepGuide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics./ast-grep-outlineUse when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full source./autoresearch'Autonomous iterative experimentation loop for any programming task. Guides the user through defining goals, measurable metrics, and scope constraints, then runs an autonomous loop of code changes, testing, measuring, and keeping/discarding results. Inspired by Karpathy''s autoresearch. USE FOR: autonomous improvement, iterative optimization, experiment loop, auto research, performance tuning, automated experimentation, hill climbing, try things automatically, optimize code, run experiments, autonomous coding loop. DO NOT USE FOR: one-shot tasks, simple bug fixes, code review, or tasks without a measurable metric.'/browser39Use this skill whenever you need to search the web using browser39's MCP tools. Handles CAPTCHA avoidance via automatic search engine rotation and optimises browsing speed using browser39's content preselection system. Triggers when using browser39_search, browser39_fetch, or any browser39 tool to retrieve web content. Replaces naive single-engine searches with a resilient, token-efficient strategy.