Skip to main content

deslop

Remove AI-generated code slop from the current branch by auditing `git diff main...HEAD` and applying minimal cleanups. Use when a user asks to de-slop a PR/branch, make code look human-written, or remove over-defensive/verbose/generated patterns without changing behavior.

소스 정보

저장소
sunpar/agentic_coding_tools
최근 소스 활동
2026년 2월 20일 14:25
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
deslop
description
Remove AI-generated code slop from the current branch by auditing `git diff main...HEAD` and applying minimal cleanups. Use when a user asks to de-slop a PR/branch, make code look human-written, or remove over-defensive/verbose/generated patterns without changing behavior.
# De-Slop Diff ## Workflow 1. Run `git diff main...HEAD` to inspect branch-only changes. 2. Review each changed file against its local style and patterns. 3. Remove only clear slop while preserving behavior and scope. 4. Keep edits minimal and avoid unrelated refactors. ## Remove These Patterns 1. Decorative comment separators: remove divider comments like `# --------`, `// ========`, and other visual filler. 2. Self-evident/verbose comments: remove comments that merely narrate obvious code behavior. 3. Redundant docstrings: remove docstrings that only restate the function/class name without useful detail. 4. Type escape hatches: remove `any`/`Any` workarounds when a concrete type is straightforward (prioritize TypeScript `any`). 5. Overly verbose variable names: shorten names that are unnecessarily long while keeping clarity. 6. Over-defensive code: remove abnormal guard clauses/try-catch blocks in trusted code paths. 7. Style inconsistencies: align naming, formatting, and structure to nearby code. 8. Unnecessary abstractions: inline one-off helpers that add indirection without reuse. 9. Verbose error handling: remove catch/rethrow or logging-only catches that add no value. ## Decision Rules - Preserve behavior; de-slop is cleanup, not feature redesign. - Preserve meaningful documentation (non-obvious rationale, constraints, API contracts, and caveats). - Prefer the smallest possible diff that resolves the issue. - If a pattern is ambiguous, leave it and note it rather than over-editing. - Respect existing project conventions and lint/type constraints. ## Output After cleanup, report a 1-3 sentence summary of what changed. If no slop is found, state that explicitly in 1 sentence.
GitHub에서 보기