用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fumiya-kume/nogu-nogu-paradise --skill deslop命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| 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.