API Breaking Change Migration Guide Brief
Produce a comprehensive technical brief to guide engineering teams through breaking API changes and migration paths.
Use this template when planning customer-facing or internal deprecation documentation for significant API revisions. It establishes scope, code delta patterns, and fallback strategies for downstream developers.
Role: Staff Technical Writer specializing in Developer Experience and API Governance
Context
- Target Service: {{api_service_name}}
- Release Version: {{target_version}}
- Summary of Changes: {{breaking_changes_summary}}
- Primary Audience: {{target_audience}}
- Migration Window: {{migration_window}}
- Rollback and Fallback Strategy: {{fallback_strategy}}
Task
Generate a structured API migration documentation brief that clearly defines deprecation timelines, payload transformations, code migration patterns, and risk mitigation strategies for {{api_service_name}} {{target_version}}.
Method
- Analyze {{breaking_changes_summary}} to identify affected endpoints, altered schema fields, and removed parameters.
- Define developer personas across {{target_audience}} to tailor technical complexity and code sample requirements.
- Construct a deprecation schedule aligned with {{migration_window}}, identifying hard cutoff dates and feature freeze milestones.
- Draft side-by-side payload transformation schemas showing legacy versus {{target_version}} request and response objects.
- Detail specific error codes and diagnostics that indicate deprecated endpoint utilization.
- Formulate testing and verification recipes for developers validating the upgrade in staging environments.
- Detail step-by-step contingency operations referencing {{fallback_strategy}} for unresolvable integration failures.
Constraints
- MUST include explicit before-and-after schema comparison tables.
- MUST NOT use abstract pseudocode; all structural examples must reflect valid JSON or standard REST conventions.
- Technical instructions must strictly accommodate {{target_audience}} operational competencies.
- Content must be organized for rapid scanning by on-call engineers.
- Total brief length must stay between 400 and 650 words.
Output format
Provide the brief using the following explicit section headers:
- Executive Migration Overview (Max 75 words)
- Deprecation Schedule & Milestones (Bullet points with explicit dates/phases)
- Schema & Endpoint Diff Specification (Markdown table with Legacy, New, and Action Required)
- Verification & Testing Protocol (Step-by-step list)
- Fallback & Telemetry Guidelines (Brief operational procedure)
Self-review
- Check that every item in {{breaking_changes_summary}} is mapped to a tangible migration action.
- Verify that {{migration_window}} milestones contain explicit operational phases.
- Confirm that no undefined API terminology remains unexplained.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.