Comprehensive PR status with GitHub MCP orchestration
Orchestrates GitHub PR status checks with CI analysis and merge state validation.
/plugin marketplace add jleechanorg/claude-commands/plugin install claude-commands@claude-commands-marketplaceWhen this command is invoked, YOU (Claude) must execute these steps immediately: This is NOT documentation - these are COMMANDS to execute right now. Use TodoWrite to track progress through multi-phase workflows.
Action Steps:
Action Steps:
### Phase 2: Comprehensive Status Display with CI Analysis
**Action Steps:**
Claude: Check for `gstatus.py` in the trusted locations (look in `~/.claude/commands` first, then in the repository `.claude/commands`). Once you find it, run `python3` with the script path and original arguments. If the script is missing from both locations, surface an error explaining the lookup failure.
## 📋 REFERENCE DOCUMENTATION
# /gstatus - Hybrid Orchestration Architecture
**Purpose**: Enhanced PR status with comprehensive CI analysis via Python implementation
## 🚨 CRITICAL CI STATUS DETECTION
**ENHANCED**: Now properly detects failing tests and CI issues like `/fixpr` command does
### Key Improvements:
- ✅ **statusCheckRollup Analysis**: Properly parses GitHub CI status data
- ✅ **Failing Test Detection**: Identifies specific failing test suites
- ✅ **Merge State Analysis**: Distinguishes between MERGEABLE/UNSTABLE/DIRTY/CONFLICTING
- ✅ **True Mergeable Status**: Don't trust `mergeable: "MERGEABLE"` alone - validate CI passes
- ✅ **Comprehensive Coverage**: Shows passing, failing, and pending checks with details
# Fetch PR comments using existing command (eliminates duplication)
echo "📊 Fetching GitHub data via /commentfetch orchestration..."
/commentfetch
/commentfetch instead of reimplementing GitHub APIcall_github_mcp() placeholderClaude: Display the orchestrated GitHub status with enhanced architecture messaging.