본문으로 건너뛰기
cccskills
무료GitHub에 공개

ai-slop-cleaner

[OMX] Run an anti-slop cleanup/refactor/deslop workflow

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin스타 39(GitHub 39 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

AI Slop Cleaner Task Card

Use this bounded helper for cleanup/refactor/deslop work, not as a competing top-level workflow. Shared operating invariants live in AGENTS.md; this card defines scope, smell taxonomy, passes, and evidence.

When to use and inputs

Use when working code is bloated, noisy, repetitive, over-abstracted, or AI-generated; the user requests cleanup/refactor/deslop; or a follow-up left duplicate/dead code, weak boundaries, missing tests, fallback-like paths, or wrappers. Inputs are the requested feature/files and behavior to preserve. A file list scope is valid; keep the pass bounded to it. Inside an implementation workflow, limit cleanup to its changed files unless the user requests a broader scope.

Before editing

  1. Lock behavior first: run existing targeted checks; add regression coverage for changed logic when missing, including compatibility/fail-safe paths. For instruction-only edits, check discovery, links, metadata, and workflow decisions.
  2. Create a cleanup plan before code: list scope and smells, include fallback findings/classifications/escalation, and order safest/highest-signal fixes first.
  3. Inventory fallback-like code in scope: quick hacks, temporary workaround, temporary fallback, just bypass, just skip, fallback if it fails, swallowed errors, silent defaults, broad compatibility shims, and duplicate alternate execution paths.
  4. Classify each fallback: Masking fallback slop hides evidence, bypasses the contract, suppresses validation, swallows failures, silently defaults, or adds untested paths; Grounded compatibility/fail-safe fallback is narrow at an external/version/fail-safe boundary, documents rationale, preserves failure evidence, and tests primary plus fallback.
  5. Prefer root-cause repair, deletion, boundary repair, or explicit failure behavior. For unresolved architectural decisions, report the finding to the caller; use $ralplan when consensus planning is requested or required by the active workflow.

Smell taxonomy and passes

Classify before changing:

  • Fallback-like code: masking fallbacks, workaround branches, bypasses, swallowed errors, silent defaults, broad shims, alternate paths.
  • Duplication: repeated logic, copy-paste branches, redundant helpers.
  • Dead code: unused/unreachable code, stale flags, debug leftovers.
  • Needless abstraction: pass-through wrappers, speculative indirection, single-use layers.
  • Boundary violations: hidden coupling, leaky responsibilities, wrong-layer imports/side effects.
  • Missing tests: behavior not locked or edge cases uncovered.
  • UI/design slop: context-sensitive signals, not absolute bans; preserve intentional brand, design-system, accessibility, or product-context exceptions. Challenge Korean body text at 11-12px (generally 14px or larger); gratuitous box shadows; repetitive eyebrow + title + description + paragraph stacks and generic emoji badges; default AI blue/purple such as #3B82F6; reflexive 3-column or 4-column grids; and extreme gradients unless justified by context.

Resolve relevant fallback findings first, then select the applicable passes, one smell at a time: Pass 1: Dead code deletion; Pass 2: Duplicate removal; Pass 3: Naming/error handling cleanup; Pass 4: Test reinforcement. 按行为变化与风险组织验证:可合并验证同一影响面的清理;复用仍有效的检查结果,新增修改、失败或未解决风险才触发重跑或扩大检查。保持范围内的回归覆盖。 Prefer deletion/existing utilities; no new abstractions or dependencies unless explicitly required.

Evidence/output contract

以下为复杂清理的可选报告示例;局部清理只需说明改动、验证证据和剩余风险:

AI SLOP CLEANUP REPORT
Scope: [files/feature]
Behavior Lock: [targeted tests added/run]
Cleanup Plan: [bounded smells/order]
Fallback Findings: [finding -> masking fallback slop | grounded compatibility/fail-safe fallback -> escalation]
UI/Design Findings: [none/N/A or signal -> action/defer -> intentional rationale]
Passes Completed: [resolution gate; Passes 1-4]
Quality Gates: Relevant regression, lint/typecheck/build, or instruction checks (PASS/FAIL/N/A)
Changed Files: [path -> simplification]
Remaining Risks: [none or deferred item]

Include changed files, simplifications, fallback classifications/escalation status, tests/diagnostics/build checks run, UI findings when relevant, and deferred risks. Keep writer/reviewer separation for cleanup plans and approvals.

Exit condition

Stop when the requested scope has behavior-lock evidence, each selected smell pass is complete or explicitly deferred with rationale, verification is reported, and no unrelated files or temporary artifacts remain. Never present an unverified cleanup as complete; escalate a real architectural blocker rather than masking it.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

analyze

무료

[OMX] 只读调查跨文件的行为、原因或架构问题,提供源码证据与不确定性。单文件查找无需此流程。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

ask

무료

[OMX] Ask a local external advisor CLI (Claude or Gemini) and capture a reusable artifact

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

autopilot

무료

[OMX] Supervise deep interview, consensus planning, and durable goal execution for explicit hands-off delivery.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

[OMX] Stateful validator-gated research loop with native-hook persistence

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

[OMX] Bounded best-practice research wrapper using official/upstream evidence first

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

cancel

무료

[OMX] Cancel a proven active workflow in its exact scope, including legacy-state recovery.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Tenon-Net/TenonAdmin392026년 10월 23일 업데이트

Tenon-Net의 스킬 모두 보기

이 스킬의 문제 신고