Claude Prompt Library

30 Claude Prompts That Write Documentation

30 copy-paste prompts

Describe the software and Claude returns a complete, ready-to-publish document in clean Markdown. Prompts for how-to guides, reference docs, architecture and design docs, runbooks, onboarding docs, and troubleshooting guides. Not "give me some notes."

In short: This page contains 30 copy-paste ready prompts, organized into 6 categories with a description and pro tip for each. The first 15 prompts are free instantly โ€” no signup needed. Hand-curated and tested by the AI Academy team.

By Louis Corneloup ยท Founder, Techpresso
Last updated ยทHand-curated & tested by the AI Academy team

How-To Guides

5 prompts

Step-by-Step Feature How-To Guide

1/30

You are a senior technical writer who produces clear, task-oriented documentation. <context> I need a complete how-to guide that walks a user through accomplishing one specific task with our product, returned as a single self-contained Markdown document ready to paste into our docs site. </context> <inputs> - Product and feature: [WHAT IT IS, WHAT THE FEATURE DOES] - The task the reader wants to complete: [THE GOAL] - Target reader and skill level: [WHO, BEGINNER / INTERMEDIATE] - Prerequisites: [ACCOUNTS, PERMISSIONS, VERSIONS] - Where they do this: [UI PATH, CLI, OR API] - Common mistakes to warn about: [PITFALLS] </inputs> <task> Write the guide with: a one-line summary of what the reader will achieve and roughly how long it takes, a prerequisites checklist, numbered steps each with a short instruction plus the exact UI element, command, or code to use, expected result after each key step, a callout for any pitfall, a short verification section proving it worked, and a next-steps links block. </task> <constraints> - Valid Markdown only: H1 title, H2 sections, numbered steps, fenced code blocks with language tags, and blockquote callouts for notes and warnings. - Task-first and skimmable; no marketing language; every step is a concrete action. - Use realistic example values in commands, never lorem ipsum. </constraints> <format> Return the full how-to guide as a Markdown artifact, then a short note on which screenshots to add and where. </format>

Produces a complete task-oriented how-to guide with numbered steps, code, and verification in ready-to-publish Markdown.

๐Ÿ’ก

Pro tip: Paste the exact UI labels or command names so Claude uses your real wording instead of guessing at menu paths.

API Integration How-To Guide

2/30

You are a developer-experience writer who documents API integrations end to end. <context> I need a how-to guide that shows a developer how to integrate our API for a specific use case, from authentication to a working first request, as one self-contained Markdown document. </context> <inputs> - API and use case: [WHAT THE API DOES, WHAT WE ARE INTEGRATING] - Base URL and auth method: [E.G. BEARER TOKEN, API KEY, OAUTH] - Primary endpoint(s) for this flow: [METHOD + PATH] - Preferred language for examples: [CURL, JS, PYTHON, ETC] - Rate limits or gotchas: [ANY] - Success criteria: [WHAT A CORRECT RESPONSE LOOKS LIKE] </inputs> <task> Write the guide with: overview and what you will build, prerequisites and how to get credentials, an authentication section with a real request example, a step-by-step walkthrough of the core flow with request and response samples, error handling for the most common failure codes, rate-limit and pagination notes if relevant, and a copy-paste minimal working example at the end. </task> <constraints> - Valid Markdown: fenced code blocks tagged with the language, request and response shown side by side, tables for parameters. - Redact secrets as YOUR_API_KEY placeholders; use realistic sample payloads. - Every code sample must be runnable as written after substituting placeholders. </constraints> <format> Return the full integration guide as a Markdown artifact, then note which endpoints deserve their own reference pages. </format>

Generates a full API integration walkthrough from auth to a working request with runnable samples as a Markdown artifact.

๐Ÿ’ก

Pro tip: Give Claude one real (redacted) response body so it documents the exact field names your API returns.

CLI Tool Usage Guide

3/30

You are a technical writer who documents command-line tools for engineers. <context> I need a usage guide for our CLI tool that gets a new user from install to their first successful command, returned as one self-contained Markdown document. </context> <inputs> - CLI name and purpose: [WHAT IT DOES] - Install methods: [E.G. NPM, BREW, BINARY DOWNLOAD] - The 3-5 most-used commands: [COMMAND + WHAT IT DOES] - Global flags and config file: [ANY] - Typical first workflow: [WHAT A NEW USER DOES FIRST] - OS support: [MAC / LINUX / WINDOWS] </inputs> <task> Write the guide with: a short intro, installation for each method, a quickstart that runs the very first command and shows output, a section per key command with syntax, common flags, and a real example, a config-file section, and a troubleshooting note for the most common install or auth error. </task> <constraints> - Valid Markdown: fenced shell blocks tagged bash, tables for flags, inline code for commands and paths. - Show expected terminal output under commands where useful; use realistic arguments. - No filler; every command shown must be copy-paste runnable. </constraints> <format> Return the full CLI guide as a Markdown artifact, then suggest which commands warrant a separate command reference page. </format>

Builds a CLI usage guide covering install, quickstart, key commands, and config in ready-to-publish Markdown.

๐Ÿ’ก

Pro tip: Paste your CLI's --help output so Claude documents the exact flags and defaults instead of inventing them.

Installation & Setup Guide

4/30

You are a technical writer who specializes in getting-started documentation. <context> I need a complete installation and setup guide that takes someone from nothing to a running, verified install, returned as one self-contained Markdown document. </context> <inputs> - Software and what it is: [NAME, TYPE] - Environments to cover: [LOCAL, DOCKER, CLOUD, ETC] - System requirements: [OS, RUNTIME VERSIONS, MEMORY] - Required dependencies and services: [DB, REDIS, ETC] - Configuration and env vars needed: [KEY ONES] - How to know it worked: [HEALTH CHECK, TEST COMMAND] </inputs> <task> Write the guide with: system requirements, a prerequisites checklist, step-by-step installation for each environment, a configuration section listing required environment variables in a table with descriptions and example values, a first-run command, a verification section with the exact success output, and a common-setup-errors troubleshooting block. </task> <constraints> - Valid Markdown: H2 per environment, fenced code blocks, an env-var table, blockquote warnings. - Redact secrets; use placeholder values that make the format obvious. - Every command must be runnable; verification step must be concrete and testable. </constraints> <format> Return the full setup guide as a Markdown artifact, then note which prerequisites most often trip people up. </format>

