karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
Security Assessment
About karpathy-guidelines
The 'karpathy-guidelines' skill provides a set of behavioral guidelines aimed at reducing common coding mistakes associated with large language models (LLMs). By emphasizing caution over speed, this skill helps developers avoid overcomplicated solutions and encourages them to make surgical changes to code. It addresses the frequent pitfalls observed in LLM coding practices, ensuring that developers can write, review, and refactor code more effectively and efficiently. The guidelines promote clarity in assumptions, simplicity in code, and a goal-driven approach to execution, ultimately leading to better coding practices and outcomes.
FAQ
How do I implement the karpathy-guidelines in my coding process?
You can integrate the guidelines by following the outlined principles during writing, reviewing, or refactoring code.
Are these guidelines compatible with all programming languages?
Yes, the principles can be applied across various programming languages as they focus on coding practices rather than specific language features.
What are the limitations of using the karpathy-guidelines?
The guidelines may not cover every specific scenario, and developers should use their judgment for trivial tasks.
Can these guidelines help in team coding environments?
Absolutely, they promote clear communication and shared understanding, which are beneficial in collaborative settings.
Is there a specific audience that should use these guidelines?
These guidelines are particularly useful for software engineers, code reviewers, and anyone involved in coding tasks with LLMs.
Install karpathy-guidelines
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
forrestchang/andrej-karpathy-skills