Cleanup
Skill nbialk/quiver-cli/template/.agents/skills/code/cleanup
Compose skills, slash commands & MCP servers from a central catalog into any repo as native configs for opencode, Claude Code and Codex - with lockfile-based drift detection.From the repository description
npx -y skills add nbialk/quiver-cli --skill cleanupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 4 commands, including `pnpm cleanup` and 3 more.
SKILL.md
1.2 KB, 289 tokens by cl100k_base, as published. Nobody here has run it
Cleanup Skill
Find unused code, dependencies, and exports using knip.
Instructions
- Run
pnpm cleanupand capture the full output - Analyze the results by category:
- Unlisted dependencies (highest priority — potential runtime bugs)
- Unused dependencies (safe to remove)
- Unused files (dead code)
- Unused exports (review needed — may be used dynamically)
- Report findings to the user, grouped by category and sorted by priority
- Do NOT apply any fixes automatically — wait for explicit user confirmation on what to remove
- When the user confirms removals:
- For unused dependencies:
pnpm remove <package> - For unused files: delete the file
- For unused exports: remove the export keyword or the entire declaration if fully unused
- For unused dependencies:
- After applying fixes, run
pnpm cleanupagain to verify - Run
pnpm buildto confirm nothing broke
Notes
- shadcn/ui components may report unused exports — these are typically false positives since components are used via their public API
ignoreExportsUsedInFileis enabled inknip.jsonto reduce noise from utility files- If knip reports issues with auto-detected plugins (Next.js, ESLint, Prisma), check
knip.jsonconfig before acting
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.