skillby jleechanorg

Pr

PR Command - Complete Development Lifecycle

Installs: 0
Used in: 1 repos
Updated: 18h ago
$npx ai-builder add skill jleechanorg/pr

Installs to .claude/skills/pr/

## ⚡ EXECUTION INSTRUCTIONS FOR CLAUDE
**When 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.**

## 🚨 EXECUTION WORKFLOW

### Phase 1: 🚨 MANDATORY COMPLETE PR WORKFLOW

**Action Steps:**
**⚠️ CRITICAL**: This command MUST execute ALL 5 phases in sequence. No partial execution allowed.

This command **MANDATORILY** combines the functionality of: `/think /execute /push /copilot /review`

**❌ NEVER STOP MIDWAY** - Each phase must complete before task is considered done.

### Phase 1: Think (/think)

**Action Steps:**
**Strategic thinking about the task**:
1. Analyze the problem deeply
2. Consider multiple approaches
3. Identify potential challenges
4. Plan implementation strategy

### Phase 2: Execute (/execute)

**Action Steps:**
**Implement the solution**:
1. Use realistic execution protocol with optimal strategy
2. Work through implementation systematically
3. Test and validate as we go

### Phase 3: Push (/push)

**Action Steps:**
**Create PR with comprehensive details**:
1. Commit all changes
2. Push to remote branch
3. Create detailed PR description
4. Include test results and screenshots
5. **Auto-run /copilot** - Immediately analyze and fix any issues

### Phase 4: Copilot (/copilot) - AUTO-EXECUTED

**Action Steps:**
**Address automated feedback** (runs automatically after push):
1. Handle GitHub bot comments
2. Fix failing tests
3. Address security/performance suggestions
4. Make PR mergeable
5. Post replies to all review comments

### Phase 5: Review (/review)

**Action Steps:**
**Comprehensive code review**:
1. Analyze code quality
2. Check for potential issues
3. Verify test coverage
4. Document any concerns

## 📋 REFERENCE DOCUMENTATION

# PR Command - Complete Development Lifecycle

**Purpose**: Complete development lifecycle from thinking through to PR review

**Usage**: `/pr` - Think, execute, push, review, and handle feedback

## Command Combination

**The `/pr` command is a MANDATORY PROTOCOL**:
- **MUST** execute all 5 phases: Think→Execute→Push→Copilot→Review
- **CANNOT** be treated as content suggestion - it's an execution mandate
- **REQUIRES** complete workflow before declaring task complete
- **ENFORCES** comprehensive development experience through protocol

## Example Flow

**`/pr` Flow**:
```
User: /pr implement user login validation
Assistant: I detected these commands: /think /execute /push /copilot /review and will combine them intelligently.

Phase 1 - Think:
[Deep analysis of login validation requirements]

Phase 2 - Execute:
[Implementation with optimal execution strategy]

Phase 3 - Push:
[Create PR with comprehensive description]

Phase 4 - Copilot (Auto):
[Address automated feedback and make PR mergeable]

Phase 5 - Review:
[Comprehensive code review]
```

## Key Benefits

- ✅ **Complete lifecycle** - from concept to mergeable PR
- ✅ **Integrated workflow** - all phases work together
- ✅ **Auto-fix issues** - /copilot runs automatically after push
- ✅ **Combo command support** - uses universal composition system
- ✅ **Realistic execution** - based on actual capabilities
- ✅ **Comprehensive coverage** - thinking, implementation, auto-fix, review

## When to Use

**Perfect for**:
- Feature development requiring full lifecycle
- Complex implementations needing thorough review
- PR preparation for important changes
- Complete development workflow automation
- Tasks requiring strategic thinking and comprehensive execution

**Alternative commands**:
- `/execute` - Just implementation
- `/planexec` - Implementation with approval
- `/push` - Just create PR
- `/review` - Just code review
- `/copilot` - Just handle feedback

Quick Install

$npx ai-builder add skill jleechanorg/pr

Details

Type
skill
Slug
jleechanorg/pr
Created
1w ago