Creates an installation and setup guide with requirements, config table, and a verification step as a Markdown artifact.

๐Ÿ’ก

Pro tip: List your exact env vars and their example formats so the config table matches production instead of guesses.

Migration / Upgrade Guide

5/30

You are a technical writer who documents version migrations and breaking changes. <context> We are shipping a new major version and I need a migration guide that helps existing users upgrade safely, returned as one self-contained Markdown document. </context> <inputs> - Product and versions: [FROM VERSION -> TO VERSION] - Breaking changes: [WHAT CHANGED, OLD VS NEW] - Deprecated features and replacements: [LIST] - Data or config migration steps: [ANY] - Rollback path: [HOW TO REVERT] - Estimated effort and risk level: [SMALL / LARGE] </inputs> <task> Write the guide with: a summary of what changed and why, a before-you-begin backup and prerequisites section, a breaking-changes table mapping old behavior to new with the required code or config edit, step-by-step upgrade instructions, a data or config migration section, a post-upgrade verification checklist, and a rollback procedure. </task> <constraints> - Valid Markdown: a before/after code diff style using two fenced blocks, a breaking-changes table, numbered steps, warning callouts. - Be precise about ordering; call out any irreversible step explicitly. - Use real symbol, flag, and config names, never placeholders where the actual name is known. </constraints> <format> Return the full migration guide as a Markdown artifact, then a one-line risk summary and the single most dangerous step. </format>

Produces a version migration guide with a breaking-changes map, upgrade steps, and rollback path as a Markdown artifact.

๐Ÿ’ก

Pro tip: Give Claude the actual deprecated API names and their replacements so the before/after table is accurate, not generic.

XML tags are just the start. Learn the full Claude workflow.

A growing library of 300+ hands-on AI tutorials covering Claude, ChatGPT, and 50+ tools. New tutorials added every week.

Start 7-Day Free Trial

Reference Docs

5 prompts

REST API Endpoint Reference

6/30

You are an API documentation specialist who writes precise endpoint reference pages. <context> I need a complete reference page for one REST endpoint (or a small group), returned as one self-contained Markdown document that could go straight into our API docs. </context> <inputs> - Endpoint(s): [METHOD + PATH] - What it does: [PURPOSE] - Auth required: [SCOPE / TOKEN] - Path, query, and body parameters: [NAME, TYPE, REQUIRED, DESCRIPTION] - Example request and response: [OR ASK CLAUDE TO INFER REALISTIC ONES] - Error responses: [STATUS CODES + MEANINGS] </inputs> <task> Write the reference with: endpoint signature and one-line description, auth and required scope, parameter tables split by path, query, and body (name, type, required, description, default), a request example in curl, a full success response example with status code, an error table with status codes and messages, and any rate-limit or pagination notes. </task> <constraints> - Valid Markdown: parameter tables, fenced JSON and shell code blocks, HTTP status codes in inline code. - Types must be explicit (string, integer, boolean, ISO 8601 datetime, etc.); mark every parameter required or optional. - Sample payloads must be internally consistent between request and response. </constraints> <format> Return the endpoint reference as a Markdown artifact, then note any fields that need clearer descriptions or examples. </format>

Generates a precise REST endpoint reference with parameter tables, examples, and error codes as a Markdown artifact.

๐Ÿ’ก

Pro tip: Paste one real JSON response and Claude will build the parameter tables and error list to match its exact shape.

Configuration Reference

7/30

You are a technical writer who documents configuration options and environment variables. <context> I need a complete configuration reference for our application so users can look up any setting, returned as one self-contained Markdown document. </context> <inputs> - Application and where config lives: [FILE, ENV VARS, DASHBOARD] - The settings to document: [NAME, TYPE, DEFAULT, WHAT IT CONTROLS] - Which are required vs optional: [FLAG EACH] - Any that are secrets: [MARK THEM] - Related settings that interact: [DEPENDENCIES] - Example config for a common setup: [OR ASK CLAUDE TO WRITE ONE] </inputs> <task> Write the reference with: an intro on where config is loaded from and precedence order, a master table of every setting (name, type, default, required, description), grouped subsections for related settings with fuller explanations and examples, a note on secrets handling, and a complete annotated example configuration for a typical deployment. </task> <constraints> - Valid Markdown: a settings table, fenced code for the example config with inline comments, inline code for keys and values. - Every setting has an explicit type and default; secrets clearly flagged and never shown with a real value. - Alphabetical or logical grouping stated up front; no duplicated entries. </constraints> <format> Return the configuration reference as a Markdown artifact, then flag any settings whose defaults seem risky or undocumented. </format>

Builds a full configuration and environment-variable reference with a settings table and annotated example as a Markdown artifact.

๐Ÿ’ก

Pro tip: Hand Claude your real .env.example file so the reference documents every key with its actual default and format.

CLI Command Reference

8/30

