From rsoatto-skills
Additional behavioral guidelines that extend andrej-karpathy-skills. Use when writing, reviewing, or refactoring code to handle ambiguity, conflicts, context management, test intent, convention-matching, and failure visibility.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rsoatto-skills:additional-coding-principlesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
These extend `andrej-karpathy-skills:karpathy-guidelines`. Both skills should be applied together when coding.
These extend andrej-karpathy-skills:karpathy-guidelines. Both skills should be applied together when coding.
Bias: caution over speed on non-trivial work; use judgment on trivial tasks.
If a task is deterministic — parsing, transforming, routing, retries, sorting, validation — write code. Don't invoke the model for work that code does better and more reliably. Regex over LLM-call when regex fits.
When a thread gets long or wanders, propose a summary and reset rather than continuing in a state you can't describe back. Surface when you're about to do something context-expensive (large file reads, broad searches, long agent runs).
If two patterns contradict, pick one — favor the more recent or more tested — explain why, and flag the other for cleanup. Don't blend conflicting patterns into a third thing that satisfies neither.
Before adding code, read exports, immediate callers, and shared utilities. "Looks orthogonal" is dangerous. If you can't explain why existing code is structured the way it is, ask before changing it.
Tests must encode why behavior matters, not just what it does. A test that still passes after the business logic changes is a test that isn't really testing the business logic.
After each significant step, restate what's verified, what's pending, and any open uncertainty. Skip for trivial work. Don't continue from a state you can't describe back to the user.
Conformance beats personal taste inside a codebase. If a convention is genuinely harmful, surface it explicitly — don't fork silently.
"Completed" is wrong if anything was skipped silently. "Tests pass" is wrong if any were skipped. Default to surfacing uncertainty rather than hiding it.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub rsoatto/claude-skills --plugin rsoatto-skills