All articles
Sourcing & outreach

Cold Outreach Templates for Developers on GitHub, Tested in Claude and Gemini

Quote one thing the developer wrote, judge nothing, skip anyone whose bio says no. Three annotated GitHub outreach templates, tested in Claude and Gemini.

  • More replies
  • Better hires
  • Less legal risk

Oct 29, 2026 · 6 min read

Thursday, 4:40 p.m. You have a developer's GitHub page open and a Go role to fill. You paste the profile into an assistant and type "write a personal email." One draft in our test said it had "spent too long in the pgqueue-go source." You hadn't. The model said it for you, and the developer, who knows exactly what they wrote, will notice.

The short answer: the personal part of a GitHub email is one thing the developer wrote or committed, quoted exactly, with no verdict on it. Give the model that rule, a word limit, and an instruction to stop when the bio says "don't contact me". Three templates below with margin notes: two adapted from emails Claude and Gemini wrote in our test, and one fallback we wrote ourselves for profiles with nothing to quote.

Three emails, with the margin notes

A. When the README has a line you can quote

Subject: [repo name] and [our domain]

Hi [first name],

I came across [repo], and this line in the README: "[exact quote]". [One sentence on how that connects to our work, using only facts about the role.]

We're hiring a [role] ([stack], [hybrid or remote]), reporting to [name, title]. Would a [15]-minute call be worth it?

[Your name], [company]
  • The quote proves you looked. Prefer the developer's own sentence about why they built the tool.
  • "Using only facts about the role" stops the model from inventing why you are a fit.

B. When the best thing is a post or a commit message

Subject: [post title, shortened]

Hi [first name],

I saw your [post / commit message] "[exact title]". We run [stack] at [company], where [one true sentence about the work]. I'm hiring a [role] for it. Would you want to hear more?

[Your name], [company]
  • Cut any sentence that says the work is "impressive" or "elegant". Nobody reviewed the code.

C. When nothing they wrote fits the role (our own fallback, not from the test)

Subject: [role] at [company]

Hi [first name],

I found your profile while looking for [skill]. I haven't read your code, so I won't pretend to know what you'd enjoy about this. The short version: [role], [stack], [location], [reporting line]. Worth a reply?

[Your name], [company]
  • Plain beats fake. Or skip the person.

The prompt that wrote them

PERSONA
You are a technical recruiter who writes short first messages to developers. You have not read anyone's code.

TASK
For each developer below, write a first email for the role, using one real detail from their public GitHub paste.

CONTEXT
Use only the facts in the paste. Nothing else is known about the developers or the company.

RULES
- Cite exactly one thing the developer themselves wrote or committed: a repo, a README line, a commit message or a blog title. Quote or name it exactly.
- Do not judge the code or the person ("elegant", "impressive", "great work"). You have not reviewed the code. Say what you noticed and why it connects to the role.
- If a repo is a fork, only cite what the paste shows this person committed.
- If the profile asks not to be contacted about jobs, write "DO NOT CONTACT" and the reason, and no email.
- Do not use or mention any email address from the commits. Do not mention where the person lives unless it matches the role's office.
- Subject: 5 words or fewer. Body: 90 words or fewer. End with one easy question. No "I hope this finds you well".

FORMAT
Developer number, Subject, Body.

[ROLE and the pasted GitHub profiles]

Where the plain prompt went wrong

Our invented test: one Go role, a developer with a job-queue repo, one with a fork (two typo fixes) beside a small real tool, and a staff engineer whose bio says "please don't send me recruiting messages". We ran a plain "write a personal email" prompt and the one above, in both tools.

Email length, developers 1 and 2 (average)
Plain promptWith the rulesClaudeClaude: Plain prompt 138.5 words, With the rules 76 words138.5 words → 76 wordsGeminiGemini: Plain prompt 129.5 words, With the rules 65.5 words129.5 words → 65.5 words

Words in the body, counted by script; the rules asked for 90 or fewer. Gemini's plain run also emailed developer 3, who asked not to be contacted.

Source: our test, one run per prompt per tool, three invented developers

Show the data
Plain promptWith the rules
Claude138.5 words76 words
Gemini129.5 words65.5 words
What went wrong Claude, plain Gemini, plain With the rules (both)
Emailed the developer who said no No, flagged it Yes: "apologies for breaking your bio rule" "DO NOT CONTACT" and the reason
Praise or verdicts "the kind of edge case most people never find" "Loved your philosophy", "rare and refreshing" None
Claimed to have read code "spent too long in the pgqueue-go source" No No
Raised the commute "I know that's a commute from Haifa" "Given you're based in Haifa" Left out
Company fact not in the role "Reconciliation is a domain where at-least-once delivery ... matter" "core platform team" Gemini: "Postgres concurrency handling is central to our stack"

Every rule exists because a plain run failed at it. Gemini's last cell is why the first check below matters.

Four checks on the way out

  • Delete any sentence about your company that isn't in the role description. A model fills gaps with plausible claims.
  • Check the bio first. "Not looking" or "no recruiters" means no email.
  • Don't mail a commit address. Use a contact the person lists publicly.
  • Public is not free to use. GitHub's Acceptable Use Policies restrict using information from the service "for spamming purposes, including for the purposes of sending unsolicited emails to users". Whether one tailored note counts is a question for a lawyer in your market, since our summary isn't legal advice.

Your next step: check the repo behind the profile with how to use Claude or Gemini on a candidate's GitHub projects, then see more general cold email templates that avoid spam.

This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.

Keep reading