You are a documentation engineer who writes complete command references for CLI tools. <context> I need a full command reference (like a man page) for our CLI, returned as one self-contained Markdown document listing every command and flag. </context> <inputs> - CLI name: [NAME] - Commands and subcommands: [LIST WITH ONE-LINE PURPOSE] - Flags per command: [NAME, SHORTHAND, TYPE, DEFAULT, DESCRIPTION] - Global flags: [ANY] - Exit codes: [IF DEFINED] - Real usage examples: [OR ASK CLAUDE TO WRITE THEM] </inputs> <task> Write the reference with: a synopsis showing overall usage, a global flags table, a section per command with synopsis line, description, a flags table, and at least one worked example with output, and an exit-codes table. Keep entries uniform so the whole document reads consistently. </task> <constraints> - Valid Markdown: consistent H2/H3 per command, flag tables, fenced bash blocks for examples. - Show flag shorthand and long forms; state defaults; mark required flags. - Examples must be copy-paste runnable with realistic arguments. </constraints> <format> Return the command reference as a Markdown artifact, then note any commands missing examples or clear descriptions. </format>

Produces a man-page-style CLI command reference with per-command flag tables and examples as a Markdown artifact.

๐Ÿ’ก

Pro tip: Run your CLI's help for each subcommand and paste it in so the flag tables and defaults are exact.

SDK / Library Function Reference

9/30

You are a technical writer who documents SDKs and code libraries. <context> I need a function and class reference for our SDK so developers can look up any method, returned as one self-contained Markdown document. </context> <inputs> - Library name and language: [NAME, LANGUAGE] - Functions/classes/methods to document: [SIGNATURES OR NAMES] - Parameters and return types: [PER FUNCTION] - Errors or exceptions thrown: [ANY] - Usage examples: [OR ASK CLAUDE TO WRITE THEM] - Versioning notes: [SINCE VERSION, DEPRECATIONS] </inputs> <task> Write the reference with: a short intro and import statement, then one entry per function or method with its signature, a one-line description, a parameters table (name, type, required, description), the return type and shape, exceptions or errors it can raise, and a minimal runnable example. Group related methods under class or module headings. </task> <constraints> - Valid Markdown: fenced code blocks tagged with the language, parameter tables, signatures in code formatting. - Types must match the language's conventions; mark optional parameters and defaults. - Every example must compile or run as written after import. </constraints> <format> Return the SDK reference as a Markdown artifact, then note which functions need clearer return-type documentation. </format>

Generates an SDK function and class reference with signatures, parameter tables, and runnable examples as a Markdown artifact.

๐Ÿ’ก

Pro tip: Paste the actual function signatures or type definitions so Claude documents real parameter names and return types.

Data Model / Schema Reference

10/30

You are a technical writer who documents data models and database schemas. <context> I need a schema reference that describes our data model so engineers understand every entity and relationship, returned as one self-contained Markdown document. </context> <inputs> - System and storage: [APP, DATABASE TYPE] - Entities/tables/collections: [NAMES + PURPOSE] - Fields per entity: [NAME, TYPE, NULLABLE, DESCRIPTION] - Relationships: [ONE-TO-MANY, FOREIGN KEYS, ETC] - Indexes and constraints: [ANY] - Enums and allowed values: [ANY] </inputs> <task> Write the reference with: an overview of the model and a Mermaid entity-relationship diagram, then one section per entity with a purpose line, a field table (name, type, nullable, default, description), primary and foreign keys, indexes and constraints, and any enum value lists. End with a relationships summary. </task> <constraints> - Valid Markdown: field tables, and a fenced ```mermaid erDiagram block that parses. - Types must be explicit database types; mark nullability and keys clearly. - Keep entity and field names exactly as given; no invented columns. </constraints> <format> Return the schema reference as a Markdown artifact including the Mermaid ER diagram, then note any relationships that look ambiguous. </format>

Builds a data-model reference with per-entity field tables and a Mermaid ER diagram as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Paste your schema.prisma or CREATE TABLE statements so the field tables and ER diagram match the real database.

Architecture & Design Docs

5 prompts

System Architecture Overview

11/30

You are a staff engineer who writes clear system architecture documentation. <context> I need a system architecture overview that a new engineer or reviewer can read to understand how the whole system fits together, returned as one self-contained Markdown document with a diagram. </context> <inputs> - System name and purpose: [WHAT IT DOES] - Major components/services: [NAMES + RESPONSIBILITIES] - Data stores and external dependencies: [DB, QUEUES, THIRD-PARTY APIs] - Request/data flow: [HOW A TYPICAL REQUEST MOVES] - Key technologies: [LANGUAGES, FRAMEWORKS, INFRA] - Scaling and reliability concerns: [ANY] </inputs> <task> Write the doc with: a one-paragraph system summary, a component overview table (component, responsibility, tech), a Mermaid architecture diagram showing components and data flow, a section describing the main request lifecycle end to end, data storage and external integrations, and a short notes section on scaling, failure modes, and security boundaries. </task> <constraints> - Valid Markdown: a component table, prose sections, and a fenced ```mermaid flowchart block that parses. - Describe responsibilities and boundaries precisely; avoid vague statements. - Use the real component and service names provided. </constraints> <format> Return the architecture overview as a Markdown artifact with the Mermaid diagram, then list the two areas most in need of deeper docs. </format>

Produces a system architecture overview with a component table and Mermaid diagram as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Describe one full request path in plain English and Claude will turn it into an accurate data-flow diagram.

Architecture Decision Record (ADR)

12/30

You are a principal engineer who writes disciplined Architecture Decision Records. <context> I need a single ADR documenting one significant technical decision so the team has a durable record of the choice and its trade-offs, returned as one self-contained Markdown document. </context> <inputs> - Decision title: [WHAT WE DECIDED] - Context and problem: [WHY A DECISION IS NEEDED] - Options considered: [2-4 ALTERNATIVES] - Chosen option and why: [THE DECISION] - Trade-offs and consequences: [PROS, CONS, RISKS] - Status: [PROPOSED / ACCEPTED / SUPERSEDES X] </inputs> <task> Write the ADR using the standard structure: title with an ID and date, status, context (the forces and problem), decision (what we chose, stated in the active voice), considered options each with pros and cons, consequences (positive, negative, and follow-up work), and any references or links. Keep it factual and durable. </task> <constraints> - Valid Markdown: H1 title, clear H2 sections matching the ADR template, a comparison table for options. - State the decision decisively; capture real trade-offs, not a sales pitch for the winner. - Concise and self-contained so it reads clearly years later. </constraints> <format> Return the ADR as a Markdown artifact, then suggest a filename and ADR number convention for the repo. </format>

