Skip to content

chore: Use GitHub native PR references in stack list format#5166

Open
adinauer wants to merge 1 commit intomainfrom
chore/pr-stack-github-refs
Open

chore: Use GitHub native PR references in stack list format#5166
adinauer wants to merge 1 commit intomainfrom
chore/pr-stack-github-refs

Conversation

@adinauer
Copy link
Member

@adinauer adinauer commented Mar 5, 2026

📜 Description

Simplify the PR stack list format in .cursor/rules/pr.mdc to use GitHub's native PR references (#5118) instead of the custom format ([#5118](url) — title). GitHub automatically renders #NNNN as a clickable link showing the PR title, so the manual URL and title duplication is unnecessary.

💡 Motivation and Context

The previous format was verbose and required manually copying PR titles into the stack list. GitHub's native reference format is simpler to maintain and always shows the current PR title.

💚 How did you test it?

Verified that GitHub renders #NNNN references correctly in PR descriptions.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

None — this is a self-contained change to agent rules.

#skip-changelog

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 5, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@adinauer adinauer marked this pull request as ready for review March 5, 2026 14:34
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.

1 participant