deslop

仓库创建 2026年6月27日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

谨慎的 review-first 流程适合在生产仓库中逐步改进风格。

▸ 风险提示

会对代码进行修改,需仓库写入权限并注意回归测试。

这个 Skill 做什么

先审查再清理代码,使可读性和维护性显著提升并展示前后对比。

先把代码读透并给出可讨论的风格和具体 before/after 示例,再在你同意风格后做清理、重命名和重构。适合想把匆忙写出来或 AI 产出的代码变得更可读、更易维护时用,覆盖 React、TypeScript、后端、hooks、函数等常见场景。它的工作模式是 review-first,不会在未批准前贸然改文件,强调可理解性和可审查的改动。

▸ 展开 SKILL.md 英文原文

Reviews code readability first, then applies approved cleanup that makes the full pipeline understandable in seconds. Use when the user says "deslop", "make this readable", "make this less AI", "second pass", "clean this up", "rename for clarity", "show before and after", or asks to improve code comprehension across React, TypeScript, backend, folders, imports, hooks, or functions.

开发编程代码清理可读性重构通用
0
Stars
0
Forks
15
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/YosefHayim/dufflebag/main/src/skills/deslop/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/YosefHayim/dufflebag/main/src/skills/deslop/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Deslop

Make code feel deliberate and easy to understand quickly. The default mode is review-first: show the user the current pipeline, the proposed style, and concrete before/after examples before changing files.

Do not apply edits until the user approves the style, unless the user explicitly says to apply immediately.

## Core Contract

Optimize for a developer understanding the important path in about 5 seconds:

```txt
entrypoint -> data/load step -> transformation -> side effect -> UI/output
```

Good deslop work may rename symbols, reorder imports, move files, split or inline functions, extract React hooks, remove pointless hooks, rename folders, flatten render branches, or simplify
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有