aiforui logo
[←] All skills

Unslop Code

Agent code compiles and passes tests, but the narrated comments, swallowed errors, and duplicate helpers pile up. This skill removes them before review.

What this skill does

Goes through a diff and removes what agents leave behind. Comments that narrate the code, try-catch around things that can’t fail, fallbacks that hide errors, and helpers nothing calls.

  • Deletes comments that narrate the code, talk to the reviewer, went stale after the edit, or hold commented-out code
  • Removes checks for impossible states and the catch-log-continue blocks that keep tests green while the real path is broken
  • Replaces “as any” and ts-ignore with a real type at the boundary
  • Cuts one-call wrappers, duplicate helpers, unused imports, V2-suffixed names, and debug logs
  • Never deletes an assertion to make a test pass, and flags tests that can’t fail

Installation

Run the installer in your terminal to add this skill to your project:

$npx @aiforui/install emil-unslop-code --token=…

Omit the skill name to pick from all skills at once, and rename skills during install if you prefer different slash commands.

Usage

Once installed, use it when an agent-written diff works but wouldn’t survive your pickiest teammate. For example: