About w-pr
w-pr is a repository skill for publishing a branch and creating its pull request. It guides validation, push, description writing, and reuse of an existing PR, without authorizing merge or deployment.
Key features
- 01Validate and commit task changes
- 02Create a branch with an up-to-date origin reference when needed
- 03Push the intended branch
- 04Write a standalone PR description
- 05Reuse an existing PR and verify its details
Use cases
- 01Publish a completed change for review
- 02Create a PR with verification evidence and limitations
- 03Check a PR's title, base, and description
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic/ basilic-skills --skill w-prAfter installing, type/w-prin Claude Code to confirm it loaded.
Bundled filesreferences/git-publish.md
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