Skip to main content

clean-slop

Removes generated clutter from code diffs, documents, website copy, and designs while preserving behavior and meaning. Use for artifact cleanup or a de-slop pass.

来源信息

仓库
Rajaniraiyn/rstack
最近来源活动
2026年10月10日 20:13
检测到的 SKILL.md 语言
英语
星标
2
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
7 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
clean-slop
description
Removes generated clutter from code diffs, documents, website copy, and designs while preserving behavior and meaning. Use for artifact cleanup or a de-slop pass.
license
MIT
# Clean slop Remove unnecessary material while preserving behavior, meaning, and the project's style. For prose drafting and sentence-level editing, use `stop-slop` if installed. Before adding, merging, or removing tests, assess coverage and failure detection with `test` if installed or the project's testing workflow. Do not delete a test because its setup looks repetitive. ## Establish scope Identify the artifact and the baseline before editing. Use the user's selected diff or revision. Otherwise inspect the repository's default branch and merge base rather than assuming `main`. Include working changes only when they are part of the request. For documents and design, use the brief and nearby examples. Choose the relevant reference; do not load every mode: | Artifact | Read | Focus | | --- | --- | --- | | Code diff | [references/code.md](references/code.md) | Unnecessary comments, redundant checks, type escapes, dead code, premature abstraction | | Commit or PR | [references/commits-and-prs.md](references/commits-and-prs.md) | Concrete outcome, reviewer context, relevant validation | | Document or report | [references/documents.md](references/documents.md) | Repetition, filler, formatting, unsupported claims | | Website or marketing copy | [references/copy.md](references/copy.md) | Specific claims backed by real evidence | | Design output | [references/design.md](references/design.md) | Brief, hierarchy, brand, usable layout | ## Edit and verify Make the smallest useful cleanup. Match surrounding conventions. A single-use helper, popular font, gradient, or defensive check is a candidate to inspect, not proof of slop. Preserve boundary validation, accessibility, meaningful abstractions, and licensing notices. Cut unsupported claims or flag them for the user. Do not invent statistics, quotes, logos, or testimonials. Keep behavior unchanged. Report a discovered bug separately unless the user's task also authorizes fixing it. Run the repository checks relevant to code changes. For visual changes, inspect the affected view at the relevant sizes. Review the final diff for accidental scope growth. Report what changed, what was checked, and any unresolved issue. Do not expand cleanup into a general review, dependency upgrade, redesign, or PR split unless requested.
在 GitHub 查看