using-git-worktrees
OBobra/superpowers298k2,631 new stars in the last 7 days
Writes commit messages, pull/merge request and issue text, and review replies that follow the target repository's conventions, and cleans up after merge. Use when committing, opening or updating a PR/MR or issue, answering code review, or finishing after a reviewed change merges.
A diff that needs a long explanation is a diff to fix first: rename the thing, split the commit, or
put the reason in a comment at its primary location. Delivery text carries only what no artifact can
show, for a reader without the task's context: the reviewer now, and the maintainer reading
git log or git blame years later. The caps below are the standard: a draft over a cap is cut
until it fits, not justified. This skill grants no authorization.
Read examples.md for short messages and descriptions that follow these rules.
Run git log --no-merges -n 20 -- <touched paths> and read any contribution guide and PR template,
every time, even for a one-line change. Name in one line the convention you followed and where you
found it.
Fixes:, Refs:, Signed-off-by:,
BREAKING CHANGE:), and credit other people only as the repository's policy allows. Notes meant
only for current reviewers, such as changes since the last round, stay out.git commit -F <file> or one -m per paragraph. If a hook rejects the
commit, nothing was committed: fix the cause and commit again, since --amend would rewrite the
previous commit.The description often becomes the squash-merge message. Check for an existing open PR for the same branch or issue.
Fixes #123 only for a verified issue in the target repository that this change resolves; Refs
only links.gh pr create --body-file) and keep the configured Git transport
and identity when submitting fails. Before publishing, review the exact outgoing text for internal
identifiers, private paths, and anything not already public in that repository.Fixed in 1a2b3c4: ...). Keep replies to accepted
comments short; give declined ones the full reasoning and the tradeoff weighed. Skip filler.For a confirmed-merged PR the agent opened: identify its branches and worktrees from the task
record, not by name pattern; remove a worktree only when clean and from outside it; delete the local
branch with git branch -d and report when it refuses instead of forcing; fast-forward the default
branch only when its checkout is clean and not diverged, then verify. Keep branches while review is
open; deleting a remote branch needs separate authorization.
OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days