Karpathy Guidelines help reduce common mistakes when an AI writes code. They focus on keeping things simple and avoiding overcomplication. The guidelines come from Andrej Karpathy's observations about AI coding pitfalls.
Before writing any code, you should think first. State your assumptions clearly. If something is confusing, ask for clarification. Always choose the simplest solution that works. Do not add extra features no one asked for.
When editing existing code, make only the changes needed. Do not improve unrelated parts. Define clear success criteria for each task. This way you can check if the work is done correctly without constant help.
Global
mkdir -p ~/.claude/skills/karpathy-guidelinesProject
mkdir -p .claude/skills/karpathy-guidelinesSource Repository
Find Skillsvercel-labs/skills
Find and install the perfect skill to extend your AI agent
Microsoft Foundrymicrosoft/azure-skills
Build, deploy, and improve AI agents on Microsoft Foundry from start to finish
Azure Aimicrosoft/azure-skills
Search, transcribe, and analyze with Azure AI tools for smarter apps
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Build, deploy, and manage your Copilot SDK apps on Azure with ease
Triagemattpocock/skills
Triage issues with a state machine driven by clear roles and agent briefs
Handoffmattpocock/skills
Hand off your work to another AI agent with a clear summary
Image Editagentspace-so/runcomfy-agent-skills
Smart router picks the best AI model for your image editing needs
Agentspaceagentspace-so/skills
See your AI agent's live folder from any browser instantly