Home / sd0xdev / sd0x-harness · skills/gh-stack/SKILL.md · GitHub

gh-stack skillA

gh-stack is agent-read markdown (skill) from sd0xdev/sd0x-harness: Native stacked pull requests through the github/gh-stack extension. Detects the extension, installs it only after the user approves, resolves the branch chain, and executes `gh stack link` / `gh stack push` / `gh stack submit --auto` under a per-use AskUserQuestion gate. Use when: opening or refreshing a native stack of PRs, linking existing PRs into a stack on GitHub, pushing a stack's branches, or when /create-pr --stack delegates the native path here. Not for: a single PR (use /create-pr), pu.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# GH Stack — Native Stacked PRs

Wraps the `github/gh-stack` extension so a branch chain becomes a real **Stack** on GitHub — one PR per layer, chained bases, per-layer diff view, linked merges — instead of the hand-built chained-base PR set `/create-pr --stack` produces on its own.

## Authorization

```
⚠️ This skill is one of the four workflows Anchor Register #4 enumerates (@rules/discretion.md).
⚠️ It may execute exactly three subcommands of the extension — `gh stack link`, `gh stack push`,
   `gh stack submit --auto` — and nothing else from it, `gh stack view` included: `view` syncs PR
   metadata and writes it back into `.git/gh-stack`, so it is not a read. What this skill needs to
   read, it reads without the extension (the first row of the table below).
⚠️ All three push, and they do not push the same way. Read from the extension's source at v0.1.1
   (§ Force form): `link` runs a plain `git push --atomic`; `push` and `submit --auto` run a
   per-branch, value-bearing `git push --force-with-lease=refs/heads/<b>:<sha>`. The approval
   names the form the chosen subcommand uses.
⚠️ Every `gh stack` invocation REQUIRES explicit per-use user approval via AskUserQuestion
…

Read the whole file at its exact version.

How to install

Latest version
mdr add sd0xdev/sd0x-harness/gh-stack@git:20260923.6189f54
Exact content
mdr add sd0xdev/sd0x-harness/gh-stack@sha256:5074374c8727e42b

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_o43ag3pjfm7pdg44.svg)](https://markdownregistry.com/a/art_o43ag3pjfm7pdg44)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260923.6189f54 latest2026-09-23 6189f54 62,223 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (62223 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

sd0xdev/sd0x-harness · 189 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_o43ag3pjfm7pdg44
GET https://markdownregistry.com/api/v1/resolve?ref=sd0xdev/sd0x-harness/gh-stack
GET https://markdownregistry.com/api/v1/blob/5074374c8727e42bada83974f8d155f86f0641d7dd2fe5e154addbeebdad0aa0

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from sd0xdev/sd0x-harness

CLAUDE.md claude
sd0xdev/sd0x-harness · CLAUDE.md
git:20260923.f7d80a8 · audit A · 189 stars
adr skill
sd0xdev/sd0x-harness · skills/adr/SKILL.md · Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives…
git:20260811.d9a8bca · audit A · 189 stars
architecture skill
sd0xdev/sd0x-harness · skills/architecture/SKILL.md · Architecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration…
git:20260905.3d84d94 · audit A · 189 stars
ask skill
sd0xdev/sd0x-harness · skills/ask/SKILL.md · Context-aware Q&A with auto context gathering. Use when: user has a quick question about codebase, git history, rules…
git:20260811.d9a8bca · audit B · 189 stars
best-practices skill
sd0xdev/sd0x-harness · skills/best-practices/SKILL.md · Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict…
git:20260905.3d84d94 · audit A · 189 stars
bug-fix skill
sd0xdev/sd0x-harness · skills/bug-fix/SKILL.md · Bug fix workflow. Use when: fixing bugs, resolving issues, regression fixes. Not for: new features (use feature-dev)…
git:20260905.1599675 · audit A · 189 stars
bump-version skill
sd0xdev/sd0x-harness · skills/bump-version/SKILL.md · Bump package and plugin version in sync. Updates package.json, .claude-plugin/plugin.json, and install-state manifest…
git:20260321.814e761 · audit A · 189 stars
check-coverage skill
sd0xdev/sd0x-harness · skills/check-coverage/SKILL.md · Comprehensive assessment of Unit / Integration / E2E three-layer test coverage, identify gaps and provide actionable…
git:20260404.1c6641c · audit A · 189 stars
claude-health skill
sd0xdev/sd0x-harness · skills/claude-health/SKILL.md · Claude Code config health check + plugin sync. Use when: auditing .claude/ structure, checking naming, verifying hook…
git:20260923.5eb6947 · audit A · 189 stars
code-explore skill
sd0xdev/sd0x-harness · skills/code-explore/SKILL.md · Pure Claude code investigation. Use when: tracing execution paths, understanding architecture, diagnosing issues. Not…
git:20260319.7b83b52 · audit A · 189 stars
code-investigate skill
sd0xdev/sd0x-harness · skills/code-investigate/SKILL.md · Dual-perspective code investigation. Use when: deep code analysis needing both Claude and Codex perspectives. Not for…
git:20260905.3d84d94 · audit A · 189 stars
codex-architect skill
sd0xdev/sd0x-harness · skills/codex-architect/SKILL.md · Codex architecture consulting. Use when: designing features, evaluating architecture, getting second opinion on design…
git:20260905.3d84d94 · audit A · 189 stars

Every file in sd0xdev/sd0x-harness

Other files named gh-stack

gh-stack skill
bastani-inc/atomic · .agents/skills/gh-stack/SKILL.md · Manage stacked branches and pull requests with the gh-stack GitHub CLI extension. Use when the user wants to create…
v0.0.9 · audit A · 820 stars

Browse by kind, by grade A, or by owner.