Inferensys

Prompts

Migration and Upgrade Guide Authoring

Prompt playbooks for writing version-to-version migration guides, breaking change notices, and upgrade checklists. Useful for platform teams and release managers because migration docs must enumerate every breaking change, provide before/after code comparisons, flag deprecated surfaces, and estimate effort for downstream consumers.
Operations team reviewing AI vendor onboarding platform on laptop, forms and contracts visible, casual office workspace.
Prompts

Migration and Upgrade Guide Authoring

Prompt playbooks for writing version-to-version migration guides, breaking change notices, and upgrade checklists. Useful for platform teams and release managers because migration docs must enumerate every breaking change, provide before/after code comparisons, flag deprecated surfaces, and estimate effort for downstream consumers.

Breaking Change Enumeration Prompt Template

For release managers and platform teams preparing version-to-version migration guides. Produces a structured inventory of every breaking change from changelogs, commit diffs, and API specs. Includes severity classification, affected surface area, and required consumer action. Harness must validate that no documented breaking change is omitted and that each entry links to a before/after example.

Before/After Code Comparison Prompt for Migration Guides

For technical writers and SDK engineers documenting API or library migrations. Produces side-by-side code blocks showing the deprecated pattern and the replacement pattern in the target language. Includes annotations for behavioral differences, error handling changes, and import path updates. Eval checks that both snippets compile against their respective versions and that the replacement is functionally equivalent where intended.

Deprecated Surface Flagging Prompt

For API governance teams scanning codebases or OpenAPI specs to identify deprecated endpoints, methods, parameters, and fields. Produces a deprecation inventory with sunset dates, replacement mappings, and usage frequency estimates. Harness must cross-reference deprecation headers, changelog entries, and actual removal timelines to catch undocumented deprecations.

Migration Effort Estimation Prompt for Downstream Consumers

For product managers and developer relations teams helping consumers plan upgrades. Produces effort estimates per breaking change based on surface area, call frequency, and replacement complexity. Output includes effort tiers, suggested migration order, and total estimated engineering hours. Eval checks that estimates are grounded in the actual diff size and documented behavioral changes, not generic heuristics.

Upgrade Checklist Generation Prompt

For release managers producing step-by-step upgrade runbooks. Produces an ordered checklist covering pre-upgrade validation, dependency bumps, config changes, code migrations, testing gates, and rollback triggers. Each step includes verification criteria and rollback instructions. Harness must validate checklist completeness against the full breaking change inventory.

Version-to-Version Migration Guide Drafting Prompt

For technical writers producing the complete migration guide document from structured inputs. Produces a full guide with overview, breaking change summary, prerequisites, step-by-step instructions, code comparisons, troubleshooting, and rollback plan. Eval checks for internal consistency, broken cross-references, and coverage of every documented breaking change.

Breaking Change Notice Authoring Prompt

For API product managers drafting customer-facing breaking change announcements. Produces a notice with clear timeline, affected endpoints, required actions, replacement guidance, and escalation contacts. Tone must balance urgency with helpfulness. Harness must validate that dates, endpoints, and replacement APIs match the source-of-truth deprecation schedule.

API Surface Diff Analysis Prompt for Migration Docs

For platform engineers comparing two API versions to identify every surface-level change. Produces a structured diff covering added, removed, renamed, and signature-changed endpoints, parameters, response fields, and error codes. Output feeds directly into breaking change enumeration. Eval checks diff accuracy against OpenAPI spec comparison tools.

Deprecation Timeline Communication Prompt

For product managers and DevRel teams communicating phased deprecations. Produces a timeline document with announce date, deprecation date, end-of-support date, and removal date for each deprecated surface. Includes grace period windows, migration deadlines, and what happens at each phase. Harness must validate timeline consistency across all deprecated surfaces.

Replacement API Mapping Prompt for Deprecated Endpoints

For API designers documenting the migration path from deprecated endpoints to their replacements. Produces a mapping table with old endpoint, new endpoint, parameter translation, response shape differences, and behavioral changes. Includes cases where no direct replacement exists and workaround guidance. Eval checks that every deprecated endpoint has a documented path forward.

Migration Guide Completeness Audit Prompt

For documentation QA teams reviewing migration guides before publication. Produces an audit report flagging missing breaking changes, incomplete code examples, untested steps, missing rollback instructions, and gaps in prerequisite documentation. Harness cross-references the guide against the breaking change inventory and version diff.

Code Migration Script Generation Prompt

For platform teams providing automated migration tooling alongside documentation. Produces a script or codemod that automates repetitive breaking changes such as import path updates, method renames, and parameter reordering. Output includes dry-run mode, backup generation, and a report of changes that require manual review. Eval tests the script against a known codebase and validates correctness.

Dependency Version Bump Analysis Prompt

For engineering leads assessing the impact of upgrading a dependency. Produces an analysis of transitive dependency changes, breaking changes in the dependency's changelog, affected code paths in the consumer codebase, and compatibility risks. Harness must ground findings in the actual dependency changelog and the consumer's import graph.

Migration Rollback Plan Documentation Prompt

For SREs and release managers documenting how to reverse a failed migration. Produces a rollback plan with pre-migration state capture, rollback triggers, step-by-step reversal instructions, data consistency checks, and post-rollback verification. Eval checks that every forward migration step has a corresponding rollback step where applicable.

Migration Testing Checklist Generation Prompt

For QA engineers and release managers defining the test plan for a migration. Produces a checklist covering unit tests for migrated code, integration tests for replaced endpoints, regression tests for unchanged surfaces, performance baselines, and smoke tests in staging. Harness must map each test category to specific breaking changes from the enumeration.

Breaking Change Severity Classification Prompt

For API governance teams triaging breaking changes by consumer impact. Produces a severity rating for each breaking change based on blast radius, workaround availability, and consumer adoption of the affected surface. Output includes rationale and recommended communication urgency. Eval checks consistency of severity ratings across similar change types.

Error Code Mapping Prompt for Version Upgrades

For API documentation teams documenting how error responses change between versions. Produces a mapping of old error codes to new error codes, including new error conditions, removed error codes, and changed error body schemas. Harness must validate mappings against actual API responses from both versions.

Breaking Change Workaround Documentation Prompt

For DevRel and support engineers documenting temporary workarounds when a replacement API is not yet available or migration cannot be completed immediately. Produces workaround instructions with limitations, compatibility windows, and migration triggers. Harness must validate that workarounds function correctly and include deprecation warnings.

Migration Guide Prerequisites Checklist Prompt

For technical writers ensuring migration guides include all preconditions before the first step. Produces a prerequisites section covering minimum version requirements, required permissions, dependency upgrades, configuration backups, and environment preparation. Eval checks that every prerequisite is actionable and verifiable.