Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Simplify code without changing behaviour v1.0.0

Use this resource to simplify recent code while keeping its behaviour exactly the same

New

  • 497 downloads
  • 133 likes
  • 129 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install behavior-preserving-code-simplification

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent checks project conventions, limits the scope of changes and applies 47 rules to reduce complexity, duplication and dead code. You get clearer code whose outputs, errors and APIs stay identical.

Mostly picked by

Updated November 2, 2026

Card for the “Simplify code without changing behaviour” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules by category, from context discovery to dead code
  • references/behave-preserve-api.md: API preservation; references/behave-verify-before-commit.md: verification before commit

Good fit for

  • You want to tidy this week's changes without side effects
  • You are working in code whose conventions are unclear

Not for

    Tags

    • simplification
    • refactoring
    • readability
    • quality

    About

    You say

    “Simplify the files I changed today and keep exactly the same behaviour.”

    Card for the “Simplify code without changing behaviour” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to simplify recent code while keeping its behaviour exactly the same
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md114.2 KB
    • assets/templates/_template.md1.1 KB
    • LICENSE1.1 KB
    • metadata.json0.9 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md4.1 KB
    • references/_sections.md2 KB
    • references/behave-no-semantics-change.md3.2 KB
    • references/behave-preserve-api.md2.5 KB
    • references/behave-preserve-errors.md2.5 KB
    • references/behave-preserve-outputs.md1.9 KB
    • references/behave-preserve-side-effects.md3.1 KB
    • references/behave-verify-before-commit.md2.9 KB
    • references/ctx-detect-lint-config.md1.6 KB
    • references/ctx-follow-existing-patterns.md2 KB
    • references/ctx-project-over-generic.md2.2 KB
    • references/ctx-read-claude-md.md1.6 KB
    • references/dead-delete-not-comment.md3.8 KB
    • references/dead-keep-why-comments.md4.4 KB
    • references/dead-remove-obvious-comments.md4 KB
    • references/dead-remove-todo-fixme.md4.3 KB
    • references/dead-remove-unused.md3.9 KB
    • references/dup-avoid-over-abstraction.md5.5 KB
    • references/dup-data-driven.md5.7 KB
    • references/dup-extract-for-clarity.md5.2 KB
    • references/dup-no-single-use-helpers.md4.7 KB
    • references/dup-rule-of-three.md3.7 KB
    • references/flow-boolean-simplification.md3.6 KB
    • references/flow-early-return.md2.9 KB
    • references/flow-explicit-over-dense.md3.9 KB
    • references/flow-flatten-nesting.md5.6 KB
    • references/flow-guard-clauses.md4.3 KB
    • references/flow-no-nested-ternaries.md3.4 KB
    • references/flow-optional-chaining.md2.6 KB
    • references/flow-positive-conditions.md4.3 KB
    • references/flow-single-responsibility.md6 KB
    • references/idiom-go-error-handling.md3.2 KB
    • references/idiom-prefer-language-builtins.md4.2 KB
    • references/idiom-python-comprehensions.md2.6 KB
    • references/idiom-rust-iterator-chains.md3 KB
    • references/idiom-rust-question-mark.md2.5 KB
    • references/idiom-ts-const-assertions.md2.1 KB
    • references/idiom-ts-strict-types.md2 KB
    • references/name-avoid-abbreviations.md4.1 KB
    • references/name-avoid-generic.md4.8 KB
    • references/name-consistent-vocabulary.md4.2 KB
    • references/name-intention-revealing.md2.7 KB
    • references/name-nouns-for-data.md3.5 KB
    • references/name-string-interpolation.md3.5 KB
    • references/scope-minimal-diff.md3.2 KB
    • references/scope-no-global-rewrites.md3.4 KB
    • references/scope-no-unrelated-refactors.md3 KB
    • references/scope-recent-code-only.md3.1 KB
    • references/scope-respect-boundaries.md3.5 KB
    • SKILL.md8.4 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.curated/code-simplifier
    Licence
    MIT

    Notice

    « code-simplifier » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.