webpro-nl/knip ? reverse-engineered prompt
Reverse engineered prompt
Build me a polished tool called Knip that helps people clean up JavaScript and TypeScript projects before shipping. I want it to scan a codebase and clearly show unused dependencies, unused exports, and files that are no longer referenced, so it is easy to reduce clutter and maintenance work.
Make it feel like something a developer could actually use every day. It should have a simple command line experience, sensible config for real world projects, and a fix mode for the cases that can be cleaned up automatically. The output should be easy to read and trustworthy, with helpful messages instead of noisy false alarms.
If it makes sense, include the supporting pieces people would expect around a tool like this, like config creation, editor integration, and solid docs or a small site explaining how to use it. Keep it open source friendly and production ready. You can look up current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit