All Prompts
Coding
advanced
Claude

Architecture Decision Record

Write a proper ADR for a technical decision so the reasoning survives team turnover.

Intended Use Case

Write a proper ADR for a technical decision so the reasoning survives team turnover.

prompt.txt
Decision: {{DECISION}}
Write an Architecture Decision Record:
1. **Context** — the situation and constraints forcing the decision.
2. **Options** — 3 alternatives, with pros/cons each.
3. **Decision** — what we chose, in one sentence.
4. **Rationale** — why, tied to the constraints.
5. **Consequences** — positive, negative, and neutral.
6. **Revisit trigger** — the one signal that should make us reopen this ADR.
Keep it under 400 words.

Variables to Replace

{{DECISION}}

Example Usage

Document the decision to move from a monolith to a modular monolith.

#architecture
#adr
#documentation

More Coding Prompts

Onboard a new engineer to a codebase's architecture and conventions.

Codebase summary (key files, entry points, main modules):
{{SUMMARY}}
Write an onboarding guide for a new developer joining tomorrow:
1. **Mental model** — the 3 layers/parts and how they talk.
2. **Where to start reading** — the 3 files to read first and why.
3. **The conventions** that aren't written anywhere (the 'tribal knowledge').
4. **The trap doors** — 2 places where it's easy to break something without realizing.
5. **First task** — a good first PR that touches one layer safely.
Keep it practical, not a directory listing.
Variables:{{SUMMARY}}
Coding
intermediate
Claude
Details

Review an API design for consistency, ergonomics, and future-proofing.

API endpoints:
{{ENDPOINTS}}
Review against REST/API-design best practices:
1. **Naming & resource modeling** — are the resources sensible?
2. **HTTP methods & status codes** — anything off?
3. **Consistency** — naming, pagination, error format, filtering.
4. **Versioning & breaking-change risk** — what will hurt in v2?
5. **Security** — auth, id exposure, mass-assignment.
Output the top 5 issues, each with the fix and the severity (breaks clients / cosmetic).
Variables:{{ENDPOINTS}}
Coding
advanced
Claude
Details

Turn code into clear documentation for the humans who'll use it.

Code to document:
{{CODE}}
Write documentation:
1. **One-line summary** of what it does.
2. **When to use it** and when not to.
3. **Parameters** — table: name, type, required, description, example.
4. **Returns** — type and example.
5. **Throws** — errors and what triggers each.
6. **A copy-pasteable example** that solves a real task.
7. **Gotchas** — 2 things that surprise users.
Assume the reader is competent but new to this code.
Variables:{{CODE}}
Coding
intermediate
Claude
Details
base44
Edit with Base44