Generates a disciplined Architecture Decision Record with options, decision, and consequences as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: List the options you rejected and why in one line each; Claude sharpens them into an honest trade-off table.

Technical Design Doc (RFC)

13/30

You are a senior engineer who writes thorough technical design documents (RFCs). <context> I need a technical design doc for a feature or system change so reviewers can evaluate the approach before I build it, returned as one self-contained Markdown document. </context> <inputs> - Feature/change and goal: [WHAT WE ARE BUILDING AND WHY] - Requirements and non-goals: [IN SCOPE / OUT OF SCOPE] - Proposed approach: [HIGH-LEVEL DESIGN] - Key components and data changes: [APIS, SCHEMA, SERVICES] - Alternatives considered: [OTHER APPROACHES] - Risks, testing, and rollout plan: [ANY] </inputs> <task> Write the design doc with: summary and motivation, goals and non-goals, proposed design with component and data-model changes plus a Mermaid diagram of the flow, API or interface changes, alternatives considered with why they were rejected, testing strategy, rollout and migration plan, and open questions. Write for a reviewer who will poke holes in it. </task> <constraints> - Valid Markdown: structured H2 sections, tables for API or schema changes, a fenced ```mermaid block, an open-questions list. - Be specific about data and interface changes; state assumptions explicitly. - Clearly separate what is decided from what is still open. </constraints> <format> Return the design doc as a Markdown artifact, then list the three questions a reviewer is most likely to raise. </format>

Builds a reviewer-ready technical design doc (RFC) with goals, design, alternatives, and rollout as a Markdown artifact.

๐Ÿ’ก

Pro tip: State your non-goals explicitly up front; it keeps Claude's design scoped and prevents reviewer scope-creep.

Data Flow & Integration Design Doc

14/30

You are a systems architect who documents data flows and third-party integrations. <context> I need a design doc describing how data moves through our system and how we integrate with an external service, returned as one self-contained Markdown document with a diagram. </context> <inputs> - Integration/flow name: [WHAT IT CONNECTS] - Systems involved: [OUR SERVICES + EXTERNAL PARTIES] - Trigger and direction: [WHAT STARTS IT, INBOUND / OUTBOUND] - Data exchanged: [PAYLOAD FIELDS, FORMATS] - Sync vs async, retries, idempotency: [DETAILS] - Failure and security handling: [AUTH, ERRORS] </inputs> <task> Write the doc with: overview of the flow and its purpose, a Mermaid sequence diagram of the end-to-end exchange, a step-by-step description of each hop with the payload at that stage, a data-contract table for the exchanged fields, error handling and retry/idempotency strategy, security and auth handling, and monitoring or alerting recommendations. </task> <constraints> - Valid Markdown: a fenced ```mermaid sequenceDiagram that parses, a data-contract table, fenced JSON for sample payloads. - Be explicit about sync vs async, retry behavior, and idempotency keys. - Sample payloads must match the field table exactly. </constraints> <format> Return the integration design doc as a Markdown artifact with the Mermaid sequence diagram, then list the top failure modes to monitor. </format>

Produces a data-flow and integration design doc with a Mermaid sequence diagram and data contract as a Markdown artifact.

๐Ÿ’ก

Pro tip: Tell Claude whether the flow is sync or async with retries; it changes the whole failure-handling and idempotency section.

API Design Spec / Contract

15/30

You are an API designer who writes clear API contracts before implementation. <context> I need an API design spec that defines a new set of endpoints as a contract for both backend and frontend teams, returned as one self-contained Markdown document. </context> <inputs> - API purpose and resource(s): [WHAT IT MANAGES] - Endpoints to define: [METHOD + PATH + INTENT] - Resource shape/fields: [NAME, TYPE, RULES] - Auth and permissions: [WHO CAN CALL WHAT] - Validation and error rules: [CONSTRAINTS] - Versioning and pagination approach: [ANY] </inputs> <task> Write the spec with: an overview and design principles, the resource model as a field table, an endpoints table, then a per-endpoint contract giving method, path, auth, request schema, response schema, status codes, and validation rules with example request and response bodies, plus sections on error format, pagination, and versioning. </task> <constraints> - Valid Markdown: resource and endpoint tables, fenced JSON for request/response examples, consistent error envelope. - Define a single standard error shape and reuse it; state status codes for every outcome. - Examples must be internally consistent and follow the field rules. </constraints> <format> Return the API design spec as a Markdown artifact, then note where an OpenAPI schema could be generated from this contract. </format>

Generates an API design spec defining endpoints, schemas, and error format as a contract-ready Markdown artifact.

๐Ÿ’ก

Pro tip: Decide your standard error envelope first and tell Claude; it will reuse that shape across every endpoint for consistency.

Runbooks

5 prompts

Incident Response Runbook

16/30

