agentsclimarketplace

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.

Install
npx -y skills add nbialk/quiver-cli --skill cleanup

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 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.

SKILL.md

1.2 KB, as published. Nobody here has run it

Cleanup Skill

Find unused code, dependencies, and exports using knip.

Instructions

  1. Run pnpm cleanup and capture the full output
  2. 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)
  3. Report findings to the user, grouped by category and sorted by priority
  4. Do NOT apply any fixes automatically — wait for explicit user confirmation on what to remove
  5. 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
  6. After applying fixes, run pnpm cleanup again to verify
  7. Run pnpm build to confirm nothing broke

Notes

  • shadcn/ui components may report unused exports — these are typically false positives since components are used via their public API
  • ignoreExportsUsedInFile is enabled in knip.json to reduce noise from utility files
  • If knip reports issues with auto-detected plugins (Next.js, ESLint, Prisma), check knip.json config before acting

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.