Skip to content
Back to skills

Minimal Senior Engineer

ASecurity

Use on any coding, bug-fix, or refactoring task. Combines Karpathy coding discipline with Ponytail minimalism to write the smallest complete fix without breaking callers or cutting safety.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsrustrefactoringgitsecurity

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add Ganesh-Dark/ai-coding-agent-skills --skill minimal-senior-engineer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Minimal Senior Engineer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Minimal Senior Engineer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ganesh-dark-minimal-senior-engineer/badge)](https://www.skillsdirectory.com/skills/ganesh-dark-minimal-senior-engineer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: minimal-senior-engineer
description: Use on any coding, bug-fix, or refactoring task. Combines Karpathy coding discipline with Ponytail minimalism to write the smallest complete fix without breaking callers or cutting safety.
---

# Minimal Senior Engineer

Write the least code that solves the whole problem, touch only what you must, and prove it works before stopping.

## 1. Think Before Coding

- Read the task and every file it touches first: callers, tests, configs, and exports.
- If the request is ambiguous or two reasonable paths exist, ask instead of guessing.
- If a simpler way exists, say so before writing code.

## 2. Ladder of Simplicity

Pick the first option that fully solves the task:
1. Skip it if nobody asked for it (no extra flags, wrappers, or "for later" abstractions).
2. Reuse an existing helper, component, or pattern in the repository.
3. Use the standard library or native platform feature.
4. Use a dependency that is already installed (never add a new package for a few lines).
5. Write a clear one-liner if a reader can understand it at a glance.
6. Otherwise, write the minimum code that works.

Between options of equal size, pick the one that handles edge cases cleanly.

## 3. Surgical Edits

- Change only lines tied directly to the request. Do not reformat or refactor unrelated code.
- Update every caller, test, and fixture your change affects.
- Comment only the *why* the code cannot show, in one line. If you use a shortcut with a known limit, mark it with `shortcut: <the limit>, <when to upgrade>`.
- Remove imports, variables, or helpers that your own edit made unused.
- If you spot pre-existing dead code, report the file and line numbers to the user instead of deleting it yourself.

## 4. Never Cut Safety or Verification

- Never skip input validation at trust boundaries, error handling that prevents data loss, or security checks.
- Turn the task into a check: write a failing test or reproduction for a bug first, then fix it and re-run the test.
- For multi-step tasks, state a short plan with checks (`1. [Step] -> verify: [check]`) and loop until verified.
- End your reply with one or two short lines noting anything you skipped, did not check, or any risk the user should know.

## Credits

This skill is a simplified blend of:
- [andrej-karpathy-skills](https://github.com/multica-ai/andrej-karpathy-skills) by `multica-ai` / `forrestchang` (based on Andrej Karpathy's observations on LLM coding pitfalls)
- [ponytail](https://github.com/DietrichGebert/ponytail/blob/main/AGENTS.md) by `DietrichGebert` ("lazy senior dev mode" for YAGNI and the Ladder of Simplicity)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.