agentsclimarketplace

Simplify code

Skill 26zl/universal-agent-skills/skills/simplify-code

Canonical Agent Skills with idempotent cross-agent installers for Claude Code, Codex, OpenCode, and GitHub Copilot

Install
npx -y skills add 26zl/universal-agent-skills --skill simplify-code

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 14 days oldThe repository was created 14 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Simplify recently changed or user-selected code while preserving observable behavior, public APIs, tests, and required safeguards. Use when asked to simplify, clean up, refactor for clarity, reduce nesting, remove duplication, or review an implementation for unnecessary complexity.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.2 KB, as published. Nobody here has run it

Simplify code

  1. Read the target code, nearby tests, and repository guidance before editing.
  2. Preserve observable behavior, public interfaces, error handling, security boundaries, and required compatibility unless the user explicitly requests a change.
  3. Prefer direct control flow, clear names, existing abstractions, and fewer moving parts.
  4. Remove dead code, redundant wrappers, needless indirection, duplicate branches, and comments that only restate the code.
  5. Keep comments only for non-obvious intent, constraints, invariants, workarounds, or tradeoffs. Write them in a short, neutral voice without process narration.
  6. Avoid broad rewrites, speculative abstractions, dependency changes, and unrelated formatting.
  7. Run focused tests or checks that demonstrate behavior was preserved. Report any unverified area plainly.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.