본문으로 건너뛰기
Skillpedia
일반 코딩33k · #9085

deslop

하는 일

이 스킬은 AI 에이전트가 브랜치의 변경 사항을 검토하고 AI가 만든 불필요한 코드를 제거하도록 안내합니다. 기존 프로젝트의 스타일에 맞는 코드를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓브랜치에 불필요한 주석이나 필요 없는 검사가 있는 AI 생성 코드가 포함되어 있을 때.
  • ✓타입 오류를 넘기려고만 추가된 any 타입 캐스팅을 제거하고 싶을 때.
  • ✓병합하기 전에 코드가 주변 파일의 스타일과 맞기를 원할 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/sentry/deslop/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/sentry/deslop/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“main과 비교해서 제 브랜치의 AI 생성 불필요 코드를 정리해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 main과의 diff를 읽고, 불필요한 주석, 필요 없는 방어 코드, 스타일 불일치를 제거한 뒤 짧은 요약을 제공합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Remove AI Code Slop

Check the diff against main and remove all AI-generated slop introduced in this branch.

What to Remove

  • Extra comments that a human wouldn't add or are inconsistent with the rest of the file
  • Extra defensive checks or try/catch blocks that are abnormal for that area of the codebase (especially if called by trusted/validated codepaths)
  • Casts to any to get around type issues
  • Inline imports in Python (move to top of file with other imports)
  • Any other style that is inconsistent with the file

Process

  1. Get the diff against main: git diff main...HEAD
  2. Review each changed file for slop patterns
  3. Remove identified slop while preserving legitimate changes
  4. Report a 1-3 sentence summary of what was changed
자주 묻는 질문

무엇을 제거하나요?

불필요한 주석, 불필요한 방어적 검사, any로의 캐스팅, 인라인 Python import를 제거합니다.

코드의 동작을 바꾸나요?

아닙니다. 스킬은 정당한 변경은 유지하고 불필요한 코드와 스타일 문제만 제거하도록 설계되었습니다.

무엇과 비교하나요?

git diff를 사용해 브랜치를 main과 비교합니다.

상세 정보

작성자의 원본 설명

Remove AI-generated code slop from a branch. Use when cleaning up AI-generated code, removing unnecessary comments, defensive checks, or type casts. Checks diff against main and fixes style inconsistencies.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#9085
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