skills/garden/SKILL.md
Entropy scan and cleanup — keep the codebase healthy
npx skillsauth add alchemishty/agent-harness gardenInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run an entropy scan across the codebase. Identify and fix low-hanging issues; report anything requiring human judgment. This skill runs as part of /implement-feature (post-implementation) and can be invoked standalone.
Read harness.yaml at the project root. Extract:
enforcement.file_size_limit (default: 300)docs.max_doc_lines (default: 200)docs.root (default: docs/)docs.architecture (default: docs/architecture.md)gardening.checks listcommands.analyze (linter command)commands.test (test command)stack.language (to determine source file extensions)Determine source file extensions from stack.language:
.py.ts, .tsx, .js, .jsx.dart.go.rs.java, .ktRun each check below. Collect results into a report.
.gitignore, skip generated files, node_modules, build/, dist/, .dart_tool/, __pycache__/, vendor dirs)enforcement.file_size_limitdocs/architecture.md — extract any directory or file path references. Verify each path actually exists in the repo.AGENTS.md — extract any file path references or links. Verify each target exists.docs/testing.md if it exists for the convention, otherwise infer from existing test structure)*.g.*, *.freezed.*, *.gen.*), barrel/index files, type definition filesdocs/ against docs.max_doc_lines thresholdscratch/ directory exists and has files/implement-feature): delete all files in scratch/memory/ directory exists and has files, scan each file for file path referencesFix automatically (and commit):
scratch/)Commit auto-fixes with message: chore: gardening — <what was fixed>
Report only (do not fix):
Print a summary at the end:
## Garden Report
### Auto-fixed
- <description of each auto-fix, or "None">
### Needs Attention
- [ ] <issue description and suggestion>
- [ ] <issue description and suggestion>
### Clean
- <checks that passed with no issues>
$ARGUMENTS
documentation
Post-implementation retrospective that captures learnings to memory and proposes doc improvements
testing
Validate and fix project structure against architecture rules
tools
Migrate project scaffolding to match the latest harness version. Adds new directories (memory/, scratch/), new harness.yaml fields, and suggests AGENTS.md updates. For plugin users this handles what a plugin update cannot — project-level structure changes. For git-clone users this also updates copied skill files.
data-ai
Install the agent harness into a target project. Detects project type (greenfield vs existing), copies skills, and delegates to the appropriate bootstrap command.