Skip to content

Commit 3c7de64

Browse files
Add CONTRIBUTING file
1 parent 9775eea commit 3c7de64

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Contributing
2+
3+
[fork]: https://github.com/github-samples/turn-based-game-mcp/fork
4+
[pr]: https://github.com/github-samples/turn-based-game-mcp/compare
5+
6+
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
7+
8+
Contributions to this project are [released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license) to the public under the [project's open source license](LICENSE).
9+
10+
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
11+
12+
## Submitting a pull request
13+
14+
1. [Fork][fork] and clone the repository
15+
1. Configure and install the dependencies: `npm install`
16+
1. Make sure the tests pass on your machine: `npm run test`
17+
1. Make sure linter passes on your machine: `npm run lint`
18+
1. Create a new branch: `git checkout -b my-branch-name`
19+
1. Make your change, add tests, and make sure the tests and linter still pass
20+
1. Push to your fork and [submit a pull request][pr]
21+
1. Pat yourself on the back and wait for your pull request to be reviewed and merged.
22+
23+
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
24+
25+
- Write tests.
26+
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
27+
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
28+
29+
## Resources
30+
31+
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
32+
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
33+
- [GitHub Help](https://help.github.com)

0 commit comments

Comments
 (0)