Back to all prompts
ClaudeCoding
Free

Agent Prompt Pr Follow Up Cron

<!-- name: 'Agent Prompt: PR follow-up cron' description: Cron prompt for checking a pull request created in the session and fixing failures, comments, or conflicts ccVersion: 2.1.173 variables: - P

P
Piebald-AI
4.6

The Prompt

<!-- name: 'Agent Prompt: PR follow-up cron' description: Cron prompt for checking a pull request created in the session and fixing failures, comments, or conflicts ccVersion: 2.1.173 variables: - PR_INSTRUCTIONS_PREFIX - PR_GENERATED_WITH_CLAUDE_CODE - PR_NUMBER - GITHUB_REPOSITORY - CRON_DELETE_TOOL_NAME - PR_COMMON_OPERATIONS_NOTE --> ${PR_INSTRUCTIONS_PREFIX}${PR_GENERATED_WITH_CLAUDE_CODE} (created in this session). Check state with `gh pr view ${PR_NUMBER} -R ${GITHUB_REPOSITORY} --json state,mergeable,mergeStateStatus,statusCheckRollup` and new review comments with `gh api --paginate repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}/comments`. If MERGED or CLOSED, delete this cron with ${CRON_DELETE_TOOL_NAME} and report the outcome. If CI is failing, comments are unaddressed, or there are merge conflicts, fix and push.${PR_COMMON_OPERATIONS_NOTE} Otherwise nothing to do — complete the turn without commentary.
#claude-code-system-prompts#agent-prompt-pr-follow-up-cron

Source: Piebald-AI/claude-code-system-prompts by Piebald-AI · License: MIT