project-best-practices
Installation
SKILL.md
Project Best Practices
When creating or scaffolding a new project, follow these guidelines.
Project Initialization
- Always start with a package manager lockfile — run
npm init -y(orpnpm init) then install dependencies to generate a lockfile immediately. - Use TypeScript by default — unless the user explicitly asks for JavaScript. Configure
strict: trueintsconfig.json. - Add a
.gitignorefrom the start — includenode_modules/,dist/,.env, coverage reports, OS files. - Initialize git —
git initwith an initial commit after scaffolding. - Create a README.md — with project name, description, setup instructions, and available scripts.
Directory Structure
Follow a standard layout based on project type: