remove-ai-slop

Check the diff against master and remove all AI generated slop introduced in this branch. This includes extra comments, defensive checks, type casts, and inconsistent code style.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "remove-ai-slop" with this command: npx skills add pstev1/skills/pstev1-skills-remove-ai-slop

Remove AI Code Slop

Workflow

  1. Run git diff master --name-only to list changed files
  2. For each file, run git diff master -- <file> to see changes
  3. Read surrounding context in the original file to understand existing style
  4. Remove slop patterns (see below)
  5. Report a 1-3 sentence summary

Slop Patterns to Remove

PatternExampleFix
Redundant comments// Get the user above getUser()Delete
Obvious inline commentsconst x = 5; // set x to 5Delete
Defensive null checksif (x != null && x.y != null) when caller already validatesRemove extra checks
Unnecessary try/catchWrapping code that can't throw or is already handled upstreamUnwrap
as any castsfoo as any to bypass typesFix the type properly or remove
Verbose conditionalsif (x === true)Simplify to if (x)
Empty catch blockscatch (e) {}Either handle or remove try/catch
Over-documented parametersJSDoc repeating what types already sayDelete redundant docs

Style Consistency Rules

  • Match existing brace style, spacing, and naming conventions in the file
  • If file has no comments, don't add them
  • If file uses terse variable names, don't expand them
  • Preserve the file's existing level of defensive coding

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Self Updater

⭐ OPEN SOURCE! GitHub: github.com/GhostDragon124/openclaw-self-updater ⭐ ONLY skill with Cron-aware + Idle detection! Auto-updates OpenClaw core & skills, an...

Registry SourceRecently Updated
1171Profile unavailable
Coding

ClawHub CLI Assistant

Use the ClawHub CLI to publish, inspect, version, update, sync, and troubleshoot OpenClaw skills from the terminal.

Registry SourceRecently Updated
1.9K2Profile unavailable
Coding

SkillTree Learning Progress Tracker

Track learning across topics like an RPG skill tree. Prerequisites, milestones, suggested next steps. Gamified learning path.

Registry SourceRecently Updated
900Profile unavailable
Coding

Speak Turbo - Talk to your Claude 90ms latency!

Give your agent the ability to speak to you real-time. Talk to your Claude! Ultra-fast TTS, text-to-speech, voice synthesis, audio output with ~90ms latency....

Registry SourceRecently Updated
4480Profile unavailable