/forge:karpathy-guardrailsfrom forge
Enforces four behavioral guardrails (think before coding, simplicity first, surgical changes, goal-driven execution) to prevent over-engineering, silent assumptions, scope creep, and unfocused execution in AI agents.
Ships in forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Behavioral guardrails that all Forge agents MUST follow during execution. These four principles prevent the most common failure modes in AI-generated code: silent assumptions, over-engineering, scope creep, and unfocused execution.
These guardrails are referenced by forge-executor, forge-reviewer, and forge-planner agents. They are not optional.
Rule: Surface assumptions explicitly. Never hide confusion behind code.
Anti-pattern: Implementing "export users" without asking about scope, format, fields, or volume. Correct pattern: Flag ambiguity, present interpretations, get clarification.
Rule: Write the minimum code that solves only the stated problem.
Anti-pattern: Building abstract strategy patterns and dataclass configurations for a simple discount calculator. Correct pattern: Three lines of direct logic that solve the stated requirement.
Token impact: Simpler code uses fewer tokens to generate, review, and verify. Over-engineering wastes budget across the entire pipeline (executor + reviewer + verifier).
Rule: Modify only what is necessary to fulfill the task's requirements.
Anti-pattern: Fixing an empty email validation bug while also adding username length validation, reformatting the file, and upgrading the test framework. Correct pattern: Fix only the email validation. One bug, one fix, one commit.
Reviewer enforcement: The forge-reviewer MUST flag any changes that do not trace to an acceptance criterion as IMPORTANT (over-engineering).
Rule: Transform vague tasks into verifiable success criteria before writing code.
Why this works: LLMs excel at looping until specific goals are met. Clear success criteria enable independent verification and reduce back-and-forth clarification.
When these guardrails are working:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
guardrails, code-quality, scope-control, simplicity, agent-behavior
npx claudepluginhub lucasduys/forge --plugin forge10 skills in this plugin
/backpropagationTrace runtime bugs back to spec gaps — identify missing acceptance criteria, update specs, generate regression tests, and detect patterns/brainstormingInteractive spec generation — turn ideas into concrete specs with R-numbered requirements and testable acceptance criteria/caveman-internalInternal token optimization for Forge agent artifacts (handoff notes, artifact summaries, review notes). NOT exposed as a user-facing /caveman command./collaboratingHackathon-native multiplayer collaboration mode -- brain-dump together, claim tasks across machines, flag decisions async. Drives the subcommands of /forge:collaborate./design-systemDESIGN.md integration for Forge — ensures visual consistency across all UI tasks through standardized design specifications/executingAutonomous task implementation workflow — implement, test, review, commit for each task in the frontierOther plugins' skills for the same job