minimalist — Claude Code skill: what it does, how to install
Stops Claude Code from over-engineering and installing unnecessary packages. It enforces a strict ladder to prioritize standard libraries and existing code.
/plugin marketplace add alirezarezvani/claude-skills
/plugin install engineering-advanced-skills@claude-code-skillsWhat minimalist does
The skill enforces a seven-step efficiency ladder on the AI agent. Before drafting new logic, Claude Code checks YAGNI, inspects the codebase for reusable code, and checks the standard library. Only when standard modules, native platform features, or existing dependencies cannot solve the problem will the agent write new code.
The instructions forbid single-use helper classes, preemptive abstractions, and installing packages for one-line tasks. The agent also skips unrequested docstrings, logging, and error handling for impossible edge cases. It keeps pull request diffs as compact as possible.
Install this if you are tired of deleting boilerplate interfaces generated for hypothetical future needs. Skip it if your workflow requires explicit verbose documentation and logging out of the box.
What it helps with
- Stop the agent from installing packages for simple one-line tasks
- Prevent single-use helper classes and speculative abstractions
- Enforce standard library and native platform feature reuse
- Keep code diffs focused on the shortest working solution
Example prompts for the agent
- Parse this configuration file using standard library features only
- Refactor this service to remove unrequested helper classes and boilerplate
- Implement basic file caching with the shortest possible working diff
How to install minimalist
1Plugin marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install engineering-advanced-skills@claude-code-skillsThis installs the whole engineering-advanced-skills plugin with all its skills
2Skills CLI (Vercel)
npx skills add alirezarezvani/claude-skills --skill minimalist -a claude-code3Manually: put the files in place
~/.claude/skills/minimalist/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/minimalist/
Manually: put the files in place
.agents/skills/minimalist/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/minimalist/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install alirezarezvani/claude-skills minimalist2Manually: put the files in place
.github/skills/minimalist/SKILL.mdPlatform CLI
gemini skills install https://github.com/alirezarezvani/claude-skills --path engineering/minimalistManually: put the files in place
.devin/skills/minimalist/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set349
The whole set →Similar
Questions about minimalist
How to install minimalist in Claude Code?
Run npx skills add alirezarezvani/claude-skills --skill minimalist -a claude-code or install the repository via /plugin marketplace add alirezarezvani/claude-skills.
What does the minimalist skill do?
It instructs Claude Code to follow an efficiency ladder: prioritize YAGNI, internal code reuse, and standard libraries before writing new logic.
Does minimalist write docstrings and logging by default?
No. The rules explicitly instruct the agent to skip comments, docstrings, and logging unless you specifically ask for them.
Source text
SKILL.md · MIT
--- name: "minimalist" description: "Use when the user asks to write code efficiently, avoid over-engineering, reduce dependencies, or prevent unnecessary abstractions. Enforces a strict efficiency ladder: YAGNI, reuse, stdlib, native platform, existing deps — before writing any new code." --- # Minimalist You are highly efficient. The best code is the code never written. ## Overview Use this skill whenever the goal is to solve a problem with the least code possible. It prevents common AI failure modes: inventing helper classes for single-use logic, installing packages for one-line operations, and producing boilerplate that the user will never need. ## The Efficiency Ladder Before writing any new code, stop at the first rung that holds: 1. **YAGNI** — Does this need to be built at all? If the user hasn't asked for it, don't build it. 2. **Reuse** — Does it already exist in this codebase? Find the helper, util, or pattern and reuse it. 3. **Standard Library** — Does the standard library already do this? Use it directly. 4. **Native Platform** — Does a native platform feature cover it? Use it. 5. **Existing Dependency** — Does an already-installed dependency solve it? Use it. 6. **One-Liner** — Can this be one line? Make it one line. 7. **Minimum Code** — Only then, write the minimum code that works. ## Rules of Engagement - **No unrequested abstractions**: Do not invent interfaces, base classes, or generics for future-proofing unless the user explicitly asks. - **No unnecessary dependencies**: If the standard library can do it cleanly, do not install a package. - **No boilerplate**: Deletion over addition. Boring over clever. Fewest files possible. - **Question complex requests**: Ask "Do you actually need X, or does Y cover it?" before building X. - **Shortest working diff wins**: But only once you understand the problem. The smallest change in the wrong place isn't lazy — it's a second bug. ## Workflow When asked to implement something: 1. **Pause** before writing code. 2. **Walk the ladder** — can rungs 1–6 resolve this without new code? 3. **State your decision** — "Using stdlib `pathlib` instead of a custom file helper." 4. **Write minimum code** only if the ladder doesn't resolve it. 5. **Do not add** comments, logging, or error handling that wasn't asked for. ## Anti-Patterns | Anti-Pattern | What to do instead | |---|---| | Installing a package for a one-liner | Use the standard library | | Writing a class for a single function | Write the function | | Adding a config file for a single hardcoded value | Hardcode it until there are 2+ uses | | Creating a utility module before it's reused anywhere | Write inline, extract later | | Adding docstrings/comments the user didn't ask for | Skip them | | Building error handling for errors that can't happen | Skip it | | Adding logging before the code works | Ship the code first | ## Cross-References - Related: `engineering/strict-api` — prevents hallucinated APIs when writing minimal code; use together. - Related: `engineering/zero-hallucination-coder` — enforces verified-only API usage. - Related: `engineering/karpathy-coder` — Karpathy-inspired behavioral guidelines for LLM-assisted coding.
© Alireza Rezvani · MIT · alirezarezvani/claude-skills