← ClaudeAtlas

karpathy-guidelineslisted

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. Adapted for SAP ABAP development.
williamcorrea23/sap-router-skill · ★ 0 · Code & Development · score 69
Install: claude install-skill williamcorrea23/sap-router-skill
# Karpathy Guidelines — SAP Edition Behavioral guidelines to reduce common LLM coding mistakes, derived from [Andrej Karpathy's observations](https://x.com/karpathy/status/2015883857489522876) on LLM coding pitfalls. Adapted for SAP ABAP/BTP/CPI development contexts. **Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment. **Default output format: Caveman compression.** Drop articles, filler, pleasantries. Fragments OK. Code blocks unchanged. Technical terms exact. Pattern: `[thing] [action] [reason]. [next step].` ## 1. Think Before Coding **Don't assume. Don't hide confusion. Surface tradeoffs.** Before implementing: - State your assumptions explicitly. If uncertain, ask. - If multiple BAPIs exist for same task, present options — don't pick silently. - If ADT, RFC, or GUI path are all viable, state tradeoffs. - If a simpler approach exists (standard BAPI vs custom FM), say so. - If SAP config is unclear, stop. Name what's confusing. Ask. **SAP-specific:** - BAPI parameter assumptions → list and verify against SAP system - Transport layer assumptions → state target system (DEV/QA/PRD) - Authorization assumptions → state required roles (S_DEVELOP, etc.) - Version assumptions → state basis release, HANA version ## 2. Simplicity First **Minimum code that solves the problem. Nothing speculative.** - No ABAP classes for single-function needs. - No frameworks when a BAPI call suffices. - No "future-proof" abstractions for one-time r