You are a site-reliability engineer who writes actionable incident runbooks. <context> I need an incident response runbook for a specific type of production incident so on-call engineers can resolve it fast under pressure, returned as one self-contained Markdown document. </context> <inputs> - Incident type: [E.G. API 5XX SPIKE, DB DOWN, QUEUE BACKLOG] - How it is detected: [ALERT NAME, DASHBOARD, SYMPTOM] - Systems and dashboards involved: [LINKS OR NAMES] - Likely causes: [COMMON ROOT CAUSES] - Mitigation and fix steps: [ACTIONS, COMMANDS] - Escalation contacts: [ROLES OR TEAMS] </inputs> <task> Write the runbook with: a header stating the incident type, severity guidance, and detection signals; an immediate-triage checklist for the first five minutes; diagnostic steps with the exact commands or dashboard queries to run; a decision tree mapping symptoms to likely causes; mitigation and remediation steps in order; verification that the incident is resolved; escalation path; and a post-incident checklist. </task> <constraints> - Valid Markdown: numbered steps, fenced command blocks, a symptom-to-cause table, warning callouts for destructive actions. - Write for someone stressed at 3am: imperative, unambiguous, no theory. - Flag any irreversible or high-risk step in bold with a warning. </constraints> <format> Return the incident runbook as a Markdown artifact, then list which alerts should link directly to it. </format>

Produces an incident response runbook with triage, diagnostics, mitigation, and escalation as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Name the exact alert that fires for this incident so Claude writes the triage steps around your real detection signal.

Deployment Runbook

17/30

You are a release engineer who documents safe, repeatable deployments. <context> I need a deployment runbook so anyone on the team can ship our service to production correctly, returned as one self-contained Markdown document. </context> <inputs> - Service and environment: [WHAT AND WHERE] - Deploy method: [CI/CD, SCRIPT, DOCKER, ETC] - Pre-deploy checks: [TESTS, MIGRATIONS, APPROVALS] - Deploy steps and commands: [THE ACTUAL PROCESS] - Post-deploy verification: [SMOKE TESTS, HEALTH CHECKS] - Rollback procedure: [HOW TO REVERT] </inputs> <task> Write the runbook with: prerequisites and access needed, a pre-deploy checklist including migrations and approvals, the ordered deploy steps with exact commands, a post-deploy verification section with the specific smoke tests and expected results, a rollback procedure, and a section on common deploy failures and their fixes. </task> <constraints> - Valid Markdown: checklists, numbered steps, fenced command blocks, warning callouts for irreversible steps. - Be explicit about ordering, especially migrations relative to code deploys. - Verification steps must be concrete and testable, not "check it works". </constraints> <format> Return the deployment runbook as a Markdown artifact, then flag the single step most likely to cause an outage if skipped. </format>

Builds a repeatable deployment runbook with pre-checks, ordered steps, verification, and rollback as a Markdown artifact.

๐Ÿ’ก

Pro tip: Tell Claude whether migrations run before or after the code deploy; getting that order into the runbook prevents outages.

Database Backup & Restore Runbook

18/30

You are a database reliability engineer who documents backup and restore procedures. <context> I need a backup and restore runbook so the team can protect and recover our database confidently, returned as one self-contained Markdown document. </context> <inputs> - Database type and version: [E.G. POSTGRES 16] - Where it runs: [MANAGED, DOCKER, VM] - Backup method and schedule: [TOOL, CADENCE, RETENTION] - Backup storage location: [WHERE BACKUPS LIVE] - Restore scenarios: [FULL RESTORE, POINT-IN-TIME, SINGLE TABLE] - RPO/RTO targets: [IF DEFINED] </inputs> <task> Write the runbook with: an overview of the backup strategy and RPO/RTO, how to take a manual backup with the exact command, how to verify a backup is valid, restore procedures for each scenario with commands, a post-restore verification checklist, and a warnings section on data-loss risks and ordering. </task> <constraints> - Valid Markdown: numbered steps, fenced shell/SQL blocks, warning callouts on any destructive step. - Use realistic commands for the stated database; redact credentials with placeholders. - Every restore path ends with an explicit integrity-verification step. </constraints> <format> Return the backup and restore runbook as a Markdown artifact, then note how often the restore procedure should be drilled. </format>

Generates a database backup and restore runbook with per-scenario commands and verification as a Markdown artifact.

๐Ÿ’ก

Pro tip: State your database engine and version so Claude uses the correct dump and restore commands, not generic ones.

On-Call / Service Runbook

19/30

You are an SRE who writes the definitive operational runbook for a service. <context> I need a service runbook that gives an on-call engineer everything they need to operate one service, returned as one self-contained Markdown document. </context> <inputs> - Service name and what it does: [PURPOSE] - Owners and escalation: [TEAM, CONTACTS] - Key dashboards, logs, and alerts: [LINKS OR NAMES] - Common operational tasks: [RESTART, SCALE, CLEAR CACHE, ETC] - Known failure modes: [SYMPTOMS + FIXES] - Dependencies and SLOs: [UPSTREAM/DOWNSTREAM, TARGETS] </inputs> <task> Write the runbook with: a service summary and ownership, links to dashboards, logs, and alerts, key SLOs, a common-operations section with step-by-step tasks and commands, a known-issues table mapping symptoms to fixes, a dependencies map, and an escalation policy. Make it the one page on-call opens first. </task> <constraints> - Valid Markdown: a metadata header table, task steps with fenced command blocks, a symptom-to-fix table. - Every operational task is a concrete, runnable procedure; no vague guidance. - Keep it scannable so an on-call engineer finds the right section in seconds. </constraints> <format> Return the service runbook as a Markdown artifact, then note which known issue should be automated away. </format>

Produces a service on-call runbook with operations, known-issue fixes, and escalation as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: List your top three recurring pages; Claude turns each into a symptom-to-fix row so on-call resolves them instantly.

Disaster Recovery Runbook

20/30

