跳到正文
cccskills
免费在 GitHub 公开

deslop

Clean only the current Enterprise diff before autoreview, preserving behavior, security boundaries, required TODOs, and useful test-intent comments.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Deslop

Keep cleanup confined to the current diff and strictly behavior-neutral. Use it before requested autoreview; cleanup does not replace correctness or safety review.

For readability choices in the current diff, consult the relevant sections of Readable code on functions, values, composition, and state ownership. Apply those examples within this skill's behavior-neutral scope.

Scope and checklist

Establish the intended branch base from the PR or repository metadata. Inspect committed changes from its merge base to HEAD, plus staged, unstaged, and relevant untracked changes. Preserve unrelated work; never sweep the repository or change the base to make the cleanup larger. Read surrounding code to judge each hunk.

Look for:

  • Comments that narrate syntax or repeat code without explaining intent.
  • Unnecessary intermediate variables or one-use helpers that add no meaning.
  • Type assertions such as as any or as unknown as T that hide a type problem.
  • Defensive checks, catch blocks, retries, aliases, or fallbacks that appear inconsistent with the supported contract.
  • Naming, imports, formatting, or control flow inconsistent with nearby code and Enterprise style.

These patterns require judgment. Apply only trivial, demonstrably behavior-neutral edits. Removing a guard, catch, retry, fallback, or type cast can change behavior or expose a real type-contract defect: leave uncertain or functional changes in place and report them for separate review. Do not hide errors with wider types or replace security checks with assumptions.

Preserve required intent

Keep real fail-closed checks, authorization and credential boundaries, configuration rejection, and attributable audit behavior. Redundancy alone is not evidence that a security check is removable.

Preserve deferred-work TODOs while the capability remains unimplemented. Preserve integration-test comments that explain scenarios, non-obvious setup, expected outcomes, or security invariants; remove only narration that contributes no such information. Do not label permanent security boundaries as temporary work.

Use enterprise-testing for proportional verification of edits and run git diff --check. If behavior neutrality cannot be established, report the candidate instead of applying it as style work. Summarize in one to three sentences what changed and any non-trivial candidates left for the author.

Provenance

Adapted from OpenClaw; see source and intentional adaptations.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Structured code review through the shared OpenClaw agent-skills installation.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

Assess designs, public interfaces, state ownership, readability, and refactor proposals when the task calls for design review or structural simplification; not for unrelated routine edits.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

Select proportional Enterprise validation and diagnose exact CI runs, distinguishing product, harness, infrastructure, and credential failures.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

local-dev

免费

Develop OpenClaw Enterprise changes with proportional verification and source-backed flow documentation for non-trivial behavior.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

Create or refine readable Mermaid diagrams for changes, architecture, lifecycles, and dependencies in Markdown documents and PR descriptions.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

oceinteg

免费

Run named OpenClaw Enterprise end-to-end integration scenarios against real supported installations. Use only when explicitly invoked.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-enterprise4182026年10月19日 更新

查看 openclaw 的全部技能

报告此技能的问题