Skip to content

Commit 73a83b8

Browse files
committed
Add stage-commit-push and commit-staged-push skills, deduplicate trigger phrases
1 parent 21cf908 commit 73a83b8

6 files changed

Lines changed: 47 additions & 13 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,9 @@ Each session handles one prompt to keep context focused.
366366
| Skill | What it does |
367367
|---|---|
368368
| [`/code-style`](skills/code-style/SKILL.md) | Enforce mirror, reuse, and symmetry principles |
369+
| [`/write-tests`](skills/write-tests/SKILL.md) | Write missing tests matching project conventions |
369370
| [`/simplify-code`](skills/simplify-code/SKILL.md) | Multi-agent review for reuse, quality, efficiency, clarity |
370371
| [`/review-code`](skills/review-code/SKILL.md) | AI code review, apply fixes, simplify, and verify |
371-
| [`/write-tests`](skills/write-tests/SKILL.md) | Write missing tests for changed code |
372372
| [`/peer-review`](skills/peer-review/SKILL.md) | AI code review interface that delegates to `/codex` by default |
373373
| [`/codex`](skills/codex/SKILL.md) | AI code review and task execution via codex CLI |
374374
| [`/evaluate-findings`](skills/evaluate-findings/SKILL.md) | Confidence-based triage of review feedback |
@@ -379,9 +379,11 @@ Each session handles one prompt to keep context focused.
379379
| Skill | What it does |
380380
|---|---|
381381
| [`/stage`](skills/stage/SKILL.md) | Stage implementation changes with precise file selection |
382-
| [`/commit-rules`](skills/commit-rules/SKILL.md) | Shared commit message rules and technical constraints |
383382
| [`/stage-commit`](skills/stage-commit/SKILL.md) | Stage files and commit in one step |
383+
| [`/stage-commit-push`](skills/stage-commit-push/SKILL.md) | Stage, commit, and push in one step |
384384
| [`/commit-staged`](skills/commit-staged/SKILL.md) | Commit already-staged files with good message |
385+
| [`/commit-staged-push`](skills/commit-staged-push/SKILL.md) | Commit already-staged files and push |
386+
| [`/commit-rules`](skills/commit-rules/SKILL.md) | Shared commit message rules and technical constraints |
385387
| [`/create-pr`](skills/create-pr/SKILL.md) | Draft and create a GitHub PR |
386388
| [`/update-pr`](skills/update-pr/SKILL.md) | Update existing PR title and description |
387389
| [`/fetch-pr-comments`](skills/fetch-pr-comments/SKILL.md) | Read-only summary of unresolved PR comments |

skills/commit-staged-push/SKILL.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: commit-staged-push
3+
description: Commit already-staged changes and push in one step. Use when the user asks to "commit and push staged changes", "commit and push what's staged", or "commit staged and push".
4+
---
5+
6+
# Commit and Push
7+
8+
## Step 1: Commit
9+
10+
Run the `/commit-staged` skill.
11+
12+
## Step 2: Push
13+
14+
Push to the current branch's remote:
15+
16+
```bash
17+
git push
18+
```

skills/commit-staged/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: commit-staged
3-
description: Commit already-staged changes with a message matching existing commit style. Use when the user asks to "commit staged changes", "commit what's staged", "commit these changes", "commit my changes", or "make a commit".
3+
description: Commit already-staged changes with a message matching existing commit style. Use when the user asks to "commit staged changes" or "commit what's staged".
44
---
55

66
# Commit Staged Changes

skills/resolve-pr-comments/SKILL.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,14 @@ Run the `/evaluate-findings` skill on the unresolved threads to assess each comm
4040

4141
Run the `/self-improve` skill.
4242

43-
## Step 4: Stage and Commit
43+
## Step 4: Stage, Commit, and Push
4444

45-
If any fixes were applied, use `AskUserQuestion` to ask if the user wants to stage and commit the changes now.
45+
If any fixes were applied, use `AskUserQuestion` to ask if the user wants to stage, commit, and push the changes now.
4646

47-
- **Yes** — run the `/stage-commit` skill
47+
- **Yes** — run the `/stage-commit-push` skill
4848
- **No** — leave changes unstaged, proceed to replies
4949

50-
## Step 5: Wait for Push
51-
52-
Use `AskUserQuestion` to ask if the user has already pushed. Wait for confirmation before proceeding to replies.
53-
54-
## Step 6: Reply to Each Thread
50+
## Step 5: Reply to Each Thread
5551

5652
Run `/github-voice` to load writing style rules before composing replies. Keep replies to one or two sentences. Avoid bullet-point reasoning or bolded labels.
5753

@@ -75,7 +71,7 @@ Only add a brief description after the SHA if the fix meaningfully diverges from
7571

7672
**Reply format for skips:** Just state the reasoning for not changing it.
7773

78-
## Step 7: Summary
74+
## Step 6: Summary
7975

8076
After processing all threads, present a summary table:
8177

skills/stage-commit-push/SKILL.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: stage-commit-push
3+
description: Stage files, create a commit, and push in one step. Use when the user asks to "stage commit and push", "add commit and push", "commit and push", or "commit and push my changes".
4+
---
5+
6+
# Stage, Commit, and Push
7+
8+
## Step 1: Stage and Commit
9+
10+
Run the `/stage-commit` skill.
11+
12+
## Step 2: Push
13+
14+
Push to the current branch's remote:
15+
16+
```bash
17+
git push
18+
```

skills/stage-commit/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: stage-commit
3-
description: Stage files and create a commit in one step with a message matching existing commit style. Use when the user asks to "stage and commit", "add and commit", "commit these files", or "stage my changes and commit".
3+
description: Stage files and create a commit in one step with a message matching existing commit style. Use when the user asks to "stage and commit", "add and commit", "commit my changes", or "commit these changes".
44
---
55

66
# Stage and Commit Changes

0 commit comments

Comments
 (0)