You are a disaster-recovery lead who documents full-system recovery procedures. <context> I need a disaster recovery runbook covering a major outage scenario so we can restore service from the ground up, returned as one self-contained Markdown document. </context> <inputs> - Scenario: [E.G. REGION DOWN, DATA CENTER LOSS, RANSOMWARE] - Systems to recover and priority order: [WHAT COMES BACK FIRST] - Backups and where they live: [DATA, CONFIG, SECRETS] - Infra provisioning method: [IaC, MANUAL, SCRIPTS] - RTO/RPO targets: [TARGETS] - Communication plan: [WHO TELLS WHOM] </inputs> <task> Write the runbook with: scenario definition and severity, roles and a command structure, RTO/RPO targets, a prioritized recovery sequence, step-by-step restore procedures per system with commands, a data-integrity and validation phase, a communications plan and status-update cadence, and a post-recovery review checklist. </task> <constraints> - Valid Markdown: an ordered recovery sequence, numbered per-system steps, fenced command blocks, warning callouts. - State dependencies between recovery steps explicitly so nothing is restored out of order. - Include decision points where a human must confirm before proceeding. </constraints> <format> Return the disaster recovery runbook as a Markdown artifact, then estimate the realistic recovery time and the biggest bottleneck. </format>

Builds a disaster recovery runbook with a prioritized recovery sequence and comms plan as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Rank your systems by recovery priority first; that ordering drives the whole runbook and reveals hidden dependencies.

Onboarding Docs

5 prompts

New Engineer Onboarding Guide

21/30

You are an engineering manager who writes onboarding docs that get new hires productive fast. <context> I need an onboarding guide for a new engineer joining our team so they can reach their first shipped change quickly, returned as one self-contained Markdown document. </context> <inputs> - Team and product: [WHAT WE BUILD] - Tech stack and repos: [LANGUAGES, KEY REPOS] - Accounts and access needed: [TOOLS, PERMISSIONS] - Local setup requirements: [WHAT TO INSTALL] - Key people and channels: [WHO TO ASK, WHERE] - First-week goals: [WHAT SUCCESS LOOKS LIKE] </inputs> <task> Write the guide with: a welcome and team overview, a day-one access and accounts checklist, a local environment setup section linking to the setup doc, an overview of the codebase and key repos, our workflow (branching, reviews, deploys), where to get help, and a first-week milestone checklist ending in shipping a small change. </task> <constraints> - Valid Markdown: checklists for access and milestones, tables for tools and contacts, links as placeholders where real URLs go. - Concrete and time-boxed (day one, week one); no vague "get familiar with the code". - Friendly but efficient tone; every item is actionable. </constraints> <format> Return the onboarding guide as a Markdown artifact, then suggest a good starter task type for a first pull request. </format>

Produces a new-engineer onboarding guide with access checklists, workflow, and first-week milestones as a Markdown artifact.

๐Ÿ’ก

Pro tip: Tell Claude your ideal first-week outcome and it will reverse-engineer a milestone checklist that leads to that shipped change.

Codebase Orientation Guide

22/30

You are a senior engineer who writes repo orientation docs for newcomers. <context> I need a codebase orientation guide that explains how our repository is structured and how to navigate it, returned as one self-contained Markdown document. </context> <inputs> - Repo and app purpose: [WHAT IT IS] - Top-level folders and their roles: [DIR -> WHAT LIVES THERE] - Key entry points: [MAIN FILES, WHERE REQUESTS START] - Important conventions: [NAMING, PATTERNS, STYLE] - How to run and test locally: [COMMANDS] - Where common tasks happen: [ADD A ROUTE, A MODEL, ETC] </inputs> <task> Write the guide with: a one-paragraph overview of the app, a directory-structure table explaining each top-level folder, a description of the main entry points and request flow, key conventions and patterns to follow, how to run and test locally, and a "where do I make this change?" section mapping common tasks to the files involved. </task> <constraints> - Valid Markdown: a directory table, inline code for paths and commands, fenced blocks for run/test commands. - Point to real folder and file names; explain the why behind conventions, not just the what. - Practical and navigational; assume the reader has the repo open. </constraints> <format> Return the orientation guide as a Markdown artifact, then note which part of the codebase most needs inline comments. </format>

Generates a codebase orientation guide with a directory map and common-task pointers as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Paste your top-level folder listing so the directory table describes your real structure instead of a generic layout.

Local Dev Environment Setup Doc

23/30

You are a developer-experience engineer who documents local development setup. <context> I need a local development environment setup doc so a new contributor can get the project running on their machine, returned as one self-contained Markdown document. </context> <inputs> - Project and stack: [LANGUAGE, FRAMEWORK] - Required tools and versions: [RUNTIME, PACKAGE MANAGER, DOCKER] - Services needed locally: [DB, CACHE, ETC] - Env vars and secrets setup: [WHAT TO CONFIGURE] - Commands to install, run, and test: [THE ACTUAL COMMANDS] - Common setup errors: [KNOWN PITFALLS] </inputs> <task> Write the doc with: prerequisites and required versions, clone and install steps, environment configuration with an env-var table and how to obtain each value, how to start dependent services (e.g. via Docker Compose), the run and test commands, a verification step confirming the app is up, and a troubleshooting section for the most common setup failures. </task> <constraints> - Valid Markdown: fenced shell blocks, an env-var table, blockquote callouts for warnings. - Every command copy-paste runnable; verification step must show the exact expected result. - Redact secrets; make placeholder formats obvious. </constraints> <format> Return the setup doc as a Markdown artifact, then note which step is the most common source of new-contributor confusion. </format>

Builds a local dev environment setup doc with install steps, env-var table, and verification as a Markdown artifact.

๐Ÿ’ก

Pro tip: Share your run and test commands verbatim; Claude builds the verification step around your real expected output.

Team Handbook / Ways of Working

24/30

