Skip to content
This repository was archived by the owner on Oct 20, 2026. It is now read-only.

Commit 46f23f9

Browse files
committed
feat(skills): add opt-in gh-stacked-pr skill
1 parent 9734f6b commit 46f23f9

10 files changed

Lines changed: 57 additions & 9 deletions

File tree

‎.claude-plugin/marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "void-grimoire",
1111
"description": "Additive coding-agent skills: session journaling, learned-correction persistence, prompt expansion, context discipline, safety checks, lookup helpers, and workflow assists",
12-
"version": "4.1.1",
12+
"version": "4.3.0",
1313
"source": "./",
1414
"author": {
1515
"name": "Dmytro L.",

‎.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "void-grimoire",
33
"description": "Additive coding-agent skills: session journaling, learned-correction persistence, prompt expansion, context discipline, safety checks, lookup helpers, and workflow assists",
4-
"version": "4.1.1",
4+
"version": "4.3.0",
55
"author": {
66
"name": "Dmytro L.",
77
"email": "dmltdev@proton.me"

‎.codex-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "void-grimoire",
3-
"version": "4.1.1",
3+
"version": "4.3.0",
44
"description": "Additive coding-agent skills: session journaling, learned-correction persistence, prompt expansion, context discipline, safety checks, lookup helpers, and workflow assists",
55
"author": {
66
"name": "Dmytro L.",

‎.omp-plugin/marketplace.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "void-grimoire",
1111
"description": "Additive coding-agent skills: session journaling, learned-correction persistence, prompt expansion, context discipline, safety checks, lookup helpers, and workflow assists",
12-
"version": "4.1.1",
12+
"version": "4.3.0",
1313
"source": "./",
1414
"author": {
1515
"name": "Dmytro L.",

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Replace `session-summary` with any skill name from the list below.
3333

3434
## What You Get
3535

36-
51 skills physically grouped across 12 domains, plus one repo-local operational skill. Pick by name:
36+
52 skills physically grouped across 12 domains, plus one repo-local operational skill. Pick by name:
3737

3838
| Domain | Skills | Description |
3939
|--------|--------|-------------|
@@ -47,7 +47,7 @@ Replace `session-summary` with any skill name from the list below.
4747
| **documentation** | lookup-docs, index-docs, atlas-research, document-ideas, document-adr | Documentation lookup, indexing, research, idea capture, and architecture decisions |
4848
| **reasoning** | five-reasons-why, what-if | Causal analysis and bounded counterfactual exploration |
4949
| **tools** | using-herdr, using-codex, using-omp, omp-plugins, using-adhd, using-agent-browser, using-elevenlabs-tts, using-orx | External CLI and browser wrappers, invocation, preflight, fallbacks, and plugin operations |
50-
| **git** | enforce-git-safety, git-workflow, git-active-remote, git-commit, git-branch-policy, git-push, git-pr, gh-workflow, glab-workflow | Git safety, commit, push, branch policy, and GitHub or GitLab workflows |
50+
| **git** | enforce-git-safety, git-workflow, git-active-remote, git-commit, git-branch-policy, git-push, git-pr, gh-stacked-pr, gh-workflow, glab-workflow | Git safety, commit, push, branch policy, explicit-request stacked GitHub PRs, and GitHub or GitLab workflows |
5151
| **release** | enforce-release-safety | Package release and publication safety |
5252

5353
### Repo-local operational skill
@@ -62,6 +62,7 @@ Replace `session-summary` with any skill name from the list below.
6262
- **`quick-recap`** — Adds the final red/yellow/green status-line convention for finished, pending, or blocked responses.
6363
- **`engineering-recap`**: Reports completed engineering work as Problem, Decision, Check, and Next; use it for delivery summaries and handoffs, not generic document briefs.
6464
- **`document-adr`**: Creates convention-first Architecture Decision Records for accepted or proposed hard-to-reverse decisions.
65+
- **`gh-stacked-pr`**: Create stacked GitHub PRs only when explicitly requested. The ordinary workflow may suggest it but does not invoke it automatically.
6566
- **`learn-correction`** — When you correct the AI ("don't mock the DB", "always use snake_case"), persists the correction to your project's `AGENTS.md` / `CLAUDE.md` so it survives future sessions.
6667
- **`expand-prompt`** — Turn a terse request ("add dark mode") into a structured intent: relevant docs, learned rules, decomposed sub-tasks. Requires explicit user approval before any action.
6768
- **`strategic-compact`** — Suggests manual `/compact` at phase boundaries (planning -> implementing -> verifying) so context survives the next phase rather than waiting for arbitrary auto-compaction.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "void-grimoire",
3-
"version": "4.1.1",
3+
"version": "4.3.0",
44
"description": "Utility skills for coding agents",
55
"private": true,
66
"license": "MIT",

‎skills-lock.json‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@
7676
"sourceType": "local",
7777
"computedHash": "aa2de871d33d691cee3957e2bc9dcd229aea2e6557a14b76f8f84b69bc40abbf"
7878
},
79+
"gh-stacked-pr": {
80+
"source": ".",
81+
"sourceType": "local",
82+
"computedHash": "255dc346595f35a2f15e6e10745db3e1c03d1f9be0bdb61509a38afbc9a0af61"
83+
},
7984
"gh-workflow": {
8085
"source": ".",
8186
"sourceType": "local",
@@ -99,7 +104,7 @@
99104
"git-pr": {
100105
"source": ".",
101106
"sourceType": "local",
102-
"computedHash": "93b1bb63a7fadd0f922baff7828e609817b61224d28533c994c8a622ec38922a"
107+
"computedHash": "47b77e46dd418375f4bf3911a9010bc0e09da674186a089bea5fcfa1a6f9507d"
103108
},
104109
"git-push": {
105110
"source": ".",
@@ -109,7 +114,7 @@
109114
"git-workflow": {
110115
"source": ".",
111116
"sourceType": "local",
112-
"computedHash": "0361340edc70c88efc01907c41cd68badf72479e634a962bb023de8fcfff4df7"
117+
"computedHash": "e86e22958af854d3258b1adfc3be6a5eb6ba128c13bc15d758f08a3ee873dc17"
113118
},
114119
"glab-workflow": {
115120
"source": ".",

‎skills/git/gh-stacked-pr/SKILL.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: gh-stacked-pr
3+
description: Use when the user explicitly asks to create a stacked PR or a stack of GitHub pull requests.
4+
---
5+
6+
# GitHub Stacked PRs
7+
8+
Create a chain of PRs where each PR reviews only its own layer.
9+
10+
## When to use
11+
12+
Only after an explicit request to create stacked PRs.
13+
The common workflow may suggest stacking, but does not invoke
14+
this skill automatically.
15+
16+
## Workflow
17+
18+
1. Identify the repository, root base branch, and layer order.
19+
Reuse existing branches and PRs where appropriate.
20+
2. Ensure the layer branches are published. If publishing is
21+
needed, obtain push authorization rather than pushing implicitly.
22+
3. Use `gh-workflow` for GitHub operations and `git-pr` for titles
23+
and bodies. Create missing PRs bottom-to-top:
24+
- First PR targets the root base.
25+
- Each subsequent PR targets the preceding layer's branch.
26+
4. Add links to the other PRs in each body, showing stack order
27+
and dependencies.
28+
29+
## Result
30+
31+
Return the PR links in stack order, with each source and base branch.
32+
State the bottom-to-top merge order; do not merge automatically.
33+
34+
Creating a stack does not authorize commits, history rewrites,
35+
force pushes, or branch deletion.

‎skills/git/git-pr/SKILL.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Create or update reviewer-facing PR/MR text only when explicitly requested. Resp
1717
| Procedure | Resolve active remote, choose host adapter, inspect diff/range, draft or apply PR/MR text. |
1818
| Proof | Report PR/MR URL or rendered title/body preview; no unrequested push/commit occurred. |
1919

20+
## Stacked creation is opt-in
21+
22+
When the user explicitly asks to create stacked GitHub PRs, use `gh-stacked-pr` for topology and creation order; this skill still owns each layer's title/body. An ordinary PR request does not load that skill or create a stack. Suggesting stacked reviews is allowed, but wait for an explicit creation request.
23+
2024
## Preconditions
2125

2226
- PR/MR intent is explicit.

‎skills/git/git-workflow/SKILL.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Route git work by explicit user intent. A later git action is never implied by a
2323
|---|---|---|
2424
| "commit this", "make a commit", "write/commit these changes" | `git-commit` | push, PR/MR |
2525
| "push this", "publish branch", "update remote" | `git-push` | commit, PR/MR |
26+
| "create stacked PRs", "create a stacked GitHub PR", "create a stack of GitHub pull requests" | `gh-stacked-pr` with `git-pr` for each layer | unrequested commit, push, branch/history changes, merge |
2627
| "open/create/update PR", "open/create/update MR", "draft PR description" | `git-pr` | commit, push |
2728
| "commit and push" | `git-commit` then `git-push` | PR/MR |
2829
| "commit, push, and open PR/MR" | `git-commit`, `git-push`, `git-pr` | nothing beyond named actions |
@@ -38,6 +39,8 @@ Route git work by explicit user intent. A later git action is never implied by a
3839
- Do not infer push from a successful commit.
3940
- Do not ask when the user already named the action sequence.
4041
- If a mutating next step is ambiguous, choose the narrower safe action and stop.
42+
- GitHub stacked PR creation is opt-in. Load `gh-stacked-pr` only after the user explicitly asks to create a stack, not because changes are dependent or a branch already belongs to one.
43+
- The ordinary workflow may suggest stacking when separate dependent reviews would help; wait for the user's explicit creation request before loading or executing the stack skill.
4144

4245
## Required companion contracts
4346

0 commit comments

Comments
 (0)