Skip to content

Commit 66cc098

Browse files
committed
feat: update karpathy-guidelines.md
1 parent b9117ec commit 66cc098

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

templates/skills/karpathy-guidelines.md

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
name: karpathy-guidelines
33
description: 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.
4-
license: MIT
54
---
65

76
# Karpathy Guidelines
@@ -52,15 +51,6 @@ The test: Every changed line should trace directly to the user's request.
5251

5352
**Define success criteria. Loop until verified.**
5453

55-
Before implementing, define the exact observable acceptance check:
56-
- Command output
57-
- Test assertion
58-
- UI state
59-
- File diff
60-
- API response
61-
62-
Do not start implementation if "works" cannot be checked objectively. If the check is unclear and would change the solution, ask before coding using AskUserQuestion tool.
63-
6454
Transform tasks into verifiable goals:
6555
- "Add validation" → "Write tests for invalid inputs, then make them pass"
6656
- "Fix the bug" → "Write a test that reproduces it, then make it pass"
@@ -73,17 +63,4 @@ For multi-step tasks, state a brief plan:
7363
3. [Step] → verify: [check]
7464
```
7565

76-
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.
77-
78-
## 5. No Proxy Success
79-
80-
**Passing means the acceptance check passes.**
81-
82-
Don't substitute weaker signals:
83-
- "No crash" unless that was the goal.
84-
- "Non-empty output" unless any output is valid.
85-
- "Looks plausible" unless the task is subjective.
86-
- "Some tests pass" while the target check fails.
87-
- "Implementation complete" without verification.
88-
89-
Report exact pass, partial progress, or failure.
66+
Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.

0 commit comments

Comments
 (0)