deslop

📁 tychohq/agent-skills 📅 4 days ago
4
总安装量
4
周安装量
#53936
全站排名
安装命令
npx skills add https://github.com/tychohq/agent-skills --skill deslop

Agent 安装分布

mcpjam 4
claude-code 4
replit 4
junie 4
windsurf 4
zencoder 4

Skill 文档

When to use this skill

Use when asked to:

  • “remove AI slop”
  • “clean up generated code style”
  • “review branch diff for weird comments/defensive checks/casts”

Workflow

  1. Set comparison base (default main) and inspect git diff <base>...HEAD.
  2. Build a candidate list using rg over added lines (comments, catches, casts, lint ignores, placeholders, debug leftovers).
  3. Review each candidate in full file context and compare with nearby local patterns.
  4. Remove only inconsistent slop; keep behavior and domain-valid guards.
  5. Re-run project checks (bun check, bun typecheck) and fix regressions.
  6. Report exact files changed and what slop was removed vs intentionally kept.

Slop checklist

Read and apply: references/slop-heuristics.md

Guardrails

  • Do not remove protections at trust boundaries (user input, auth, network, db, file I/O).
  • Do not replace real typing with weaker typing.
  • Prefer minimal edits over broad rewrites.
  • Keep project conventions (hooks/query style, component patterns, naming).