You are an engineering leader who documents how a team works together. <context> I need a team handbook that captures how we operate so new members quickly understand our norms and rituals, returned as one self-contained Markdown document. </context> <inputs> - Team name and mission: [WHAT WE OWN] - Meetings and rituals: [STANDUP, PLANNING, RETRO, CADENCE] - Communication norms: [CHANNELS, RESPONSE TIMES, ASYNC RULES] - Development workflow: [BRANCHING, REVIEWS, DEFINITION OF DONE] - On-call and support expectations: [ROTATION, HOURS] - Decision-making and escalation: [HOW WE DECIDE] </inputs> <task> Write the handbook with: team mission and scope, our rituals and their cadence, communication norms and expected response times, the development workflow including definition of done, on-call and support expectations, how decisions get made and escalated, and a short values or working-agreements section. Keep it practical and honest. </task> <constraints> - Valid Markdown: H2 sections, tables for meetings and channels, bullet lists for norms. - Describe how things actually work, not aspirational fluff; every norm is specific. - Neutral, inclusive tone; avoid corporate cliches. </constraints> <format> Return the team handbook as a Markdown artifact, then note which norm is most often misunderstood by new members. </format>

Produces a team handbook covering rituals, communication norms, and workflow as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: List your actual meeting cadence and response-time expectations; specifics make the handbook useful instead of generic.

Contributor Guide (CONTRIBUTING.md)

25/30

You are an open-source maintainer who writes clear contribution guides. <context> I need a CONTRIBUTING guide so external and internal contributors know exactly how to propose changes, returned as one self-contained Markdown document. </context> <inputs> - Project name and type: [OSS / INTERNAL] - How to set up and run tests: [COMMANDS] - Branching and commit conventions: [E.G. CONVENTIONAL COMMITS] - PR process and review expectations: [STEPS, WHO REVIEWS] - Code style and linting: [TOOLS, RULES] - How to report bugs and request features: [PROCESS] </inputs> <task> Write the guide with: a welcome and code-of-conduct pointer, how to set up the project and run tests, branching and commit message conventions with examples, the step-by-step pull request process and review expectations, code style and linting rules, how to report bugs and request features with a good-issue template, and a checklist contributors run before opening a PR. </task> <constraints> - Valid Markdown: fenced code for commands and commit examples, a pre-PR checklist, links as placeholders. - Give concrete commit and branch-name examples; state exactly what a reviewer checks. - Welcoming but precise; lower the barrier to a first contribution. </constraints> <format> Return the CONTRIBUTING guide as a Markdown artifact, then suggest labels to tag beginner-friendly issues. </format>

Generates a CONTRIBUTING guide with setup, commit conventions, and PR process as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Give Claude your real commit convention and one sample message; it will template the rest so contributors match your style.

Most people use 10% of Claude. Tutorials unlock the rest.

AI Academy: 300+ hands-on tutorials on Claude, ChatGPT, Midjourney, and 50+ AI tools. New tutorials added every week.

Start Your Free Trial

Troubleshooting Guides

5 prompts

Common Errors & Fixes Guide

26/30

You are a support engineer who writes troubleshooting documentation. <context> I need a troubleshooting guide covering the most common errors users hit with our product and how to fix each one, returned as one self-contained Markdown document. </context> <inputs> - Product and area: [WHAT AND WHICH FEATURE] - Common errors: [ERROR MESSAGE OR CODE + WHEN IT APPEARS] - Root cause of each: [WHY IT HAPPENS] - The fix for each: [STEPS TO RESOLVE] - How to prevent recurrence: [IF APPLICABLE] - When to escalate: [CRITERIA] </inputs> <task> Write the guide with: a short intro on how to use it, then one entry per error containing the exact error message or code, symptoms, likely cause, step-by-step fix with commands or settings, how to verify it is resolved, and prevention tips. End with a "still stuck? how to escalate" section including what info to gather. </task> <constraints> - Valid Markdown: each error as an H3 with a consistent structure, inline code for error strings, fenced blocks for commands. - Match error text exactly so users can search-match it; every fix has a verification step. - Practical and no-nonsense; order entries by frequency. </constraints> <format> Return the troubleshooting guide as a Markdown artifact, then note which error should be fixed at the source instead of documented. </format>

Produces a common-errors troubleshooting guide with per-error causes, fixes, and verification as a Markdown artifact.

๐Ÿ’ก

Pro tip: Paste the exact error strings users see so they are search-matchable and the fixes map to real messages.

Diagnostic Decision Tree

27/30

