{"name":"contributing-md","title":"CONTRIBUTING.md template","description":"A CONTRIBUTING.md template for open source projects with where to report bugs, local setup, branch and commit rules, and how pull requests get reviewed.","category":"project","updated":"2026-11-30","url":"https://sniptide.com/templates/contributing-md","files":[{"name":"CONTRIBUTING.md","language":"markdown","content":"# Contributing to Acme\n\nThanks for helping. This guide explains how to report problems, set up the project and get a\nchange merged.\n\n## Ask a question or report a bug\n\n- Questions go to [Discussions](https://github.com/acme/acme/discussions).\n- Bugs go to [Issues](https://github.com/acme/acme/issues/new/choose). Search first, then use the\n  bug report form and include the steps to reproduce.\n- Security problems go through [private vulnerability reporting](SECURITY.md), never a public\n  issue.\n\n## Set up the project\n\nYou need Node.js 24 and Docker.\n\n```bash\ngit clone https://github.com/acme/acme.git\ncd acme\nnpm ci\ncp .env.example .env\ndocker compose up -d --wait\nnpm run dev\n```\n\nThe app runs at `http://localhost:3000`. Run `npm test` to check that your setup works.\n\n## Make a change\n\n1. For anything larger than a small fix, open an issue first so we can agree on the approach.\n2. Create a branch from `main`, such as `fix/login-redirect`.\n3. Write a test that fails without your change.\n4. Run `npm run lint`, `npm run typecheck` and `npm test`. All three must pass.\n5. Update the documentation in `docs/` when behavior changes.\n\n## Commit messages\n\nWe use [Conventional Commits](https://www.conventionalcommits.org): `type(scope): description`,\nsuch as `fix(auth): keep the redirect after sign-in`. Types are `feat`, `fix`, `docs`, `refactor`,\n`test` and `chore`.\n\n## Open a pull request\n\n- Fill in the pull request template, including how to test the change.\n- Keep one change per pull request. Small pull requests get reviewed faster.\n- A maintainer reviews within a week. Address comments with new commits; we squash on merge.\n\n## Code of conduct\n\nEveryone taking part follows our [Code of Conduct](CODE_OF_CONDUCT.md).\n\n## License\n\nBy contributing, you agree that your contributions are licensed under the project's\n[MIT License](LICENSE).\n"}]}