necessity-first SKILL.md skillA
necessity-first from komluk/scaffolding is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add komluk/scaffolding/necessity-first@git:20261020.ac850adPins git:20261020.ac850ad in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- komluk/scaffolding
- Path
skills/necessity-first/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261020.ac850ad, committed Oct 20, 2026
- Size
- 5,049 bytes
- Repository stars
- 16
- License
- MIT
Necessity (YAGNI) gate before writing code: delete, reuse, stdlib, one-liner, then minimum. TRIGGER when: about to add code, a feature, a dependency or an abstraction. SKIP: sequencing a plan (planning-methodology); scoring a plan (quality-validation); checking finished work (verification-before-completion).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Necessity First ## Purpose The cheapest code is code that never gets written. This skill is a gate that runs **after** you understand the problem and **before** you implement: climb a short ladder and stop at the first rung that solves it. The goal is the smallest change that actually works, not the most impressive one. Be lazy about the **solution**, never negligent about **correctness or safety**. Hardening, extra layers and "best practice" beyond what the task needs are an *option to offer*, not a default to impose. ## When to Apply TRIGGER when: - About to write new code, a new file, a new module, or a new abstraction - About to add a dependency, config option, flag, or extension point - A request sounds bigger than the problem it describes SKIP (use the named skill instead): - Ordering the steps of a plan once the approach is chosen — `planning-methodology` - Scoring a ResearchPack or plan against quality gates — `quality-validation` - Proving finished work is done by executing it — `verification-before-completion` - Writing OpenSpec design.md / tasks.md — `spec-design` - Matching the existing code style once you do write code — `pattern-recognition` …
Read the whole file at its exact version.
How to install
mdr add komluk/scaffolding/necessity-first@sha256:8152d93c9930aa60The line at the top of this page pins the label git:20261020.ac850ad, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_yybll3xqj57qfjhd)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 20, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5049 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
komluk/scaffolding · 16 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_yybll3xqj57qfjhd GET https://markdownregistry.com/api/v1/resolve?ref=komluk/scaffolding/necessity-first GET https://markdownregistry.com/api/v1/blob/8152d93c9930aa6030285aa5c87564300e35e5a5798d6b3486a4463a9523b4de
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.