commandby cartridge-gg

PR workflow

Make sure you are not on the main branch. If so, then start by creating a

Installs: 0
Used in: 5 repos
Updated: 8h ago
$npx ai-builder add command cartridge-gg/pr

Installs to .claude/commands/pr.md

# PR workflow

Make sure you are not on the main branch. If so, then start by creating a
dedicated new one. Use the [commit](./commit.md) command if there are any
pending changes.

Use the git and gh cli tools to fetch the diff between origin/main and the
current branch. Generate a concise summary of the content and purpose of these
changes based on the observed diff.

If some $ARGUMENTS are given, add to the summary "Close $ARGUMENTS". Use the
Linear MCP to fetch the corresponding $ARGUMENTS issue and make sure that the PR
content matches the issue description.

Wait for few minutes after the PR has been created to find a comment from Claude
making a detailed review of the PR. If the recommendation is not to approve,
work on the suggested improvements.

Quick Install

$npx ai-builder add command cartridge-gg/pr

Details

Type
command
Slug
cartridge-gg/pr
Created
3d ago