No slash command · from gitwise
GitHub conventions -- branch naming, commit format, issue/PR templates, and safe issue/PR referencing in comments.
Ships in gitwise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
CRITICAL: #<number> auto-links to issues/PRs on GitHub. Use 1./2./3. for numbered lists and "Finding 1:"/"Item 1:" for labeled items -- never #1, #2, #3 as markers.
Where the project's own rules say otherwise, follow them.
Never reconfigure auth transport to unblock a command. Don't switch the remote between SSH and HTTPS, add a credential helper, or push to an explicit URL. A missing key or token scope is a missing credential, not a transport problem -- only the user can supply it, and working around it changes config they never asked you to touch, often globally. Stop and ask.
Feature branches: feature/<description> or feature/issue-<number>
Always check if a branch already exists for an issue before creating a new one.
For sub-issues of a larger feature, branch from the parent feature branch rather than main. Sub-issue work merges back into the parent feature branch, which eventually merges to main.
When a change builds on the unmerged work of another open PR, other than the PR of a sub-issue's parent feature branch, stacks.md says whether to stack it on that PR and how to build, update and merge a stack. Before you push to a PR's branch, read its stack (gh api repos/{owner}/{repo}/pulls/<n> --jq .stack); when its position is less than its size, PRs are stacked above it: update them as stacks.md says.
Follow the project's commit convention, as CONTRIBUTING, a commitlint config or the agent instructions state it, or as recent single-commit subjects on the default branch show it. Where none does, use Conventional Commits: <type>(<scope>): <description>, with a type from commitlint's config-conventional (build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test); the scope is optional.
Mark a change that breaks something for the project's consumers the way the convention and the project's release tool read it: ! before the colon, a BREAKING CHANGE: footer, or both; where you cannot tell, both. A one-time action only contributors owe (rebuild the dev container) takes no breaking mark.
While a commit is not yet pushed, fold a further fix to the same change into it (git commit --amend for the last commit) instead of adding a commit. Never rewrite a pushed commit, except to update a stack as stacks.md says.
For what a commit message, a PR title and a PR description say, and which of them lands on the default branch, load gitwise:commit-pr-writing.
Templates in .github/ISSUE_TEMPLATE/ -- read them for section structure. Write the title and body as issue-format.md says.
bugenhancementPR template at .github/PULL_REQUEST_TEMPLATE.md -- read it for section structure.
Use Closes #<number> to link PRs to issues.
Open a PR as a draft, and mark it ready (gh pr ready) when it is ready for someone else to review or merge.
See review-format.md for the recommended structure of a code review --
severity buckets and the #N footgun to avoid in the summary.
What SKILL.md sets; muted values are Claude Code's defaults
Using gh CLI, creating commits, posting PR/issue comments, or referencing issues by number.
Other plugins' skills for the same job
npx claudepluginhub jartan-llc/grimoire --plugin gitwise