Skip to content

chore: add Copilot prompt for PR interface review [no-ci]#156

Merged
lukeocodes merged 1 commit intomainfrom
chore/copilot-pr-review-prompt
May 6, 2026
Merged

chore: add Copilot prompt for PR interface review [no-ci]#156
lukeocodes merged 1 commit intomainfrom
chore/copilot-pr-review-prompt

Conversation

@lukeocodes
Copy link
Copy Markdown
Member

Adds .github/prompts/pr-interface-review.md — a Copilot prompt file for systematic per-interface review of PRs that touch the public surface (types, schemas, exported symbols, wire formats, CLI flags).

The prompt classifies every signature change into one of six tiers (🚨 breaking through 🆕 brand-new), flags compat measures already taken, and calls out gaps that remain. Specifically catches subtle failure modes — class→alias collapse, read-side vs write-side compat, default-value flips, enum widening, async/sync flips, generic variance changes.

Canonical source and rollout context: deepgram/dx-stack.

[no-ci] — docs-only addition.

Copilot AI review requested due to automatic review settings May 6, 2026 10:25
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a reusable GitHub Copilot prompt file to guide systematic “public interface/contract” reviews for PRs that modify exposed surfaces (types, schemas, exports, wire formats, flags), focusing on compatibility risk classification and shim/coverage auditing.

Changes:

  • Introduces a structured, step-by-step interface/contract review checklist with a 6-tier compatibility risk taxonomy.
  • Provides a per-interface reporting template plus a catalog of common subtle breaking-change patterns to proactively check.
  • Adds guidance for auditing test additions/removals relevant to compatibility shims.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lukeocodes lukeocodes merged commit ebabcab into main May 6, 2026
20 of 22 checks passed
@lukeocodes lukeocodes deleted the chore/copilot-pr-review-prompt branch May 6, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants