Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Before declaring work complete, checks for loose ends - unused imports, TODO comments created, missing tests, stale references, incomplete error handling. Use when finishing features, fixing bugs, or before committing changes. The cleanup that always gets skipped.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 216% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 33% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 49% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -12% | 0% |
Implementation feels done, but loose ends remain. The import you added but didn't use. The TODO you wrote and forgot. The test you meant to add. The console.log you left in. This skill forces a sweep before declaring victory.
Before declaring complete, run through:
any types addedRun the sweep script to find common cruft:
bashpython scripts/sweep.py
Scans for:
console.log, print(), debugger statementsTODO, FIXME, XXX, HACK commentsdd(), var_dump(), binding.pry (PHP/Ruby)bash# Find TODOs in changed files git diff --name-only | xargs grep -n "TODO\|FIXME" # Find console.log in changed files git diff --name-only | xargs grep -n "console.log" # Find unused imports (TypeScript) npx tsc --noEmit 2>&1 | grep "declared but" # Find any types added git diff | grep ": any"
Not all loose ends are equal:
| Priority | Type | Action | |----------|------|--------| | Fix now | Broken imports, missing exports | Blocks functionality | | Fix now | console.log in production code | Leaks info | | Should fix | Unused imports/variables | Code smell | | Should fix | Missing tests for new logic | Technical debt | | Note for later | Old TODOs in touched files | Existing debt | | Ignore | Style inconsistencies | Not your scope |
markdown## Loose Ends Check **Files changed:** [count] **Fixed:** - [x] Removed unused import in `file.ts` - [x] Removed console.log in `handler.ts` **Noted:** - [ ] `utils.ts:45` has existing TODO (not from this change) **Clean:** No loose ends found / All addressed
After implementing a new API endpoint:
markdown## Loose Ends Check **Files changed:** 4 **Scanning...** `api/users.ts`: - Line 3: unused import `lodash` - Removed - Line 45: console.log for debugging - Removed `types/user.ts`: - Clean `tests/users.test.ts`: - New endpoint has test - Good - Edge case (empty input) not tested - Added `services/user.ts`: - Line 23: TODO I wrote: "validate email format" - Addressed now **Result:** 4 loose ends found and fixed. Ready to commit.
Other measured skills in the registry, with their headline benchmark lift.