---
name: text-cleanup
description: Remove AI-generated filler, repetition, inflated language, and redundant comments while preserving meaning.
metadata:
  category: user-invoked
  version: 2.0.0
  tags: text-cleanup, slop-removal
disable-model-invocation: true
---

Default output: return the cleaned text only. For file edits, report changed files and verification in at most three bullets.

# Text cleanup

Cut words that do not add facts, constraints, decisions, or useful context.

## Remove

- Conversational openers and closers.
- Fake urgency, rewards, penalties, challenges, and fictional credentials.
- Generic instructions such as "be thorough," "think step by step," or "work systematically."
- Confidence self-ratings unless backed by a defined metric.
- Repeated conclusions, transitions, and restated headings.
- Self-evident comments that repeat code.
- Vague claims such as "experts say" without a source.
- Inflated words when a plain word is accurate.

## Preserve

- Technical constraints, numbers, formulas, and acceptance criteria.
- Error cases, security warnings, and compatibility limits.
- Decisions and their rationale.
- Examples that clarify format or edge behavior.
- Required schemas and domain terminology.

## Rewrite rules

- Lead with the result.
- Prefer active voice and concrete nouns.
- Replace vague quality words with measurable requirements.
- Keep one idea per sentence.
- Use the minimum headings and bullets needed for scanning.
- Do not shorten text when brevity would remove necessary precision.

## Code cleanup

When cleaning branch code, limit edits to introduced slop: redundant comments, unnecessary wrappers, abnormal defensive handling, type escapes, and avoidable nesting. Preserve behavior and run affected checks.


---
Source attribution: v1truv1us
Original project: https://github.com/v1truv1us/ai-eng-system/blob/eaff192b6e8bcb204a1f1b132b98f748a9b4572e/skills/text-cleanup/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2025 John Ferguson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: v1truv1us
Original project: https://github.com/v1truv1us/ai-eng-system/blob/eaff192b6e8bcb204a1f1b132b98f748a9b4572e/skills/text-cleanup/SKILL.md
Attribution basis: Source repository record

Fields of work: Content & Media, Design, Marketing
Roles: Content Marketer, Technical Writer, UX Writer
Specialties: Cross Platform
Tools: Tool not specified
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 2386fcf02e27c1e15b3cc31950367f117d0f33cb9cde584bc131d218cc1417e8
