Skip to content
Skills Library
Programming · Building & coding

keep-it-simple

/keep-it-simple

Use whenever writing or changing code — features, bug fixes, refactors, adding logic or utilities, or choosing between implementation approaches. Prevents over-engineering: reuse existing code, prefer built-ins and popular well-maintained packages over hand-written logic, pick the easiest approach, keep the diff minimal — but always finish the task completely, even when it truly needs many files.

Licence
MIT
Last repository change
09.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use whenever writing or changing code — features, bug fixes, refactors, adding logic or utilities, or choosing between implementation approaches. Prevents over-engineering: reuse existing code, prefer built-ins and popular well-maintained packages over hand-written logic, pick the easiest approach, keep the diff minimal — but always finish the task completely, even when it truly needs many files.

Original author description

Use whenever writing or changing code — features, bug fixes, refactors, adding logic or utilities, or choosing between implementation approaches. Prevents over-engineering: reuse existing code, prefer built-ins and popular well-maintained packages over hand-written logic, pick the easiest approach, keep the diff minimal — but always finish the task completely, even when it truly needs many files.

How it works

  1. 1. Decision ladder
  2. 2. Packages over hand-rolled logic
  3. 3. Easiest approach first
  4. 4. Minimal diff
  5. 5. Completeness rule (critical)
  6. 6. Before you finish
  7. 7. Examples
Original SKILL.md headings · 61 lines, 556 words
SKILL.md preview
---
name: keep-it-simple
description: "Use whenever writing or changing code — features, bug fixes, refactors, adding logic or utilities, or choosing between implementation approaches. Prevents over-engineering: reuse existing code, prefer built-ins and popular well-maintained packages over hand-written logic, pick the easiest approach, keep the diff minimal — but always finish the task completely, even when it truly needs many files."
---

# Keep It Simple

Goal: the **easiest solution that fully completes the task**. Over-engineering means *unneeded complexity*, not *needed scope*. Simple never means half-done.

## 1. Decision ladder

Before writing code, walk this ladder and stop at the first rung that works:

1. **Existing code in the repo** — a helper, hook, component, or util that already does it.
2. **Language / platform built-in** — e.g. `structuredClone`, `crypto.randomUUID`, `Intl.DateTimeFormat`, `Intl.RelativeTimeFormat`, `Intl.NumberFormat`, `fetch`, `URL`, `URLSearchParams`, `AbortController`, `Array.prototype.toSorted`, `Object.groupBy`.
3. **A dependency already installed** — check `package.json` (or equivalent) first.
4. **A popular, well-maintained package** — see section 2.
5. **Minimal new code** — the smallest thing that works.
6. **New abstraction** — last resort, only when there are already several real uses.

## 2. Packages over hand-rolled logic

Before hand-writing non-trivial logic, check whether a well-known package solves it. Typical cases: dates/timezones, schema validation, parsing (CSV, YAML, Markdown, query strings), retries/backoff, debounce/throttle, deep merge/equality, slugify, i18n, sanitizing HTML, cron parsing, file globbing, CLI arg parsing.

A good package is: actively maintained, widely used, license-compatible, reasonably sized.

Do **not** add a package for 2–3 lines a built-in already covers. If the project restricts dependencies (or you are unsure), ask the user before adding one.

## 3. Easiest approach first

- Pick the simplest solution that meets the actual requirements.
- No speculative work: no abstractions, config options, interfaces with one implementation, factories, plugin systems, or generic layers "for the future".
- Match the existing patterns of the codebase instead of introducing new ones.
- If a heavier option has a real tradeoff, mention it in one line — don't build it.

## 4. Minimal diff

- Touch only the files the task needs.
- No drive-by refactors, renames, reformatting, or unrelated "improvements".
- Spotted something else worth fixing? Mention it; don't do it unasked.

## 5. Completeness rule (critical)

Minimal is not incomplete. If the task genuinely needs many files — a rename used across the codebase, a feature spanning API + UI + DB, a type change that ripples through callers, a migration — **do all of it**.

Never leave: TODOs or stubs in place of the work, broken or un-updated callers, "the rest is left for you", or tests that no longer compile.

## 6. Before you finish

- Could a built-in, existing helper, or installed package replace code I wrote?
- Did I change any file the task didn't require?
- Did I add an abstraction, option, or layer with only one use?
- Is the task fully done and working, with every affected place updated?

## 7. Examples

| Task | Over-engineered | Simple |
|---|---|---|
| Show "3 days ago" | Hand-written date diff + pluralization util | `Intl.RelativeTimeFormat`, or `date-fns` if already installed |
| Validate a form payload | Custom validator framework | `zod` (or the validator the project already uses) |
| Add a timeout setting | New `ConfigManager` class + loader | One constant or env var read where it's used |
| Toggle logging with a flag | Changes in 6 files, new `Logger` interface | 1–2 files: read env var, guard the log call |
| Unique ID | Custom random-string generator | `crypto.randomUUID()` |
| Rename `getUser` → `fetchUser` | — (too little is the risk here) | Update **all** 14 usages, not just 3 |

Versions

RepositoryScoreLicence
This page · paiman05/keep-it-simple100MIT
tzachbon/srulik-toolkit86MIT

Database snapshot: 13.11.2026 · package version b0b256f65a18 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90engineering-craft
    Use when writing or changing any production code or tests — new features, bug fixes, refactors, or test authoring, in any language, by any model on any CLI.
  • 90team-shinchan:implement
    Use when you need quick code implementation for features, bug fixes, or utilities.
  • 100fast-small-task
    Deliver a small, low-risk change in an existing codebase with the minimum edit and targeted verification, then hand off to fast-small-review. Use for a single page, component, module, copy, style, config value or simple bug fix ("hide this button", "change this message", "fix…
  • 90minimal
    Use for code implementation, bug fixes, refactoring, UI or data-logic changes, tests, and code review. Before every meaningful action, decide whether it is necessary, overcomplicated, or replaceable by a simpler correct approach. Enforce the smallest correct change and reject…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.