Claude Prompts for Tech Leads
Tech leads need help weighing architecture options, writing design docs and decision records, structuring code review feedback, and breaking large projects into plans a team can execute. These Claude prompts start from that: fill in your situation once and reuse it. The worked example below is a architecture design task, one of the most common for tech leads.
I'm a tech lead and need help with [task, e.g. architecture decisions]. What I have: - [the material involved: code, draft, notes or data] What a good result looks like: - [the outcome and its format] Ask me one clarifying question if something important is missing, then give the result. About my work - Team and system: [e.g. 6 engineers, Rails monolith, Postgres, 2M monthly users] - Decision or problem: [e.g. whether to split out the billing service] - Constraints: [e.g. ship in one quarter, no new infrastructure vendors] Context - Reference material: [paste it below, or attach the file]
How to use this prompt
- 1
Open Claude
Start a new chat in Claude and paste the prompt.
- 2
Give it context
Attach the documents, code or data the prompt refers to, or paste them below the prompt.
- 3
Review and iterate
Reply in the same chat to refine. Point to the exact part you want changed.
- 4
Save what you repeat
If you use this prompt often for one body of work, set it up in a Claude Project with the instructions and reference files saved.
Working in Claude
- •Claude handles long documents well, so paste the full source text rather than a summary when accuracy matters.
- •Longer pieces of writing or code may open in a side panel (an artifact) that you can edit and ask Claude to revise.
- •Clear structure helps: separate instructions from the material with headings or tags such as <document>.
Example task: Architecture Design
What you give it
Building: an appointment booking app for small clinics. Patients book a slot, clinics manage calendars, patients get an SMS reminder 24 hours before. Scale: 5,000 users, low traffic. Team: 2 full-stack developers, no ops person. Stack: Postgres required. Hard part: reminders must go out reliably even if a server restarts.
What a good answer looks like (shortened)
1. Components - One web app (monolith) serving the UI and API. - Postgres for clinics, slots, bookings and a reminders table. - A background job worker using a Postgres-backed queue, so there is nothing new to operate. - An SMS provider called from the worker. 2. Data flow: booking 1. Patient picks a slot. The app inserts the booking and a reminder row due 24 hours before, in one transaction. 2. The worker polls for due reminders, sends the SMS, and marks the row sent. 3. Tradeoffs - A monolith is simplest for two people. Split only if one part needs to scale on its own. - Polling adds up to a minute of delay, which is fine for reminders. Use an idempotency key so a restart never sends twice. 4. Build first: booking with the transactional reminder row.
Tips for better results
- •Ask the AI to argue against your preferred option before you commit. A good counterargument now is cheaper than a design doc rewrite after review.
- •Attach the documents, code or data the prompt refers to, or paste them below the prompt.
- •Check this before you use the output: check that recommendations fit your team's actual size and operating capacity, since AI often defaults to patterns built for much larger organizations.
Check before you use it: Check that recommendations fit your team's actual size and operating capacity, since AI often defaults to patterns built for much larger organizations.
Get the free prompt pack
Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.
Variations
Task
Architecture Design: Replace the first line with: Help me design the architecture for a system.
Review an existing design
Replace What we are building with: Here is our current architecture [paste diagram or description]. Find the weak points at [target scale].
Second task
Change the task line to: [Code review guidance].
Save it as a Retext snippet
Retext is a free text expander for Mac. Save this prompt once, then type ;tech-claude in any app (ChatGPT, Claude, your editor, a browser tab) and the full prompt is pasted in.
- Click Add to Retext. The prompt installs as a snippet with the trigger ;tech-claude.
- Change the trigger in Retext if you prefer a different one.
- Type the trigger wherever you want the prompt, then fill in the brackets.
Frequently asked questions
Should tech leads use AI to write design docs?
It is useful for structure, listing alternatives and spotting missing sections like rollout and rollback. The tradeoffs and the final recommendation need to reflect what you know about your team and system.
Should I use a Claude Project for this prompt?
If you run it often against the same reference material, yes. Save the prompt as the project's instructions and upload the files once.
How do I keep Claude from adding things I didn't ask for?
Say what to leave out, and give the output format exactly, for example "Reply with the table only."
How do I reuse this prompt without copying it every time?
Click Add to Retext to save it as a snippet. Then type ;tech-claude in any Mac app, including your AI tool, and the full prompt is pasted in.
Related Templates
Get the free prompt pack
Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.