agentleFS
EzraAppleEzraApple/skills-init/skills/simplify/SKILL.md

simplify

Skill2 starsChanged 47 days agoMITView on GitHub

Simplify existing code or a proposed change while preserving behavior. Use for an explicit cleanup or complexity review.

130 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use codex-system, design-tracker and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • gaebalaiSkill

    codex-system

    PROACTIVELY consult Codex CLI, your highly capable supporter with exceptional reasoning and task completion abilities. Codex is a trusted expert you should ALWAYS consult BEFORE making decisions on: design choices, implementation approaches, debugging strategies, refactoring plans, or any non-trivial problem. When uncertain, consult Codex. Don't hesitate - Codex provides better analysis. Explicit triggers: "think deeper", "analyze", "second opinion", "consult codex".

    Also in 4 projects that use this

  • gaebalaiSkill

    design-tracker

    PROACTIVELY track and document project design decisions without being asked. Activate automatically when detecting architecture discussions, implementation decisions, pattern choices, library selections, or any technical decisions. Also use when user explicitly says "記録して", "設計どうなってる", "record this". Do NOT wait for user to ask - record important decisions immediately.

    Also in 4 projects that use this

  • mike22890Skill

    clonedeps

    将项目依赖的第三方库源码克隆到本地,便于深入阅读和调试。当需要查看库的实现细节、阅读源码、调试第三方依赖、理解 SDK/framework 内部机制、查看 node_modules 之外的原始代码、分析开源库架构、学习他人代码、查看依赖的 TypeScript 类型定义时使用。

    Also in 3 projects that use this

  • paulingramSkill

    verification-planning

    Use BEFORE verifying any claim -- fix, feature, deploy, diagnosis -- to choose HOW. Enumerate venues (local, dev, replay, seeded fixture, prod read-only), pick the cheapest faithful one, record a verification_plan. Adds cheaper-faithful-method-found; a gate needing a live environment makes the run PROVIDE one.

    Also in 3 projects that use this

  • codebycoreySkill

    batch

    Create multiple proposals from free-form feature descriptions. Use when planning several features at once, batch creating proposals, or setting up related changes.

    Also in 4 projects that use this

  • mehd-ioSkill

    dataviz

    Also in 3 projects that use this

  • +6 more from gaebalai

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 120 edited versions we read keep these.

  • 2

    Distinctive

    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:

    Prefer the direct version when it stays clear.

    line 15
  2. Distinctive:

    Keep mutable state in the smallest useful scope.

    line 25

“Common” is measured: kept by at least 6 in 10 of the 120 edited versions of this file we could read. “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

Simplify

Reduce the work needed to understand and safely change the code. Line count is only a clue: fewer layers with more hidden state can be harder to maintain.

Trace the behavior and real callers before deleting a boundary. Find decisions that are duplicated, values renamed across layers, state kept in sync with derivable values, and wrappers that only forward arguments.

Prefer the direct version when it stays clear. Consolidate ownership and remove unneeded paths before adding an abstraction. A helper earns its place by naming a coherent operation, hiding a real boundary, or removing meaningful repetition. Single use alone is not a reason to inline it.

Pass an existing domain value through unchanged when it already represents what the next operation needs. Keep translation where it protects a real wire, storage, or public contract. Merge paths only when their invariants and failure behavior match; shared syntax is not enough.

Keep mutable state in the smallest useful scope. Derive values instead of maintaining parallel copies. Replace scattered conditionals with a domain model only when it removes invalid states or repeated rules.

For a requested implementation, make the smallest behavior-preserving change and check the affected contract. For review, report the concrete simplification, its benefit, and any compatibility cost. Leave complexity that represents a real domain constraint; a forced abstraction or rewrite is not a simplification.

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.