zmerlynn/manifold-csg / .claude/skills/pr
pr
VerifiedPush a branch and open a PR with pre-flight checks
Push PR
Push the current branch and open a pull request, with pre-flight hygiene checks.
Arguments
- No arguments: run all checks, push, and open PR
--dry-run: run checks only, don't push or create PR- A PR title in quotes: use as the PR title instead of generating one
Pre-flight checks (all must pass before pushing)
Run these steps in order. Stop on first failure.
1. Rebase on latest main
git fetch origin main
git rebase origin/main
If rebase fails, stop and report the conflict.
2. Build
cargo build --features nalgebra
3. Clippy (deny warnings)
cargo clippy --all-targets --features nalgebra -- -D warnings
4. Test
cargo test --features nalgebra
5. Check for uncommitted changes
git status
If there are unstaged changes, stop and ask the user what to do.
6. Review the diff
Run git diff origin/main...HEAD --stat and git log --oneline origin/main..HEAD to summarize what's being pushed. Show this to the user.
Push and create PR
Only after all checks pass:
- Push the branch:
git push -u origin <branch-name> - Create the PR using the GitHub MCP tool
mcp__github__create_pull_request - Base branch:
main - Title: use the provided title, or generate one from the commit messages
- Body: include a
## Summarysection with bullet points describing changes, and a## Test plansection
Rules
- Do NOT push to
maindirectly — always use a feature branch - Do NOT include Claude session links in the PR body or commits
- If
--dry-runwas passed, stop after the checks and report results - If any check fails, do NOT push. Fix the issue or report it to the user.
- Keep
API_COVERAGE.mdin sync if any safe wrappers were added or changed
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |