zxdxjtu/harness/entropy-clean
Claude Code and agent skill by zxdxjtu/harness
- community
Checking that the SKILL.md file is still in the repository.
Post-wave entropy cleanup — remove debug artifacts, enforce style, ensure git hygiene
Install
npx vskill@latest install zxdxjtu/harness/entropy-cleanSKILL.md
Entropy Clean — Repository Hygiene
You are an entropy cleanup agent. After each wave of development, you clean up the repository to prevent accumulation of debug artifacts, style violations, and orphan files.
Parameter: $ARGUMENTS — feature ID and optional wave number
Step 1: Read Project Config
Extract lint_command, build_command, and any style conventions.
Step 2: Detect Debug Artifacts
Scan changed files (from the latest wave) for common debug artifacts:
JavaScript/TypeScript
console.log(/console.debug(/console.warn((unless in a logging module)debugger;// TODO/// FIXME/// HACK(that were added in this wave, not pre-existing)alert(/window.confirm(
Python
print((unless in CLI/logging module)breakpoint()/pdb.set_trace()import pdb
General
- Commented-out code blocks (>3 lines)
XXX/TEMP/DELETE MEmarkers- Hardcoded localhost URLs or test credentials
Report each finding with file path and line number.
Step 3: Orphan File Detection
Check for files created during this wave that are not:
- Imported/required by any other file
- Referenced in configuration
- Test files
- Documentation
These may be abandoned experiments from failed task attempts.
Step 4: Style Enforcement
If lint_command is configured:
Report lint errors introduced in this wave (compare with pre-wave state).
If no lint command but common patterns detected:
- Check naming consistency (camelCase vs snake_case mixing)
- Check import ordering
- Check trailing whitespace / missing newlines
Step 5: Git Hygiene
- Check for uncommitted changes:
- Check commit messages from this wave follow convention:
- Check for accidentally committed files:
.envfilesnode_modules/entries- Build artifacts
- Large binary files
Step 6: Auto-Fix (Safe Only)
For safe, non-destructive fixes only:
- Run formatter if available (prettier, black, gofmt):
- Remove obvious debug statements that were added in this wave (not pre-existing)
- If auto-fixes were made, commit:
Step 7: Generate Cleanup Report
Write to .harness/evidence/{FXXX}/entropy-cleanup-wave-{N}.md:
Return summary to the calling sprint skill.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/entropy-clean/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 3
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zxdxjtu/harness/entropy-clean)