Kikobeats/untracked — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small Node.js command line package called untracked. I want to run it with npx and have it print a smart list of ignore patterns for files that usually don’t need to ship in production, like docs, tests, coverage folders, config files, source maps, type definitions, examples, and other clutter.

It should work with normal ignore files like .dockerignore, .slugignore, .vercelignore, and .yarnclean by letting me redirect the output. It should also have a write mode that updates an existing ignore file in place, only replacing its own generated section and leaving my custom rules alone.

Please make it detect production dependencies so it doesn’t accidentally ignore files that are actually needed at runtime. Let me customize it through package.json or a simple config file, with a whitelist for things to keep and a blacklist for extra things to remove.

Keep the tool simple, reliable, and ready to publish as an npm package.

Want more depth? Deep Reverse