agentleFS
clice-ioclice-io/clice/.claude/skills/simplify-design/SKILL.md

simplify-design

Skill2k starsChanged 5 days agoApache-2.0View on GitHub

Use when asked, or before opening a PR whose work grew fix by fix — guards, flags, states or parallel paths added one after another as each problem showed up: rethink the requirement from first principles, cut what it does not need, and rewrite the design to the simplest shape that meets it. Not for a small change, a clean staged implementation, or the review rounds of an open PR.

1 other project uses a version of this.

Trending

More talk lately.thin dataabout the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 3 mentionsNov 2026: 6 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the clice-io/clice repository that our weekly crawl found: only 11 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about clice-io/clice

The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 11

Talked about on GitHub (11 times).

On GitHub · 11

6 more on GitHub
  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. shomoD9/d-stack★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository11 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before reading the diff, sketch the smallest design that meets the requirement: its data, its invariants, the one flow through it.

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Simplifying a design

A long run of fixes leaves its history in the code: a guard per failure met, a flag per case, a structure that served one step and outlived it, two paths where one would do. Each commit was reasonable; together they are not what someone who knew the final requirement would write. This pass writes that.

1. The requirement

  • What the user — an editor, the CLI, an agent — sees when it works, in a few sentences, from the task and the conversation rather than from the code.
  • The facts about clice the solution rests on, each checked in the code ("only units are indexed; a header through the units that read it").
  • Why each piece was added: the commit messages, and the session's history where it is searchable (search_history); read them instead of guessing.

2. The design from scratch

Before reading the diff, sketch the smallest design that meets the requirement: its data, its invariants, the one flow through it. Reading the branch first anchors the design on its accidental structure.

3. What the branch added

From git diff origin/main...HEAD, list every mechanism the commits introduced — a type, a field, a parameter, an option, a branch, a cache, a retry, a fallback, a state, a wrapper that only passes things on. Each earns its place against the sketch, by the user-visible failure it answers and who reaches it (CLAUDE.md, "Ask who hits a corner case"; cpp-style, "Redundancy Is a Defect"). One that answers a reviewer's hypothetical or a step that is gone is deleted. One a real workflow reaches but not worth the cost becomes a // LIMITATION: only once the maintainer accepts it.

4. The structure

The directory test, before the rewrite and after it: every file and type the branch touched or added, each in one sentence — what it is, and why it stands alone. A sentence that needs "and" to join two things, a name that does not match the content, two files calling each other, a word with two meanings, a helper with one caller in a lower layer are structure problems, fixed in this pass.

5. The rewrite

  • The new shape has fewer concepts — states, types, branches, layers — than the old one, not the same ones moved around. When the branch already is the simplest shape, the pass ends here, with no change.
  • Behavior stays, and the tests are its contract: only a test of an internal the rewrite removed goes, and only while the behavior it reached stays covered by another; every other test passes unchanged.
  • A small duplicate that only a new wrapper would remove stays.
  • What CLAUDE.md's "Calibrate confirmation to impact" asks to propose first — a change users see, an interface other code depends on, an architecture decision — is proposed first, and so are a new // LIMITATION: and the deletion of a test.

6. The report

What was cut and why (the failure it answered, or that it answered none), what was restructured, every test deleted, and what users see differently — each with who reaches it. Then the pull-request skill, from its self-review on.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.