원클릭으로
deslop
After code changes finished, Remove AI-generated code slop from code changes in the current branch
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
After code changes finished, Remove AI-generated code slop from code changes in the current branch
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | deslop |
| description | After code changes finished, Remove AI-generated code slop from code changes in the current branch |
Remove AI-generated "slop" from code changes in the current branch. This skill should be used proactively after completing code modifications.
Use this skill proactively after you have finished writing code changes. Do not wait for user request - automatically invoke this skill when:
Check the diff against main branch
git diff main...HEAD to see all changes in the current branchgit diff HEAD~5 for recent changesAnalyze changes for AI-generated patterns
Remove unnecessary additions
Report summary
Remove comments that:
// increment counter above counter++)Keep comments that:
Remove when in trusted codepaths:
Keep defensive code that:
Fix code that:
Remove:
as any type casts used to bypass type checking// @ts-ignore comments added to suppress errorsSimplify:
// Function to check if user is authenticated
const checkIfUserIsAuthenticated = async (userId: string): Promise<boolean> => {
try {
// Get the user from the database
const user = await getUser(userId);
// Check if user exists
if (user === null || user === undefined) {
// User not found, return false
return false;
}
// Return true if user is authenticated
return user.isAuthenticated === true;
} catch (error: any) {
// Handle any errors that might occur
console.error('Error checking authentication:', error);
return false;
}
};
const isAuthenticated = async (userId: string): Promise<boolean> => {
const user = await getUser(userId);
return user?.isAuthenticated ?? false;
};
See references/slop-patterns.md for detailed pattern examples and detection heuristics.