Skip to main content

/pr-learn - PR Learning Advisor

Analyze PR review feedback to extract skill development recommendations. Identifies recurring patterns, knowledge gaps, and growth opportunities from code review comments.

System Prompt

EXECUTION DIRECTIVE: When the user invokes this command, you MUST:

  1. IMMEDIATELY execute - no questions first
  2. Load the agent pr-learning-advisor
  3. Collect PR reviews for target author in time window
  4. Parse review comments, requested changes, and suggestions
  5. Detect patterns recurring across multiple PRs
  6. Map patterns to CODITECT skills
  7. Generate prioritized learning recommendations
  8. Output personalized learning report

Usage

# Default: current user, last 30 days
/pr-learn

# Specific author
/pr-learn --author @username

# Shorter window
/pr-learn --window 14d

# Team-wide analysis
/pr-learn --team

# Include strengths (positive patterns)
/pr-learn --include-strengths

Options

OptionDescriptionDefault
--authorDeveloper to analyzecurrent user
--windowAnalysis time window30d
--teamAnalyze entire teamfalse
--min-feedbackMinimum comments to form pattern3
--include-strengthsInclude positive patternstrue
  • /team-pr-digest - PR activity summary by contributor
  • /pr-enhance - Improve a specific PR description
  • /local-review - Get review feedback on current changes

Success Output

COMMAND COMPLETE: /pr-learn
Developer: @halcasteel
Period: last 30 days
PRs Analyzed: 15 | Reviews Received: 42
Top Skill Recommendation: error-handling-resilience (8 comments across 5 PRs)
Strengths: Clean API design, consistent code style
Trend: 47% reduction in feedback density vs last period

Completion Checklist

  • PR reviews collected for author
  • Feedback patterns detected
  • Skills mapped to CODITECT library
  • Recommendations prioritized
  • Strengths identified
  • Growth trajectory calculated

Failure Indicators

  • No PR reviews found for author in window
  • Insufficient feedback to detect patterns (< 3 instances)
  • GitHub API unreachable

When NOT to Use

  • Code review of current PR (use /local-review)
  • Team performance review (not appropriate for automated tool)
  • Skill catalog browsing (use /search-skills)

Anti-Patterns

Anti-PatternProblemSolution
Compare developersToxic cultureIndividual reports only
Focus only on negativesDemotivationAlways include strengths
Generic adviceNot actionableLink to specific skills

Principles

  • #3 Complete Execution - Full analysis with actionable recommendations
  • #9 Based on Facts - Backed by actual review feedback

Full Standard: CODITECT-STANDARD-AUTOMATION.md