What problem does it solve?
Code changes often grow beyond the stated request through scope creep, duplicated helpers, speculative generality, and unnecessary new dependencies. This Skill enforces a minimal-code discipline so diffs stay small, obviously correct, and free of reinvented utilities.
Core Features & Use Cases
- Existence-First Planning: Questions whether a change needs to exist at all before writing any code, skipping work that serves only speculative future needs.
- Reuse and Dependency Ladder: Searches the codebase for existing helpers before writing new ones, and prefers standard library, then platform-native capability, then installed dependencies over hand-written code.
- Protected Non-Negotiables: Guarantees that validation at trust boundaries, error handling, security controls, accessibility, and explicitly requested scope are never minimized away.
- Use Case: When asked to add a small feature, the Skill guides the AI to reuse an existing helper two files away, avoid adding a new npm package, and ship the shortest correct diff with tests still passing.
Quick Start
Ask the AI to implement the requested change using the minimal-code-discipline skill so the diff stays as small as possible without cutting validation or error handling.