AGENT SKILL

source-command-pr-shepherd

Monitor a PR through to merge - handles CI failures, reviews, and thread resolution

License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
source-command-pr-shepherd
description
Monitor a PR through to merge - handles CI failures, reviews, and thread resolution

02 资源文件 4

03 SKILL.md 正文

source-command-pr-shepherd

Use this skill when the user asks to run the migrated source command pr-shepherd.

Command Template

PR Shepherd

Monitor a PR from creation through merge, handling CI failures, review comments, and thread resolution automatically.

Usage

/pr-shepherd [pr-number]

If no PR number is provided, uses the PR associated with the current branch.

What This Does

  1. Monitors CI/CD - Polls every 60 seconds for status changes
  2. Monitors Reviews - Watches for new comments and unresolved threads
  3. Auto-fixes simple issues - Lint, prettier, type errors
  4. Asks before complex fixes - Presents options with pros/cons for approval
  5. Handles review comments - Delegates to handling-pr-comments skill
  6. Checkpoints at 4 hours - Asks if you want to continue or handoff

Steps

  1. Get PR information:

    PR_NUMBER=${1:-$(gh pr view --json number -q .number 2>/dev/null)}
    if [ -z "$PR_NUMBER" ]; then
      echo "No PR found. Provide PR number: /pr-shepherd 123"
      exit 1
    fi
    
  2. Activate the pr-shepherd skill: Load and follow the pr-shepherd skill definition.

  3. Begin monitoring loop (background, every 60s):

    • Check CI status
    • Check for new review comments
    • Check unresolved thread count
    • Take action based on state machine
  4. Handle issues as they arise:

    • Simple CI failures -> auto-fix with TDD
    • Complex failures -> present options, wait for approval

Example

Notes

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

演示文稿测试与质量
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

Skill与智能体开发
★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0