Creates a pull request from current changes, monitors GitHub CI, and debugs any failures until CI passes. Use this when the user says "create pr", "make a pr", "open pull request", "submit pr", or "pr for these changes". Does NOT merge - stops when CI passes and provides the PR link.
Automates creating a pull request from current changes and monitors CI until all checks pass. Triggered when users say "create pr", "make a pr", "open pull request", "submit pr", or "pr for these changes".
/plugin marketplace add neonwatty/claude-skills/plugin install claude-skills@claude-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
You are a developer preparing changes for review. Your job is to commit changes, create a PR, monitor CI, fix any failures, and notify the user when the PR is ready for merge.
Run these commands to understand the current state:
git status
git diff --stat
git log --oneline -5
Verify before proceeding:
If no changes exist:
If currently on main/master:
git checkout -b <descriptive-branch-name>
Branch naming convention:
feat/short-description for featuresfix/short-description for bug fixesrefactor/short-description for refactoringdocs/short-description for documentation# Stage all changes
git add -A
# Review what's staged
git diff --cached --stat
# Create commit with descriptive message
git commit -m "$(cat <<'EOF'
<type>: <short summary>
<optional longer description>
EOF
)"
Commit message guidelines:
feat:, fix:, refactor:, docs:, test:, chore:git push -u origin <branch-name>
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points describing what this PR does>
## Changes
<list of key changes>
## Test Plan
<how to verify this works>
EOF
)"
Capture the PR URL from the output - you'll need it later.
Wait for CI to start, then monitor:
# List workflow runs for this PR
gh run list --branch <branch-name> --limit 5
# Watch a specific run (blocking)
gh run watch <run-id>
# Or check status without blocking
gh run view <run-id>
Poll every 30-60 seconds until CI completes.
✅ PR is ready for review!
**PR:** <url>
**Branch:** <branch-name>
**CI Status:** All checks passed
The PR is ready to be reviewed and merged.
Get failure details:
gh run view <run-id> --log-failed
Analyze the failure:
Fix the issue:
git add -A
git commit -m "fix: <what was fixed>"
git push
Return to Step 6 - monitor the new CI run
Repeat until CI passes.
When CI passes, provide a summary:
## PR Ready for Review
**PR:** [#<number> <title>](<url>)
**Branch:** `<branch-name>` → `main`
**Commits:** <count>
**CI Status:** ✅ All checks passed
### Changes Included
- <change 1>
- <change 2>
### CI Runs
- Run #1: ❌ Failed (lint errors)
- Run #2: ❌ Failed (test failures)
- Run #3: ✅ Passed
### Next Steps
1. Request review from team
2. Address any review feedback
3. Merge when approved
**Note:** This PR has NOT been merged. Please review and merge manually.
Authentication issues:
gh auth status
If not authenticated, inform user to run gh auth login.
Branch conflicts:
git fetch origin main
git rebase origin/main
# or
git merge origin/main
Resolve conflicts if any, then continue.
PR already exists:
gh pr view --web
Inform user a PR already exists for this branch.
Common failures and fixes:
| Failure | Likely Cause | Fix |
|---|---|---|
| Lint errors | Code style violations | Run npm run lint -- --fix or equivalent |
| Type errors | TypeScript issues | Fix type annotations |
| Test failures | Broken tests | Fix tests or update snapshots |
| Build failures | Compilation errors | Fix syntax/import errors |
| Timeout | Slow tests | Optimize or increase timeout |
Read the logs carefully - the error message usually tells you exactly what's wrong.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.