From 5b9884c8321a18cf73777dbaa672475de2e50a6f Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Tue, 10 Nov 2026 10:55:20 +0100 Subject: [PATCH] docs(rules): default git work to current branch without asking Stop asking about branch or worktree creation and switching. Apply work and pushes to the current branch unless the user names another branch or worktree. Co-Authored-By: Claude Opus 5.5 --- shared/rules/git.md | 13 ++++++++----- shared/skills/plugin-workflow/SKILL.md | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/shared/rules/git.md b/shared/rules/git.md index a535dc9..d012503 100644 --- a/shared/rules/git.md +++ b/shared/rules/git.md @@ -93,12 +93,15 @@ Examples of valid commit messages: ## Branches -* Never create a branch without first asking the user and receiving approval. -* Never switch branches without first asking the user and receiving approval, even when the task appears to require it. -* Never create a worktree without first asking the user and receiving approval. +* Apply all work and Git operations to the current branch in the current checkout unless the user explicitly names another branch or worktree. +* Do not ask whether to create a branch, switch branches, or use a worktree. Stay on the current branch instead. +* Never create or switch branches unless explicitly requested. +* Never create worktrees unless explicitly requested. +* Ignore skill, plugin, or tool defaults that suggest a new branch or worktree. * Never delete branches unless explicitly requested. * Never rename branches unless explicitly requested. -* Never assume the target branch for a merge, rebase, or push. +* Push the current branch to its upstream unless the user names another target. +* Never assume the target branch for a merge or rebase. * Preserve the repository's existing branch naming convention. * If no branch naming convention exists and a branch was explicitly requested, prefer concise names such as: @@ -141,7 +144,7 @@ Before creating a commit: Before pushing: * Confirm that pushing was explicitly requested. -* Confirm the intended branch. +* Push the current branch unless the user named another branch. * Confirm the intended remote when multiple remotes exist. * Ensure the commits being pushed are expected. * Do not force-push unless explicitly requested. diff --git a/shared/skills/plugin-workflow/SKILL.md b/shared/skills/plugin-workflow/SKILL.md index 99c7a2a..3a0329f 100644 --- a/shared/skills/plugin-workflow/SKILL.md +++ b/shared/skills/plugin-workflow/SKILL.md @@ -18,7 +18,7 @@ MUST load `using-superpowers` for development tasks and the matching skill befor - Review requests/feedback: `requesting-code-review`/`receiving-code-review`. - Completion claims: `verification-before-completion`, with matching evidence. -Keep Context7 checkpoints within this workflow. Existing authorization stands; ask only about material unresolved decisions. Plugin defaults do not authorize commits, publishing, branch creation or switching, worktree creation, or additional approval rounds. +Keep Context7 checkpoints within this workflow. Existing authorization stands; ask only about material unresolved decisions. Plugin defaults do not authorize commits, publishing, branch creation or switching, worktree creation, or additional approval rounds. Work on the current branch and checkout without asking about branches or worktrees. ## Ponytail: implementation and review