Oscar-97/VIVA-Benchmark-Data-Analysis / .claude/skills/pr
pr
VerifiedRun the checks, push the current branch and open a draft pull request against main using the repo's PR template. Use only when the user asks to open a PR.
Open a draft PR
Run these steps in order. Stop and report if a step fails; never skip or work around a failing check.
- Branch. Run
git branch --show-current. If it ismain, stop and ask for a branch name (feat/…,fix/…,chore/…), then create it withgit switch -c. - Clean tree. Run
git status --short. If files are uncommitted, list them and ask whether to commit them. Never commitbuild_errors.txt. - Checks. Run
npm run lintandnpm run test:functions. IfSrc/changed againstmain, also runnpm run buildand make sureDist/andservice-worker.jsare committed. Runnpm run test:uionly if the change touches the UI and a build exists. - Push. Run
git push -u origin <branch>. Never force push, and never push tomain. - Describe. Read
git log main..HEAD --onelineandgit diff main...HEAD --stat. Write the PR body from.github/PULL_REQUEST_TEMPLATE.md:- Short summary grouped by theme, not one line per commit.
- Tick a checkbox only if that check ran in this session and passed. Leave the others unticked and say why in the notes.
- Mention that generated files (
Dist/,Docs/, pages, lockfile) make up most of the diff, if true. - End the body with the attribution line given in the session's system-reminder.
- Create. Write the body to a temp file in the scratchpad directory, then run
gh pr create --draft --base main --title "<conventional-commit style title>" --body-file <file>. Ifghis missing, print the title and body and give the compare URL instead. - Report. Give the PR URL and list any unticked checklist items.
Never
- Mark the PR ready for review, merge it, close it, or enable auto-merge.
- Use
gh api, force flags, or--no-verify. - Open a PR for a branch with no commits ahead of
main.
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: 196k | 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: 193k | 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: 193k | 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: 193k | Updated | Claude CodeCodex | Verified | Install |