knip-audit
CommunityTriage and fix Knip findings for repo hygiene
Authorjamesaphoenix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Triage Knip findings to improve repository hygiene by removing dead files, unused dependencies, and manifest issues that degrade build reliability and clarity.
Core Features & Use Cases
- Triage findings: Classify Knip reports by relevance, distinguishing real dead files from intentional or edge-case configurations.
- Hygiene cleanup: Delete dead files, prune unused dependencies, and fix manifest issues that Knip flags.
- Guardrails & ignores: Add targeted ignores in .knip.jsonc when findings are intentional or framework-specific, ensuring they don't pollute future runs.
- Validation: Re-run lint gates (pnpm lint) to confirm changes, and iterate if necessary.
- Use Case: When a CI scan flags stale dependencies or missing files, apply this skill to clean up and document decisions.
Quick Start
Execute the Knip audit by triaging findings, removing dead files and unused dependencies, and then re-run pnpm lint:knip:strict.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: knip-audit Download link: https://github.com/jamesaphoenix/tx-agent-kit/archive/main.zip#knip-audit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.