Skip to content

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

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]#706
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 file to standardize “public interface / contract” reviews for PRs that change exported surfaces (types, schemas, wire formats, CLI flags), focusing on compatibility risk classification and explicit compat-gap reporting.

Changes:

  • Introduces a structured, step-by-step PR interface/contract review prompt with a 6-tier breaking-risk taxonomy.
  • Defines a per-interface reporting template, common failure-mode checklist, and test-change audit guidance.

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

@GregHolmes GregHolmes merged commit e79493b into main May 6, 2026
14 checks passed
@GregHolmes GregHolmes deleted the chore/copilot-pr-review-prompt branch May 6, 2026 12:30
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