Skip to content
Development
Command

/karpathy-check

Pre-flight gate walking four Karpathy principles (think first, simplicity, surgical edits, goal-driven). Use before implementation.

From plugin
claude-night-market
343162 skills60 agents162 commands1 MCP
> /plugin marketplace add athola/claude-night-market

Command definition

karpathy-check.md
name: karpathy-check
description: 'Pre-flight gate walking four Karpathy principles (think first, simplicity, surgical edits, goal-driven). Use before implementation.'
usage: /karpathy-check [task description]

Karpathy Check

A four-question pre-flight gate adapted from observations on common LLM coding pitfalls. Loads the `imbue:karpathy-principles` skill and walks each principle as a checkable question.

Usage

# Run as an inline pre-flight before starting work
/imbue:karpathy-check

# Pass a task description to anchor the check
/imbue:karpathy-check Add rate limiting to the signup endpoint

What It Does

1. Loads `Skill(imbue:karpathy-principles)`. 2. Walks the four-question battery:

  • Think Before Coding: did I list assumptions, or

guess silently?

  • Simplicity First: would a senior engineer call

this overcomplicated?

  • Surgical Changes: does every changed line trace to

the request?

  • Goal-Driven Execution: can I prove this is done

with a check, not a feeling? 3. For each question, captures the answer and any blockers. 4. Outputs a verdict: PASS, NEEDS CLARIFICATION, or REWORK.

Verdict Semantics

  • **PASS**: all four answered concretely. Begin

implementation.

  • **NEEDS CLARIFICATION**: at least one assumption or

ambiguity needs the user's input. Surface the question, do not guess.

  • **REWORK**: the plan as drafted will violate one or

more principles. Reshape before starting.

When to Use

  • Before any non-trivial implementation
  • When converting a vague request into a verifiable plan
  • During code review, applied to your own diff
  • When a task feels "too easy" (often a sign of hidden

assumptions)

When NOT to Use

  • Trivial typos and one-line fixes
  • Throwaway scripts and exploratory spikes
  • Documentation-only changes
  • Production fires where the failing test wait is too

long

See `modules/tradeoff-acknowledgment.md` in the skill for the full boundary discussion.

Related

  • `Skill(imbue:karpathy-principles)` - the underlying

four-principle synthesis

  • `Skill(imbue:scope-guard)` - worthiness scoring before

the four-question gate

  • `Skill(imbue:proof-of-work)` - Iron Law TDD enforcement

after the gate clears

  • `/imbue:justify` - post-implementation audit using the

same principles in reverse

Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other commands on claude-night-market.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command