From Minimal Code
Always-on discipline to write the SMALLEST code that fully satisfies the requirement — never thousands of debug-hostile lines — WITHOUT cutting validation, error handling, security, or accessibility. Walk THE LADDER before writing any code and stop at the first rung that holds. Use when writing, adding, or refactoring ANY code in this marketplace (the minimalist plugin injects this at session start and re-nudges every turn unless mode=off); consult it the moment you are about to add an abstraction, a dependency, a file, or boilerplate, and to reconcile laziness with the active builder PLAN.
How this skill is triggered — by the user, by Claude, or both
Slash command
/minimalist:minimal-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Lazy = efficient, not careless. The best code is the code never written;** the
Lazy = efficient, not careless. The best code is the code never written; the second best is the code a maintainer can hold in their head. Minimal is the default, never an excuse to drop validation, error handling, security, or accessibility.
Before writing any code, walk down and stop at the first rung that applies:
You only descend a rung when the one above genuinely does not hold — and you say so in one phrase if it is not obvious.
Minimal stops the moment it would cut a load-bearing safeguard. Never drop, in the name of brevity:
A guardrail is not boilerplate. Cutting one is not "lazy", it is a defect.
YAGNI applies ONLY to UNREQUESTED scope. It is not licence to skip mandated work.
.claude/builder/PLAN.md), its coverage map, or the
user mandates is in-scope and must NOT be skipped. Minimal ≠ incomplete.### Task <id> — edge-case coverage map to .claude/builder/CHANGELOG.md (each enumerated case →
handled at file:line | covered by <test> | DEFERRED: <reason>), and the release gate
(verify-release.sh) BLOCKS a task whose id has no such structured marker. Writing less code
never excuses a missing coverage marker.bd:min: MARKERWhen you take an intentional shortcut with a known ceiling, leave a one-line comment in the code:
# bd:min: <the ceiling this version accepts> — upgrade: <the concrete path past it>
It names both the ceiling (what this minimal version does NOT yet handle) and the upgrade
path (what to do when the ceiling is reached). A bd:min: marker is a deliberate, signposted
trade-off — never a silent gap, and never a substitute for a never-cut guardrail above.
Set via /minimize (writes .claude/minimalist/mode); both injector hooks and the skill read it.
Default full.
bd:min: marker on every intentional shortcut.bd:min: marker is mandatory for any
non-obvious amount of code.Before adding ANY file or dependency, write one line naming the rung (2–4) you first ruled out and why. If you cannot, you are not yet at rung 6 — go back up the ladder.
Ladder adapted from Ponytail by Dietrich Gebert (MIT). Packaging, the bd:min: marker, the
mode/STATUS state, the PLAN/gate reconciliation, and the tests are this repository's house style.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.
npx claudepluginhub hafizmirhamza276-lab/backend-agentic-marketplace --plugin minimalist