Your First Open Source PR: Finding Good First Issues

Open source can look closed from the outside. The repos are large, the maintainers are busy, and the issue lists run into the hundreds. Still, every contributor started with one small change, and most projects need that change more than they need another feature idea. Your first open source PR does not have to fix a hard bug or add a feature. It has to be small, correct, and easy for a maintainer to review. This guide covers how to find that kind of issue and turn it into a merged pull request.

What a good first contribution looks like

A good first open source contribution fixes one clear problem. It touches a small number of files, it has a test or a visible result where that makes sense, and its description says what changed and why. Documentation fixes, typo corrections, broken links, and small test additions all count. So do bug fixes that are narrow and well understood. What does not work well as a first contribution is a large refactor, a new feature nobody asked for, or a change to a part of the codebase you have not read yet. Maintainers judge a first pull request by how easy it is to review, not by how clever it is. A ten-line change that lands cleanly teaches you the whole workflow and earns you trust for a bigger change later.

Your first open source PR starts with the right issue

Start with projects you already use. A tool you run every day, a library in your own project, or a docs site you have read before will all teach you faster than a random repo, because you already know what the software is supposed to do. Check the issue tracker for labels such as good first issue, help wanted, or beginner friendly. Read the issue carefully before you claim it. A good issue describes the problem, says where it happens, and has some sign that a maintainer still cares about it, like a recent comment or a label that is still in use. Avoid issues that are years old with no maintainer replies, and avoid issues where the discussion is still arguing about what the fix should be. If the project has a contributing guide, read it before you write any code. It tells you how to run the tests, how to format commits, and how the maintainers want pull requests structured.

Where to look beyond the labels

Labels are a starting point, not the only source of work. Some projects keep a list of beginner-friendly tasks in their readme or contributing guide. Others mark issues by difficulty in the issue body rather than with a label. GitHub search can help: filter by language, by the good first issue label, and by recent activity, so you see issues that are alive. You can also find work by using the software and noting what breaks. A confusing error message, a missing example in the docs, or a test that fails on your machine are all real issues, and reporting one clearly is a contribution in itself. If you open an issue first and a maintainer confirms the problem, you have a clear path to a pull request. When you are unsure whether your change belongs in a project, a short comment on the issue asking if a fix would be welcome saves everyone time.

Read the repo before you touch code

Clone the repo and read the readme, the contributing guide, and the code around the issue. Find the function or file the issue mentions and read the code that calls it, not only the lines you plan to change. Run the test suite before you change anything, so you know what a passing run looks like on your machine. If the tests fail before your change, note it and mention it in your pull request, because the maintainer needs to know the failure was already there. Set up the project the way the guide describes, including any install steps and environment variables. This reading time feels slow, and it is the part that keeps a first pull request from turning into a guess. A contributor who understands the surrounding code writes a smaller and safer change.

Make a small, focused change

Work on a branch, not on the main branch of your fork. Keep the change to the issue at hand. If you spot a second problem while you work, note it for a separate pull request instead of folding it into this one. Write the fix, then run the tests that cover the area you changed. Add a test if the project has tests and your change has behavior worth checking. Check the diff before you push. Read it as if you were the maintainer: every line should have a reason to be there, and stray changes, leftover debug lines, and unrelated formatting edits should go. A clean diff is the fastest way to get a review. If the project has commit message rules, follow them. Writing messages in the conventional commits style is a safe default when the guide does not say otherwise, and it makes the project history easier to read.

Write a PR description reviewers can follow

The description is part of the contribution. Start with what the pull request does in one or two sentences, then link the issue it closes. Say how you tested the change, including the commands you ran and the result. If the change affects how something looks or behaves, add a screenshot or a short before-and-after note. Keep the description short. A maintainer who can understand the change in thirty seconds is far more likely to review it the same day. If the project has a pull request template, fill in every section instead of deleting the parts that feel like work. The template exists because the maintainer has been burned by missing information before. A clear description also helps when the reviewer asks for changes, because the context is already written down.

Handle review feedback without taking it personally

Most first pull requests get comments in pull request review, and that is normal. A maintainer asking for a different approach, a missing test, or a smaller change is doing their job, not rejecting your work. Read each comment, ask a question when the request is unclear, and push the fix as a new commit on the same branch. Do not force-push over the review history unless the guide asks for it, because the reviewer needs to see what changed. If you disagree with a suggestion, say why in a calm sentence and offer the trade-off you see. Maintainers respect a contributor who can discuss a decision. The review round is also where you learn the most about the codebase, and a reviewer who sees you respond well is more likely to welcome your next pull request. Reading a guide on how to do a useful code review helps here, because it shows you what reviewers look for and why they ask for the things they ask for.

What to do after your first PR merges

Once the pull request merges, delete your branch and pull the latest main branch so your fork stays in sync. Then look for a slightly bigger issue in the same project. The second contribution is easier than the first because you already know the setup, the tests, and the review style. If the project uses continuous integration, the checks that ran on your pull request are worth understanding. A short read of how to build a CI pipeline with GitHub Actions will explain what those green checks actually ran. Over time, a few small merged pull requests in one project teach you more than a dozen drive-by fixes across many repos. Pick one project, stay with it for a while, and let the maintainer learn your name. If you are choosing where to host your own work, the comparison of GitHub, GitLab, and Gitea covers the options, and knowing how branches move through history helps too, so a read on git rebase versus merge is worth your time before your next contribution.

Your first pull request is a learning loop, not a test. Find a small issue in a project you use, read the code around it, make a focused change, describe it clearly, and respond to the review. Do that once, and contributing to open source will feel ordinary the second time.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.