Skip to content

feat: add issue linking to create-pr and review-pr skills#22

Merged
kaushalpaneri merged 1 commit into
mainfrom
feat/skill-issue-linking
Mar 23, 2026
Merged

feat: add issue linking to create-pr and review-pr skills#22
kaushalpaneri merged 1 commit into
mainfrom
feat/skill-issue-linking

Conversation

@kaushalpaneri
Copy link
Copy Markdown
Contributor

Summary

Enhances /create-pr and /review-pr skills with GitHub issue linking. PRs created from issue branches now automatically reference the issue, and reviews now verify the PR actually addresses the linked issue.

Linked Issue

None — this is a skill enhancement requested during the /address-issues workflow.

Changes

Source

No source changes

Tests

No test changes

Docs

No doc changes

Config

No config changes

Skills

  • .claude/skills/create-pr/SKILL.md: Added issue detection from branch names and commit messages, new "Linked Issue" section in PR template, Closes #<number> guidance
  • .claude/skills/review-pr/SKILL.md: Added Step 2.0 "Check Linked Issue" — fetches issue description and verifies the PR addresses the reported problem, covers repro steps, and stays within scope

Breaking Changes

None

Security Considerations

None

Test Plan

  • All unit tests pass (uv run pytest tests/unit/ -v)
  • All integration tests pass (uv run pytest tests/integration/ -v)
  • Ruff clean (uv run ruff check src/ tests/)
  • Coverage maintained (>90%)
  • No secrets in committed files
  • Skills load correctly in Claude Code session

🤖 Generated with Claude Code

create-pr now detects linked issues from branch names and commit
messages, adds a Linked Issue section to the PR template, and
includes Closes #<number> in the body.

review-pr now fetches linked issue descriptions and verifies the
PR changes actually address the reported problem, cover repro
steps, and stay within scope.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor Author

@kaushalpaneri kaushalpaneri left a comment

Choose a reason for hiding this comment

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

PR Review Summary

# Severity Category Finding
No findings

All 15 CI checks pass. Skills-only changes — no source code modified.

Code Review: create-pr now detects issues from branch naming convention and adds a Linked Issue section to the PR template. review-pr adds a Step 2.0 that fetches the linked issue and verifies the PR addresses it. Both additions integrate cleanly with existing skill structure.

Security Review: No security concerns — skills reference only gh issue view for read-only issue fetching.

Documentation Review: N/A — skill files are self-documenting.

Verdict: APPROVE

@kaushalpaneri kaushalpaneri merged commit abb9d4f into main Mar 23, 2026
15 checks passed
@kaushalpaneri kaushalpaneri deleted the feat/skill-issue-linking branch March 23, 2026 04:22
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