The deslop skill is a specialized utility designed to prune the 'noise' often introduced by AI assistants during the coding process. It identifies and removes unnecessary comments, redundant defensive checks, lazy 'any' type casts, and verbose error handling that deviate from a project's established style. By analyzing the diff between the current branch and main, it surgically extracts slop while preserving core logic and bug fixes, ensuring your code remains concise, professional, and easy to review.
主な機能
01Automatically identifies and removes redundant AI-generated comments and documentation.
025 GitHub stars
03Prunes over-engineered defensive checks and unnecessary try/catch blocks in trusted paths.
04Enforces codebase consistency by removing patterns that don't match existing file styles.
05Flags and replaces lazy 'any' type casts to improve type safety and clarity.
06Generates a concise summary of all changes made during the cleanup process.
ユースケース
01Cleaning up verbose or repetitive error handling in internal, validated codepaths.
02Refining a large AI-generated pull request before submitting it for human code review.
03Modernizing a legacy branch by removing 'hallucinated' defensive logic and redundant null checks.