deslop
Regression-safe cleanup of AI-generated bloat in C# code. Deletion-first, requires green tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Regression-safe cleanup of AI-generated bloat in C# code. Deletion-first, requires green tests
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audit context window consumption across LOTRAOM agents, skills, rules, MCP servers, and CLAUDE.md. Report token estimates, flag bloat, recommend trims.
Hard-block Edit/Write outside a chosen directory. Use to scope-lock edits during a focused fix or refactor. Pair with /unfreeze to release.
Six-phase root-cause debugging for crashes, build failures, or "why is this broken" reports. Iron Law - no fixes without root cause. Auto-engages /freeze.
Release the directory edit lock set by /freeze. Edit and Write are unrestricted again. No-op if /freeze was never set.
Dispatch an independent Codex verification job for the current changes
Inspect all changed files, group by logical concern, and guide atomic per-concern commits
| name | deslop |
| description | Regression-safe cleanup of AI-generated bloat in C# code. Deletion-first, requires green tests |
| argument-hint | [path or feature to clean up] |
Regression-safe removal of AI-generated bloat in: $ARGUMENTS
./build.ps1 -RunTests -MinCoverage 80
If tests fail, STOP and fix first.
| Pattern | Priority |
|---|---|
| Unused private methods | HIGH |
| Commented-out code blocks (5+ lines) | HIGH |
| Redundant null checks on constructor-injected services | HIGH |
| Empty catch blocks | HIGH |
Dead if (false) or unreachable branches | HIGH |
| Over-wrapping adapters (adapter wrapping another adapter) | MEDIUM |
| Verbose LINQ where a simple loop suffices | MEDIUM |
Unnecessary ?. on non-nullable types | MEDIUM |
Redundant ToString() on strings | MEDIUM |
| Comments restating the code | LOW |
var x = y; return x; instead of return y; | LOW |
./build.ps1 -RunTests -MinCoverage 80DESLOP REPORT: [target]
========================
Removed: N instances
Skipped (load-bearing): N
Lines removed: N
Tests: PASS | Build: PASS