apply-karpathy-guidelines
CommunityWrite better code, avoid LLM pitfalls.
Software Engineering#code quality#debugging#refactoring#software development#coding guidelines#llm best practices
Authorjah377
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses common coding mistakes made by Large Language Models, promoting more robust, efficient, and maintainable code by guiding users through a structured thinking and implementation process.
Core Features & Use Cases
- Pre-coding Checklist: Ensures assumptions are stated, tradeoffs are considered, and clarity is achieved before implementation.
- Simplicity Enforcement: Guides users to write the minimum necessary code, avoiding speculative features or over-abstraction.
- Surgical Editing: Promotes focused changes, touching only what is required and cleaning up only the immediate impact of modifications.
- Goal-Oriented Development: Encourages defining verifiable success criteria to ensure tasks are completed correctly and efficiently.
- Use Case: When refactoring a complex function, use these guidelines to ensure you only modify the necessary parts, define clear tests for the changes, and avoid introducing new issues.
Quick Start
Before writing any code, state your assumptions and define clear success criteria for the task.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: apply-karpathy-guidelines Download link: https://github.com/jah377/dotfiles/archive/main.zip#apply-karpathy-guidelines Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.