karpathy-guidelines

Guide writing, reviewing, and refactoring code with language models.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/wyhlovecpp/my-codex-settings --skill karpathy-guidelines-wyhlovecpp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: karpathy-guidelines
Source: https://github.com/wyhlovecpp/my-codex-settings/tree/main/skills/by-category/engineering-tools/planning-methodology/karpathy-guidelines
Command: npx skills add https://github.com/wyhlovecpp/my-codex-settings --skill karpathy-guidelines-wyhlovecpp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides behavioral guidelines to reduce common language model coding mistakes and improve code quality through clear best practices.

Core Features & Use Cases

  • Behavioral Guidance: Offers recommendations for writing, reviewing, and refactoring code to prevent overcomplication and surface assumptions.
  • Operational Best Practices: Uses structured procedures for verifying code success criteria and executing deterministic scripts.
  • Use Case: Developers and reviewers can consult this Skill to ensure adherence to industry standards during code creation and review processes.

Quick Start

Use this Skill whenever you need to confirm coding best practices and behavioral guidelines for safe LLM development.

Frequently Asked Questions about karpathy-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for safe LLM coding and refactoring?

Best practices for safe LLM coding involve following behavioral guidelines to prevent overcomplication, surface hidden assumptions, and enforce deterministic execution during code generation and refactoring. This minimizes common language model mistakes.

How do I review code generated by language models for safety and clarity?

To review code generated by language models, apply structured operational guidelines that verify success criteria, validate deterministic scripts, and ensure adherence to industry coding standards. This surfaces assumptions and enhances overall safety.

Do I need specific coding standards to verify deterministic script execution?

You need operational coding standards to verify deterministic script execution. These guidelines provide structured procedures for checking success criteria, ensuring that language model outputs execute predictably and meet validation requirements.

When should I use structured guidelines for code generation instead of ad hoc prompting?

Use structured guidelines for code generation instead of ad hoc prompting when you need to minimize mistakes, ensure safety, and validate deterministic execution. This enforces best practices during writing, reviewing, and refactoring.