You are a support lead who builds diagnostic decision trees for faster resolution. <context> I need a troubleshooting decision tree that guides someone from a symptom to the right fix through yes/no questions, returned as one self-contained Markdown document with a diagram. </context> <inputs> - Problem area: [E.G. "CANNOT LOG IN", "UPLOAD FAILS"] - Entry symptom: [WHERE THE USER STARTS] - Diagnostic questions and branches: [QUESTIONS + OUTCOMES] - Fixes at each leaf: [RESOLUTION PER PATH] - Data to collect along the way: [LOGS, IDS] - Escalation endpoints: [WHEN NO LEAF FIXES IT] </inputs> <task> Write the doc with: a brief intro, a Mermaid flowchart representing the decision tree from the entry symptom through yes/no branches to fixes, then a written walkthrough of each branch mirroring the diagram with the check to perform, how to interpret the result, and the fix or next question. End with an escalation leaf. </task> <constraints> - Valid Markdown: a fenced ```mermaid flowchart TD block that parses, plus a mirrored written breakdown. - Every decision node is a concrete, answerable check; every leaf ends in an action. - Keep the tree logic in the prose consistent with the diagram. </constraints> <format> Return the decision tree as a Markdown artifact including the Mermaid diagram, then note the branch that resolves the most cases. </format>

Generates a diagnostic decision tree as a Mermaid flowchart plus a mirrored written walkthrough as a Markdown artifact.

๐Ÿ’ก

Pro tip: List the yes/no checks in the order support actually asks them; Claude turns that sequence into a clean branching flowchart.

FAQ-Style Troubleshooting Doc

28/30

You are a customer-facing documentation writer who turns support tickets into a troubleshooting FAQ. <context> I need an FAQ-style troubleshooting doc answering the questions users actually ask when something goes wrong, returned as one self-contained Markdown document. </context> <inputs> - Product and topic: [WHAT AND WHICH AREA] - Top questions users ask: [REAL QUESTIONS] - The correct answer/fix for each: [RESOLUTION] - Any workarounds: [TEMPORARY FIXES] - Links to deeper docs: [WHERE TO GO NEXT] - Contact/escalation option: [HOW TO GET HELP] </inputs> <task> Write the doc with: a short intro, questions grouped into logical sections, each question phrased the way a user would ask it followed by a direct, actionable answer with steps or commands where needed and any workaround, cross-links to related questions, and a closing "didn't find your answer?" contact block. </task> <constraints> - Valid Markdown: questions as H3 in the user's own words, concise answers, fenced blocks for any commands, inline code for settings. - Answer the question in the first sentence, then give steps; no throat-clearing. - Group by theme; avoid duplicate questions. </constraints> <format> Return the troubleshooting FAQ as a Markdown artifact, then note which three questions likely account for most support volume. </format>

Builds an FAQ-style troubleshooting doc with real user questions and direct, actionable answers as a Markdown artifact.

๐Ÿ’ก

Pro tip: Pull the literal phrasing from real support tickets; matching how users actually ask makes the FAQ far more findable.

Debugging Playbook

29/30

You are a senior engineer who writes systematic debugging playbooks. <context> I need a debugging playbook for a recurring class of bug so any engineer can investigate it methodically, returned as one self-contained Markdown document. </context> <inputs> - Bug class: [E.G. MEMORY LEAK, SLOW QUERY, FLAKY TEST, 500 ERROR] - Where it shows up: [SERVICE, ENVIRONMENT] - Tools and logs available: [PROFILERS, LOGS, TRACES, METRICS] - Common root causes: [USUAL SUSPECTS] - Reproduction approach: [HOW TO TRIGGER IT] - Known good/bad signals: [WHAT TO LOOK FOR] </inputs> <task> Write the playbook with: an overview of the bug class and its symptoms, how to reproduce or capture it, a systematic investigation sequence (gather data, form hypothesis, isolate, confirm) with the exact tools and commands at each stage, a table of common root causes mapped to the signals that point to them, fixes for each cause, and how to add a regression test or monitor to prevent recurrence. </task> <constraints> - Valid Markdown: numbered investigation steps, fenced command blocks, a cause-to-signal table. - Teach a repeatable method, not a single fix; every step produces evidence for the next. - Reference real tooling for the stated stack; no hand-waving. </constraints> <format> Return the debugging playbook as a Markdown artifact, then note which signal is the fastest way to narrow the cause. </format>

Produces a systematic debugging playbook with an investigation sequence and cause-to-signal table as a Markdown artifact.

๐Ÿ’ก

Pro tip: Name the profiling or logging tools you actually have; Claude wires the investigation steps around your real tooling.

Support Escalation Guide

30/30

You are a support operations lead who documents escalation procedures. <context> I need a support escalation guide so front-line support knows exactly when and how to escalate an issue and what to hand off, returned as one self-contained Markdown document. </context> <inputs> - Support tiers/teams: [TIER 1, TIER 2, ENGINEERING, ETC] - Severity levels and definitions: [SEV1-SEV4 OR SIMILAR] - Escalation triggers per severity: [WHEN TO ESCALATE] - Response and resolution targets: [SLAs PER SEVERITY] - Info required at handoff: [WHAT TO GATHER] - Escalation channels/contacts: [WHERE TO SEND IT] </inputs> <task> Write the guide with: an overview of the tiers and their responsibilities, a severity-level table with definitions and examples, escalation triggers and SLAs per severity, a standardized handoff template listing exactly what info to include, the escalation path and channels for each severity, and a de-escalation and follow-up section. </task> <constraints> - Valid Markdown: a severity table, an SLA table, a fenced handoff template block ready to copy, clear escalation paths. - Definitions must be unambiguous so severity is not guessed; every trigger is objective. - Include a concrete example ticket for at least one severity level. </constraints> <format> Return the escalation guide as a Markdown artifact, then note which severity is most often misclassified and why. </format>

Generates a support escalation guide with severity tables, SLAs, and a handoff template as a ready-to-publish Markdown artifact.

๐Ÿ’ก

Pro tip: Define each severity with an objective trigger, not a vibe; it stops tickets from being over- or under-escalated.

Frequently Asked Questions

Yes. Each prompt asks Claude to return a finished, self-contained document in clean Markdown, with tables, code blocks, callouts, and diagrams filled in. You supply a few bracketed inputs about your system and get a ready-to-publish doc you can paste straight into your docs site or repo.
Six types: step-by-step how-to guides, reference docs (API, config, CLI, SDK, schema), architecture and design docs including ADRs and RFCs, operational runbooks, onboarding and contributor docs, and troubleshooting guides. Every prompt targets a different concrete deliverable so you can build a whole docs set.
Every prompt constrains Claude to valid Markdown: H1/H2 headings, parameter tables, fenced code blocks with language tags, and blockquote callouts. Diagram-heavy docs use fenced Mermaid blocks that render on GitHub and most docs platforms, so you can commit the output with no reformatting.
Fill in the bracketed placeholders with real details and, where the prompt suggests it, paste real artifacts: your .env.example, a redacted API response, your schema, or --help output. The more real input you give, the more the field tables, examples, and commands match production instead of generic guesses.
Yes. The architecture, data-flow, schema, and decision-tree prompts ask Claude to produce Mermaid diagrams (flowcharts, sequence diagrams, ER diagrams) inside fenced code blocks. These render automatically on GitHub, GitLab, and tools like Notion and Docusaurus, giving you diagrams-as-code alongside the prose.

Prompts are the starting line. Tutorials are the finish.

A growing library of 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ AI tools. New tutorials added every week.

7-day free trial. Cancel anytime.