From 056190e6618506cb384e5b9e7a9f3acfacf9bd44 Mon Sep 17 00:00:00 2001 From: orangewater119 Date: Fri, 10 Jul 2026 19:39:44 +0700 Subject: [PATCH] Fix commit-push-pr command metadata and context --- .claude/commands/commit-push-pr.md | 3 +++ plugins/commit-commands/commands/commit-push-pr.md | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.claude/commands/commit-push-pr.md b/.claude/commands/commit-push-pr.md index 0a624d60ab..26acd39e9e 100644 --- a/.claude/commands/commit-push-pr.md +++ b/.claude/commands/commit-push-pr.md @@ -3,6 +3,8 @@ allowed-tools: Bash(git checkout --branch:*), Bash(git add:*), Bash(git status:* description: Commit, push, and open a PR --- +# Commit, push, and open a PR + ## Context - Current git status: !`git status` @@ -12,6 +14,7 @@ description: Commit, push, and open a PR ## Your task Based on the above changes: + 1. Create a new branch if on main 2. Create a single commit with an appropriate message 3. Push the branch to origin diff --git a/plugins/commit-commands/commands/commit-push-pr.md b/plugins/commit-commands/commands/commit-push-pr.md index 5ebdd02948..26acd39e9e 100644 --- a/plugins/commit-commands/commands/commit-push-pr.md +++ b/plugins/commit-commands/commands/commit-push-pr.md @@ -3,6 +3,8 @@ allowed-tools: Bash(git checkout --branch:*), Bash(git add:*), Bash(git status:* description: Commit, push, and open a PR --- +# Commit, push, and open a PR + ## Context - Current git status: !`git status`