Skip to main content

code-hygiene-audit

Audit ClawJS/Clawix code hygiene without editing code, producing categorized findings, baseline status, and validation evidence.

소스 정보

저장소
clawic/Clawix
최근 소스 활동
2026년 5월 23일 12:42
감지된 SKILL.md 언어
영어
스타
8
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
code-hygiene-audit
description
Audit ClawJS/Clawix code hygiene without editing code, producing categorized findings, baseline status, and validation evidence.
keywords
["code-hygiene","dead-code","unused","audit","baseline","cleanup"]
# code-hygiene-audit Use this skill for recurring code hygiene audits, pre-release hygiene review, or cleanup campaign preparation. ## Procedure 1. Read the code hygiene ADR, decision map entry, decision checklist, baseline, ledger, and latest JSON/Markdown report. 2. Confirm the public code-hygiene decision checklist and inspect every recorded decision before classifying findings. 3. Run the non-mutating hygiene checks and scanners that are available: local unused checks, Knip for TS/JS, Periphery report-only for Swift, asset reference scans, TODO scans, and duplicate grouping. 4. Check scanner calibration before classifying debt. In Knip, confirm package entrypoints, tool configs, scripts, seeds, public assets, generated files, fixtures, and framework-specific routes are configured before treating file findings as deletion candidates. 5. Use report summaries and top-file sections to choose the next narrow category; do not turn large report-only surfaces into broad cleanup work. 6. Classify findings as `FAIL`, `REPORT_ONLY`, `BASELINED`, or `EXTERNAL_PENDING`. Keep enum members, Swift dynamic-use findings, public APIs, protocol schemas, UI/icon barrels, and duplicates report-only unless a canon review proves removal is safe. 7. Baseline only reviewed contract/false-positive findings, with reason, owner area, reference, and expiry. Large generated/baseline entries also need generated provenance: `generator`, `command`, `source`, `upstreamHash`, `regenerationMode`, `deltaSummary`, `debtImpact`, and `debtImpactReason` when debt is neutral or increasing. 8. Update or propose updates to the JSON/Markdown report and ledger; do not edit source code. ## Constraints - Do not delete or rewrite code while auditing. - Do not treat a public/canonical surface as dead because it lacks an internal consumer. - Do not treat `@generated`, a baseline filename, or generated path as sufficient evidence for a large exception without generator, regeneration command, source, upstream hash, regeneration mode, delta, and debt impact. - Do not use `EXTERNAL_PENDING` for ordinary bugs or missing local implementation. - Do not close the goal without reviewing every recorded decision answer from the source session one by one.
GitHub에서 보기