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.

Auditing and refactoring code v1.0.0

Use this resource to audit code, reduce its complexity and fix code smells

New

  • 387 downloads
  • 212 likes
  • 197 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install audit-and-refactor-code

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 analyses the requested scope and produces a report on dead code, nesting and patterns to review. It edits files only when you ask, and applies TypeScript and JavaScript idiom rules where relevant. You get a clear diagnosis, then the fixes if you request them.

Mostly picked by

Updated November 2, 2026

Card for the “Auditing and refactoring code” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: audit, report and fix in three steps
  • rules/: general patterns, TypeScript and JavaScript idioms, design principles

Good fit for

  • A module has become hard to read and you want to simplify it
  • You want a report before changing any code

Not for

    Tags

    • refactoring
    • code quality
    • complexity
    • dead code
    • review

    About

    You say

    “Audit this folder for dead code and deep nesting, and send me a report before changing anything.”

    Card for the “Auditing and refactoring code” skill

    Skill published by tartinerlabs 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 audit code, reduce its complexity and fix code smells
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • rules/design-principles.md3.3 KB
    • rules/general-patterns.md3.4 KB
    • rules/ts-idioms.md3.1 KB
    • SKILL.md1.5 KB

    Origin and licence

    Listed unmodified

    Author
    tartinerlabs
    Source
    github.com/tartinerlabs/skills/tree/3a2b1ba97c4f599f5b5ab76c5a2d7914ce9b24b1/plugins/quality/skills/refactor
    Licence
    MIT

    Notice

    « refactor » (tartinerlabs, 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.