gh-stack SKILL.md skillA
gh-stack from jimyag/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jimyag/dotfiles/gh-stack@v0.0.9Pins v0.0.9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jimyag/dotfiles
- Path
skills/gh-stack/SKILL.md- Versions recorded
- 3
- Latest version
- v0.0.9, committed Sep 5, 2026
- First version recorded
- Aug 10, 2026
- Size
- 3,305 bytes
- Repository stars
- 11
- License
- MIT
使用 gh-stack GitHub CLI 扩展管理堆叠分支和拉取请求。适用于创建、推送、变基、同步、切换、查看、重组或合并相互依赖的 PR 链及堆叠差异。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 管理堆叠拉取请求 使用 `gh stack` 管理线性分支链,每个分支对应一个聚焦的 PR,并以下一层分支为基准。 ```text main -> data-models -> api -> frontend ``` 基础改动放在栈的下层,依赖它的使用方放在上层。无关工作使用独立的栈。 ## 前置检查 ```bash git rev-parse --git-dir git status --short gh --version gh auth status gh extension list | rg 'github/gh-stack' ``` 获得明确授权后安装: ```bash gh extension install github/gh-stack ``` 存在多个远端时,配置目标默认远端,或在支持的命令中传入 `--remote`: ```bash git config remote.pushDefault origin ``` ## 非交互规则 - 调用 `init`、`add` 和基于分支的 `checkout` 时始终传入分支名;省略参数可能触发交互提示。 - 始终使用 `gh stack submit --auto`;只有已准备好评审的 PR 才添加 `--open`。 - 始终使用 `gh stack view --json`;默认查看模式是交互式的。 - 使用常规 `git add` 和 `git commit`,明确控制每一层的改动。 - 修改较低层前先切换过去并在该层提交,然后运行 `gh stack rebase --upstack`。 - 分支由多个栈共享时,需要先检出一个无歧义的分支。 - 执行 `checkout <pr-number>` 前,必要时用 `gh stack unstack --local` 移除冲突的本地跟踪信息。 - 使用 `gh stack merge --yes` 合并;不要用 `gh pr merge` 替代堆叠 PR 的合并操作。 ## 常用流程 创建并提交一个栈: ```bash gh stack init data-models # 编辑,然后执行 git add 和 git commit gh stack add api # 编辑,然后执行 git add 和 git commit gh stack add frontend # 编辑,然后执行 git add 和 git commit gh stack submit --auto gh stack view --json ``` 修改较低层并更新依赖层: ```bash gh stack checkout api # 编辑,然后执行 git add 和 git commit …
Read the whole file at its exact version.
How to install
mdr add jimyag/dotfiles/gh-stack@sha256:bbcccbefd2ac4c95The line at the top of this page pins the label v0.0.9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ltixtkiol3wl3rq6)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 10, 2026 and Sep 5, 2026, about one every 13 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.0.9 latest | 2026-09-05 | 751659e | 3,305 B | A | view · diff |
| v0.0.9 | 2026-08-12 | c55b6ba | 3,335 B | A | view · diff |
| v0.0.9 | 2026-08-10 | 2f916d1 | 42,786 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3305 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
jimyag/dotfiles · 11 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ltixtkiol3wl3rq6 GET https://markdownregistry.com/api/v1/resolve?ref=jimyag/dotfiles/gh-stack GET https://markdownregistry.com/api/v1/blob/bbcccbefd2ac4c95fd6a7c0a619c773e7666a8b442a6011fff4bbee8983b896c
Your AI assistant 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.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.