Skip to content
cccskills
FreePublished on GitHub

deslop

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise418Updated Oct 19, 2026

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.

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise418Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise418Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise418Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise418Updated Oct 19, 2026

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

The English summary is being prepared. Showing the original description.

openclaw/openclaw-enterprise418Updated Oct 19, 2026

See all skills by openclaw

Report a problem with this skill