Skip to content

How to make your first contribution to an open-source project

From choosing a project to getting a pull request merged: reading the codebase, finding a good first issue, following conventions and working with maintainers.

October 13, 2026 · 2 min read · RepoGrasp team

Contributing to open source is a great way to learn how real software is built, and many projects welcome newcomers. The hard part is rarely the code change. It's understanding enough of an unfamiliar codebase, and an unfamiliar community, to make a change maintainers want.

Choose the right project

  • Something you use. You'll understand the problems and care about the outcome.
  • Active maintainers. Look for recent commits, issues that get replies, and pull requests merged in the last month.
  • A welcoming setup. A CONTRIBUTING.md, issue templates, labels like good first issue, and a code of conduct are good signs.

Read before you code

  1. README and CONTRIBUTING. How to build, test and submit changes, and what the project won't accept.
  2. Recent merged pull requests. They show the size, style and review norms of accepted changes.
  3. The folder structure. Find where the main source, tests and docs live.
  4. The issue you want to work on, and any linked discussions.

Pick a good first issue

Good first contributions are small and well-defined: a documentation fix, a missing test, a clear bug with steps to reproduce, an error message that could be better. Comment on the issue to say you'd like to work on it, and ask any questions before starting. Maintainers may already have an approach in mind.

Understand the code around the change

Use the method from how to read an unfamiliar codebase, scoped to your issue:

  • Find the entry point for the behaviour.
  • Trace the path to where your change will go.
  • Read the tests for that code.
  • Check who else calls what you'll touch.

You can ask RepoGrasp "where is the CLI flag --watch handled, and which tests cover it?" on the project's repository and get a cited starting map in a minute.

Make the change the project's way

  • Follow the existing style, even if you'd do it differently.
  • Keep the change focused on the issue. Unrelated refactors make review harder.
  • Add or update tests.
  • Run the project's lint and test commands before pushing.

Write a good pull request

  • Link the issue.
  • Explain what changed and why, in a few sentences.
  • Say how you tested it.
  • Keep it small. Maintainers are volunteers, and small PRs get reviewed faster.

Respond to review well

Review comments are about the code, not you. Answer questions, make requested changes or explain your reasoning, and push updates. If a PR stalls, a polite ping after a week or two is fine.

After your first PR

Look for a slightly bigger issue in the same area. Each contribution builds context, and maintainers come to trust regular contributors.

Explore a project with RepoGrasp before picking your issue.