Skip to content

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

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

chore: add Copilot prompt for PR interface review [no-ci]#50
GregHolmes 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
Contributor

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 Copilot prompt document to guide systematic “public interface/contract” reviews for PRs that change exported APIs, schemas, or wire formats.

Changes:

  • Introduces a new prompt file with a step-by-step workflow to identify and classify public-surface changes by compatibility risk tier.
  • Defines a per-interface reporting template, common compatibility failure modes to check, and a test-change audit checklist.

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

@GregHolmes GregHolmes merged commit 947115d into main May 6, 2026
12 checks passed
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