Feature Request: Add custom commands for PR review and issue creation

Resolved 💬 1 comment Opened Jun 25, 2025 by TheoH-Dev Closed Jun 25, 2025

Feature Request

Add two new custom commands to Claude Code to enhance GitHub workflow integration:

1. PR Review Status Command

Command: /pr-review <PR_URL>

Description: Analyze and summarize the complete state of a Pull Request from its URL.

Expected behavior:

  • Accept a GitHub PR URL as input
  • Fetch and analyze:
  • PR comments and discussions
  • Review status (approved, changes requested, etc.)
  • Merge conflicts status
  • CI/CD checks and GitHub Actions status
  • Overall PR health
  • Provide a comprehensive summary of the PR's current state

Example usage:

/pr-review https://github.com/owner/repo/pull/123

2. AI-Powered Issue Creation Command

Command: /create-issue <description>

Description: Create a GitHub issue from a natural language description.

Expected behavior:

  • Accept a few sentences describing the issue/feature request
  • Use Claude to generate:
  • Appropriate issue title
  • Well-formatted issue body with sections
  • Relevant labels (if possible)
  • Create the issue on GitHub
  • Return the created issue URL

Example usage:

/create-issue Add dark mode support to the application settings page with a toggle switch

Benefits

  • Streamlines GitHub workflow directly from Claude Code
  • Reduces context switching between CLI and web interface
  • Leverages AI to create well-structured issues
  • Provides quick PR status overview without multiple commands

Implementation Notes

  • Both commands should use the GitHub API (via gh CLI or API directly)
  • The issue creation command should generate professional, well-structured issues
  • Error handling for invalid URLs or API failures
  • Respect GitHub rate limits

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