Skip to content

docs(github): guide agents on autolinks - #3072

Open
Tethys0 wants to merge 1 commit into
github:mainfrom
Tethys0:docs/add-autolink-instructions-3042
Open

docs(github): guide agents on autolinks#3072
Tethys0 wants to merge 1 commit into
github:mainfrom
Tethys0:docs/add-autolink-instructions-3042

Conversation

@Tethys0

@Tethys0 Tethys0 commented Aug 14, 2026

Copy link
Copy Markdown

Summary

Adds baseline context guidance for GitHub's native autolinked references, so agents can use #123, @username, and owner/repo#123 consistently when writing issues, pull requests, comments, and discussions.

Closes #3042.

Validation

  • Added a focused regression test first and observed it fail before the instruction was added.
  • go test ./pkg/github -run '^TestGenerateContextToolsetInstructionsIncludesAutolinkGuidance$' -count=1
  • go test ./pkg/github -count=1 - 1,984 passed
  • go test ./... - 2,877 passed across 34 packages
  • golangci-lint run ./pkg/github

Review

Independent specification review: PASS.
Independent code-quality and security review: APPROVED.

Add shared context instructions and coverage for GitHub's native reference syntax.\n\nCloses github#3042
@Tethys0
Tethys0 requested a review from a team as a code owner August 14, 2026 15:20
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.

Add guidance on GitHub autolinked reference formatting for AI agents

1 participant