The Contribution Β· Free & open Β· 5 chapters published

How to Contribute to Open Source

by M. Ali Adnan

A practical guide to finding projects, making your first contribution, and growing into a trusted open-source maintainer.

From your first Issue to your first Merge β€” step by step.

38 merged pull requests β€” Google Β· OpenAI Β· n8n Β· OpenClaw

How to Contribute to Open Source β€” book cover

Our mission

β€œMake your first merged pull request inevitable β€” and show every reader that open source is a process they can learn, not a club they have to be invited into.”

01 β€” The book

What's inside this book?

Open source feels intimidating until your first merged pull request. This book removes the guesswork β€” written from real experience, not theory.

01

Find the right project

Discover projects that match your skill level and interests.

02

Ship your first PR

A step-by-step walkthrough of fork β†’ branch β†’ pull request β†’ merge.

03

Master the unwritten rules

Communication, code review etiquette, and issue etiquette maintainers notice.

04

Grow into a maintainer

Go from first-time contributor to someone trusted with a project's future.

The loop this book teaches

One repeatable cycle β€” mastered in Chapters 1–3

The contribution cycle: pick an issue, branch and code, open a PR, review, merged01Pick an issue02Branch + code03Open PR04Review05Merged…and repeat β€” your second PR is easier than your first

Who this book is for

ReaderWhat you'll get
Students & self-taught devsA repeatable path from zero to a merged PR β€” no CS degree assumed.
Career-switchersPublic proof of skill: merged contributions recruiters can click.
Working developersThe unwritten rules of review etiquette and maintaining trust.
The AI-curiousChapter 4: a supervised AI workflow that runs your PR loop with you.

03 β€” About the author

M. Ali Adnan

@AAliKKhan

Full-Stack Developer & Agentic AI Builder Β· Karachi, Pakistan

I started coding publicly on April 2, 2024 with zero open-source experience β€” just assignments pushed to GitHub. Since then I've shipped 73 public repositories and had 38 pull requests merged into projects people actually use β€” including google/adk-docs, openai/openai-agents-python, n8n-io/n8n-docs, and openclaw/openclaw. I learned every rule of collaboration the hard way: broken builds, silent reviewers, rejected PRs, and finally merged ones. This book is the guide I needed on day one.

M. Ali Adnan

04 β€” The journey

My open source journey

I'm M. Ali Adnan (@AAliKKhan) β€” Full-Stack Developer & Agentic AI Builder from Karachi, Pakistan. Here's the path that made this book possible.

Apr 2024

Started in public

First GitHub account. Assignments and experiments pushed openly from day one.

2024–25

Built in the open

73 public repositories β€” assignments, projects, and experiments.

Now

Merged into big projects

38 merged pull requests across 4 major platforms β€” Google, OpenAI, n8n & OpenClaw.

Next

Teaching what I learned

This book β€” everything I wish someone had told me before my first PR.

05 β€” Proof, not promises

Why trust this book?

Everything here comes from real, public work on GitHub β€” verify it yourself.

M. Ali Adnan@AAliKKhanView GitHub profile β†’
73
Public repositories
38
Merged pull requests
4
Platforms merged into
2+ yrs
Building in public
5
Chapters published

Every claim is a link, not a bullet β€” see all 38 merged pull requests on GitHub.

06 β€” Table of contents

Chapters

Five chapters β€” read them in order, or jump to the part you need.

Start reading

Ready to make your first contribution?

Start reading today β€” it's free, and it starts with the basics.