About w-pr
w-pr is a workflow skill for agents that publish the intended branch and create or reuse its pull request. It covers validation, branch publishing, PR description, and verification without authorizing a merge or deployment.
Key features
- 01Validate and commit task changes
- 02Publish the intended branch
- 03Write a standalone PR description
- 04Reuse an existing branch PR
- 05Verify PR title, base, and description
Use cases
- 01Publish completed work for review
- 02Create a PR with verification evidence
- 03Avoid duplicate PRs for a branch
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic-icebox/ basilic-skills --skill w-prAfter installing, type/w-prin Claude Code to confirm it loaded.
Details
From the project READMEInvocation requests publishing the intended branch and creating its PR. Follow git publish. The description is part of this playbook; do not use a separate generate-description step.
- Ensure task-owned changes are committed and validated. Use commit if needed. If this playbook must create a branch first,
git fetch originthengit switch -c <name> --no-track origin/main— never skip fetch, never a stale localmain. - Push the intended branch using push.
- Write a standalone description: problem, resulting behavior, verification evidence, and material limitations. Follow the repository template; never create an empty description. Use a conventional PR title when the repository requires it.
- Reuse an existing PR for this branch rather than duplicating it. Use known applicable labels and requested reviewers; do not invent assignments.
- With a CLI, write multiline text to a temporary file and pass the body-file option. Verify the resulting title, base, and description. Return the PR link. PR creation does not authorize merge or deployment.
Comments
Markdown supported