-
Notifications
You must be signed in to change notification settings - Fork 7
Home
generator-community
createsREADME
,CODE_OF_CONDUCT
, andLICENSE
files based on guided questions and answers about your product. (It will so generateCONTRIBUTING
documents, too.) This Wiki provides links to good examples of these files, and whichgenerator-community
has "mined" to help you create best-of-breed instructions for product consumption and collaboration.
- 1. Inner and open source success factors
-
2. Recommended community standards for Git repositories
-
2.1.
README
: getting started for Consumers and Contributors - 2.2.
CODE_OF_CONDUCT
: create a positive social atmosphere for your community -
2.3.
CONTRIBUTING
: collaboration guidelines - 2.4.
LICENSE
: define what people can and can’t do with with open source software - 2.5. Other useful repository documents
-
2.1.
-
3.
generator-community's
product delivery roadmap
GitHub’s 2017 Open Source Survey showed incomplete or confusing documentation is the biggest problem for open source users. Good documentation invites people to interact with your project. Eventually, someone will open an issue or pull request. Use these interactions as opportunities to move them down the funnel.
Building Welcoming Communities. (n.d.). Retrieved August 31, 2017, from https://opensource.guide/building-community/
In order to use your inner or open source product, people need to be able to discover and assess your product's value. Since search engines are optimized for natural human language, your product's repository should have an well-documented "home" page called the README
.
In order to contribute to your inner or open source product, people need to understand
- How you manage collaboration,
- The standards you uphold,
- The conduct you expect from participants, and
- The legal protections that your open source product provides.
In order to build community, people need to know how you manage usage and contributions. Community standards—in the form of four documents—have emerged to help you do just that.
Before you launch your own open source or inner source product, add these three markdown documents to your product repository and edit their contents to match your product delivery model: they're crucial for building and sustaining a community users, contributors, and product evangelists.
The
README
is the instruction manual that welcomes new community members to the project. It explains why the project is useful and how to get started.Eghbal, et. al. (n.d.). How to Contribute to Open Source. Retrieved August 30, 2017, from https://opensource.guide/how-to-contribute/#anatomy-of-an-open-source-project
README
(raw markdown)
README
(browser-friendly)
- 💻
generator-standard-readme
- 💻
generator-readme
- 💻
generator-github-create
- 💻
generator-make-readme
- 💻
generator-badges
- 💻
generator-docs
-
A curated list of awesome READMEs.
-
open-source-template
: A README template to encourage open-source contributions -
quality-docs
is not specifically related to READMEs, but purports to be "A CLI tool to evaluate the quality of writing in your project's markdown files."
The code of conduct sets ground rules for participants’ behavior associated and helps to facilitate a friendly, welcoming environment. While not every project has a
CODE_OF_CONDUCT
file, its presence signals that this is a welcoming project to contribute to.Eghbal, et. al. (n.d.). How to Contribute to Open Source. Retrieved August 30, 2017, from https://opensource.guide/how-to-contribute/#anatomy-of-an-open-source-project
CODE_OF_CONDUCT
(raw markdown)
CODE_OF_CONDUCT
(browser-friendly)
Contributor Covenant: A Code of Conduct for Open Source Projects
Whereas
READMEs
help people use the project, contributing docs help people contribute to the project. It explains what types of contributions are needed and how the process works. While not every project has aCONTRIBUTING
file, its presence signals that this is a welcoming project to contribute to.Eghbal, et. al. (n.d.). How to Contribute to Open Source. Retrieved August 30, 2017, from https://opensource.guide/how-to-contribute/#anatomy-of-an-open-source-project
CONTRIBUTING
(raw markdown)
CONTRIBUTING
(browser-friendly)
- Atom IDE's contributing guide
awesome-conributing
- Ember.js
- Guide to Idiomatic Contributing
- React's "How to contribute" 🌟
By definition, every open source project must have an open source license. If the project does not have a license, it is not open source.
Eghbal, et. al. (n.d.). How to Contribute to Open Source. Retrieved August 30, 2017, from https://opensource.guide/how-to-contribute/#anatomy-of-an-open-source-project
Visit "Choose an open source license" for guided license selection assistance.
Awesome GitHub Issues & PRs Templates
This is a curated list of templates that can offer inspiration for your project. An awesome template is one that informs contributors how to proceed in a very detailed or unique way.
GitHub repositories support ISSUE_TEMPLATE
and PULL_REQUEST_TEMPLATE
files, which allow you to customize the markdown that appears when contributors create a new Issue or Pull Request.
Creating an issue template for your repository (ISSUE_TEMPLATE
).
Creating a pull request template for your repository (PULL_REQUEST_TEMPLATE
).
CHANGELOG
: an empty change log to help you remember you need one 😉.
PRE_RELEASE_CHECKLIST
: things to validate before your ship.
Individual Contributor License Agreement (CLA): A legal tool intended to avoid disputes with contributors over origin of ownership or respective rights. Unfortunately, CLAs can become barriers to contribution.
Usage
Generate all recommended community docs:
# Generate all recommended community docs
$ yo community
Usage
Generate a README
document:
# Generate a READE document
$ yo community:readme
Usage
Select a CODE_OF_CONDUCT
document:
# Select a CODE_OF_CONDUCT document
$ yo community:code-of-conduct
Usage
Generate a CONTRIBUTING
document:
# Generate a CONTRIBUTING document
$ yo community:contributing
Usage
Select an open source LICENSE
:
# Select an open source license
$ yo community:license
Usage
Generate a GitHub ISSUE_TEMPLATE
and GitHub PULL_REQUEST_TEMPLATE
:
# Generate a GitHub Issue and PR template
$ yo community:gh-templates
Only generate a GitHub ISSUE_TEMPLATE
:
# Generate a GitHub Issue template
$ yo community:gh-templates --issue
Only generate a GitHub PULL_REQUEST_TEMPLATE
:
# Generate a GitHub Pull Request template
$ yo community:gh-templates --pr
This work is licensed under a Creative Commons Attribution 4.0 International License.
Graph art by icons8.
-
CODE_OF_CONDUCT
Facilitate healthy community behavior. -
CONTRIBUTING
Detailed participation guidelines. -
LICENSE
Select an open source license. -
README
Your repo's home page.
- InnerSource Commons
paypal/InnerSourcePatterns
- Submit a PR that adds community-standard docs
- Release cheatsheet