"Help me make a safe package-manager decision for this project.
1. Tell me which package manager this repo is already using and how you know
2. Explain whether I need a new dependency or can use what is already installed
3. If a new package is justified, tell me the tradeoffs and maintenance risk
4. List the exact install and verification steps
5. Stop before switching package managers or adding a dependency just for convenience
Optimize for fewer dependencies, predictable installs, and easy rollback."What is npm? Package Managers and Why They Exist
Understand packages, dependencies, package.json, and node_modules — the supply chain of modern software.
Prompt FAQ
Questions to answer before you paste it
When should I use the What is npm? Package Managers and Why They Exist prompt?
Understand packages, dependencies, package.json, and node_modules — the supply chain of modern software. Use it when you need a safer starting point than a blank prompt and you want the agent to stay inside explicit constraints.
Should I paste this prompt exactly as written?
No. Treat it as a safe starter. Replace the task, files, constraints, and verification details with your actual context before you run it.
What should I do after the agent answers?
Read the diff, run the checks, and stop after one reviewable step. If you need deeper context, open the lesson that explains the reasoning behind the prompt.
Related prompts worth copying next
Frontend vs Backend — What's the Difference and Why Does It Matter?
Understand the two halves of every web application using a restaurant analogy that makes it click.
Open prompt pageHTML and CSS — The Building Blocks Every Builder Should Recognize
Understand how HTML provides structure and CSS provides style — the visual foundation of every web page.
Open prompt pageJavaScript and TypeScript — The Language of the Web
What JavaScript does, why TypeScript exists, and where you'll see them in every web project you build.
Open prompt page