Skip to content
Back to skills

Purify

ASecurity

Katara bends the impurities out of the water and leaves it clear. Use for deslop, /deslop, "remove AI slop", "clean up this diff", or before every commit. Checks the branch diff against main and removes AI-generated code slop, such as needless comments, abnormal defensive checks, casts to any, and deep nesting, without changing behavior.

  • 113 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentstypescriptrustaws

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add tmcfarlane/team-avatar --skill purify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Purify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Purify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tmcfarlane-purify/badge)](https://www.skillsdirectory.com/skills/tmcfarlane-purify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: purify
description: Katara bends the impurities out of the water and leaves it clear. Use for deslop, /deslop, "remove AI slop", "clean up this diff", or before every commit. Checks the branch diff against main and removes AI-generated code slop, such as needless comments, abnormal defensive checks, casts to any, and deep nesting, without changing behavior.
---

# Katara purifies the water

A waterbender can pull silt, salt, and poison out of water and leave the water itself untouched. Purify does that to a diff. It draws out what an agent added that does not belong, and keeps every drop of behavior.

## Scope

Check the diff against the base branch (default `main`, including the working tree) and remove the AI-generated slop the branch introduced. Touch only lines the branch changed.

## What to draw out

- Extra comments that are unnecessary or inconsistent with the file's local style. For a full comment pass, run `clear-water`.
- Defensive checks or `try`/`catch` blocks that are abnormal for a trusted code path. Guards belong at system boundaries (Boundary Discipline, Earth in `four-elements`).
- Casts to `any` used only to get past a type error. Fix the type instead (see `typescript-forms`).
- Deeply nested code that early returns would flatten.
- Any other pattern inconsistent with the file and the code around it.

## Rules

- Keep behavior unchanged unless you are fixing a clear bug.
- Prefer minimal, focused edits over broad rewrites.
- Run the nearby tests after the pass. Purify that breaks a test has poisoned the water.

## Reply

One to three sentences on what you removed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.