Read Me First: An Intro to Internal READMEs
Tags: cleancode, documentation, readme, manager
Published: 2018-11-14 19:43:51

---
title: Read Me First: An Intro to Internal READMEs
published: true
tags: cleancode,documentation,readme, manager
description: The READMEs for an organization's internal repositories are a key starting point for improving the code quality in a codebase. They are critical to software development teams that want to write clean code.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/rnajcev10yq7s3qx45pb.jpg
canonical_url: https://www.pullrequest.com/blog/internal-readme-introduction/
---

The most successful open source projects have informative and entertaining READMEs. There are badges, screenshots, animated walkthroughs, and getting started guides. Some even break it into separate documentation sites that match the sections in a README.

![Prettier's through README on GitHub](https://thepracticaldev.s3.amazonaws.com/i/nmd7cy86u1uqrvnfg7ei.png)<figcaption>Prettier's through README on GitHub</figcaption>

With a quick glance through one of these open source repo’s README file, you’re likely to have a complete grasp of the project. You’ll be able to access a summary of the purpose, who made it, why they created it, who it’s for, how to install it, and how to contribute.

It’s usually not the same as the crucial repositories inside of our organizations. It’s odd these often end up with outdated and empty READMEs despite being mission-critical components of a business.

**Are OSS maintainers obsessive documentation fanatics?**

I don’t believe maintainers and contributors have a bizarre affinity for documentation.

They are passionate about creating software that helps others change the world. To get their project into the hands of the right users it takes some
'[marketing](https://www.pullrequest.com/blog/marketing-for-engineers/?utm_medium=referral&utm_source=devto).'

When you dive into a new popular project, it’s clear someone took hours of time to document it so more people could use and contribute to it.

After volunteering hundreds of hours of work, it makes sense they’d want it to be as easy as possible for people to understand, use, and contribute. Without a thoughtful README, potential users would likely not discover the repo and miss out on the great functionality.

**Does this mean every repository in your company should have an equally robust README?**

One with thousands of words, build stats badges, and GIF walkthroughs?

No, your team’s codebase is different from open source. There are only a few potential contributors to your repos, you’re likely all in the same office, and there are opportunities for people to ask questions if they get stuck.

It’s likely most of the code only applies to your business’s use case and despite an empty README your team will still use and contribute to the project.

It makes the README an afterthought for most internal repos. Something on the list of things to do between sprints. They're usually filled with vague bits of information added when the repo was created long ago.

Many dev teams think since they’re not trying to market the repo to the world there’s no audience at all for an internal README.

![Example of a standard internal README.md](https://thepracticaldev.s3.amazonaws.com/i/y2ikzrehha0yvz9u7pkr.jpg)<figcaption>Example of a standard internal README.md</figcaption>

So why bother with spending time on your READMEs? Fundamentally, having a useful README makes it easier for your team to push cleaner code.

Everyone on a development team benefits from a project with a clearly defined README. New hires will be able to quickly get set up contributing code that matches the team’s standards. Overall, the whole team benefits from having more people know how to run and fix the project.

#### Here’s to small changes in your READMEs

Most internal repositories contain the bare minimum already, such as a single sentence describing its usage. While there might be a lot that could be added, it’s difficult to know from the beginning what’s vital to include for your company and the project. Don’t expect to write pages for every README overnight.

To start making improvements, there’s an easy way to set the foundation that gets the team to begin the process. Pick your three most important repositories and the three most essential things for your team to know. For example, how to run, how to test, and why critical decisions were made.

From that foundation, you can encourage everyone on your team to work towards incremental changes to the README whenever possible. Adding a small comment during code reviews of relevant pull requests will improve the overall quality of your READMEs.


*This was originally posted on [PullRequest's blog](https://www.pullrequest.com/blog/internal-readme-introduction/?utm_medium=referral&utm_source=devto). [Sign up](https://www.pullrequest.com/?utm_medium=referral&utm_source=devto) for PullRequest today and get code review from professional reviewers backed by automation to help improve your code quality.*