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

code-hygiene-cleanup

Execute a bounded ClawJS/Clawix code hygiene cleanup campaign from an audit report, one category and repo at a time.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.2 KB

SKILL.md(원문)

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

code-hygiene-cleanup

Use this skill when the user explicitly asks to clean code hygiene findings or continue the code hygiene goal.

Procedure

  1. Start from a current code-hygiene-audit report and the 33-decision checklist.
  2. Choose exactly one repo and one category for the batch: dependencies, orphan files, private exports/types, tests/fixtures, assets/SVG, Swift report-only review, TODOs, or duplicates.
  3. Re-run or inspect scanner output after entrypoint calibration. For Knip, separate clear private debt from public API/protocol/UI/icon barrels and framework route/config false positives.
  4. Preserve public API, package entrypoints, CLI/router/registry/protocol surfaces, canonical docs, fixtures, stable registries, and compatibility names unless an explicit removal decision exists.
  5. Make the smallest cleanup that removes proven debt. Future intent must move to issue/backlog/ADR rather than dormant code.
  6. When retaining a finding, add or update a baseline entry with reason, owner area, reference, and expiry; never hide a real bug behind EXTERNAL_PENDING.
  7. For large generated/baseline refreshes, record generated provenance with generator, command, source, upstreamHash, regenerationMode, deltaSummary, debtImpact, and conditional debtImpactReason. The delta must explain what changed and the debt impact must say whether cleanup debt decreases, stays neutral, or increases.
  8. Run the relevant checks for the batch before moving on. Record validation and baseline removals/additions in the ledger.

Constraints

  • Autofix is suggestion-only by default; do not run destructive fixes or remove files without explicit task scope.
  • Keep enum members, Swift dynamic-use findings, and duplicates report-only until reviewed.
  • Do not use @generated, a baseline filename, or generatedPaths alone to hide a large generated/baseline change.
  • Do not batch unrelated cleanup categories together.
  • Do not modify unrelated dirty work while cleaning; record it separately if it affects validation.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Govern Clawix accessibility changes across screen reader behavior, keyboard navigation, focus order, contrast, reduced motion, text scaling, timed interactions, and agent-generated UI.

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

clawic/Clawix82026년 6월 6일 업데이트

Review or update stable, canonical, any-human, PMF, and adoption claims using adoption/canonicity governance packets.

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

clawic/Clawix82026년 6월 6일 업데이트

Turn a new or changed ADR into implemented behavior, routing docs, tests, and guardrails rather than leaving it as standalone prose.

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

clawic/Clawix82026년 6월 6일 업데이트

Repair confirmed architecture drift in small batches while preserving public canon and avoiding broad opportunistic refactors.

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

clawic/Clawix82026년 6월 6일 업데이트

Given an existing Style, generate a human-readable brand guidelines document covering colors, typography, voice, do/don't, imagery rules, and usage examples. Use when the user asks for a brand book, brand guide, or design system document.

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

clawic/Clawix82026년 6월 6일 업데이트

Add or improve canonical data catalog collections, fields, aliases, relations, evidence tags, docs, and tests.

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

clawic/Clawix82026년 6월 6일 업데이트

clawic의 스킬 모두 보기

이 스킬의 문제 신고