Skip to article frontmatterSkip to article content

Appendix B: GitHub README Conventions


Core Conventions

  1. Purpose and Description (first few lines)

    • A concise statement of what the project does and why it exists.
    • Often paired with badges (build status, license, PyPI version, DOI).
  2. Installation Instructions

    • Step-by-step setup, covering dependencies, environments, and package managers.
    • Explicit code blocks for copy-pasting.
  3. Usage Examples

    • Minimal working examples (command-line invocation, Python/Julia snippets, etc.).
    • Show expected output or figures when relevant.
  4. Project Structure/Documentation Links

    • Point to API docs, wiki, or Jupyter Book if detailed documentation is elsewhere.
    • Optional: include a file tree for orientation.
  5. Contributing

    • Guidelines for pull requests, coding style, testing, and code of conduct.
    • Link to CONTRIBUTING.md if it exists.
  6. License

    • Name and link to the LICENSE file.
    • GitHub automatically recognizes SPDX identifiers.
  7. Acknowledgments/Citation

    • Funding, collaborators, or citation guidelines (with DOI/Zenodo badge).
    • For academic projects, a CITATION.cff file is recommended.

Style Conventions


Widely Referenced Guidelines