manage-stacked-prs SKILL.md skillA

manage-stacked-prs from kdy1/kdy1-scripts is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kdy1/kdy1-scripts/manage-stacked-prs@git:20261012.c2ad695

Pins git:20261012.c2ad695 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kdy1/kdy1-scripts
Path
skills/manage-stacked-prs/SKILL.md
Versions recorded
4
Latest version
git:20261012.c2ad695, committed Oct 12, 2026
First version recorded
Oct 9, 2026
Size
11,910 bytes
Repository stars
32
License
none declared

Modify existing GitHub stacked PRs and restack and verify affected upper layers with gh stack. Apply when editing a PR in an existing stack or repairing its alignment. Preserve unrelated lower PRs; fix a lower layer only when its confirmed defect blocks the requested work. Stack creation and merging remain separate workflows.

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

# Manage Stacked PRs

Complete the requested change and leave its affected stack aligned on GitHub. A local edit or target-only push is not completion when upper layers still need restacking.

Apply alongside the workflow that owns the requested code change. This skill owns stack scope, history alignment, scoped push, and verification. It does not start stack creation, merging, unrelated repairs, comments, reviews, or monitoring. Reading or editing this skill does not authorize changes to a live stack. Honor explicit local-only, read-only, and narrower scope instructions; report any resulting alignment work as unfinished.

## Establish the stack and boundaries

1. Read repository instructions. Resolve the target PR from the human request or task context, otherwise the current branch's PR. Use authenticated GitHub reads and `gh stack view --json` to confirm the host, repository, exact head repository, push remote, ordered membership, PR states, and base relationships. Resolve ambiguous identities or membership before changing history; do not infer order from PR numbers or branch names.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kdy1/kdy1-scripts/manage-stacked-prs@sha256:5847a0d564bbf2ad

The line at the top of this page pins the label git:20261012.c2ad695, 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.

Badge

mdr badge

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

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Oct 9, 2026 and Oct 12, 2026, about one every day.

versioncommittedcommitsizeaudit
git:20261012.c2ad695 latest2026-10-12 c2ad695 11,910 BA view · diff
git:20261009.c92e55c2026-10-09 c92e55c 11,860 BA view · diff
git:20261009.7f18db82026-10-09 7f18db8 11,057 BA view · diff
git:20261009.1a6d5192026-10-09 1a6d519 9,174 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (11910 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

kdy1/kdy1-scripts · 32 stars · license none declared · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_o3kbudnn2pjmpzr3
GET https://markdownregistry.com/api/v1/resolve?ref=kdy1/kdy1-scripts/manage-stacked-prs
GET https://markdownregistry.com/api/v1/blob/5847a0d564bbf2adbc6c780190f9debce609407d5afd2a814c6e573a2a94c25d

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.

More from kdy1/kdy1-scripts

AGENTS.md AGENTS.md file
kdy1/kdy1-scripts · AGENTS.md
git:20261011.83210f0 · audit A · 32 stars
add-issue SKILL.md skill
kdy1/kdy1-scripts · skills/add-issue/SKILL.md · Investigate explicitly requested work in the local environment by default, inspect relevant logs, repair confirmed…
git:20261014.a2ef13b · audit A · 32 stars
bulk-watch SKILL.md skill
kdy1/kdy1-scripts · skills/bulk-watch/SKILL.md · Watch a user-specified source and apply one common prompt to existing and newly discovered items through per-item…
git:20261004.f780158 · audit A · 32 stars
bulk SKILL.md skill
kdy1/kdy1-scripts · skills/bulk/SKILL.md · Apply a common prompt to a finite text list of items through per-item worktree chats in the current project…
git:20261004.f780158 · audit A · 32 stars
collect-review SKILL.md skill
kdy1/kdy1-scripts · skills/collect-review/SKILL.md · Collect unresolved bug candidates from existing Codex reviews on merged GitHub PRs, hand each candidate to $add-issue…
git:20261011.8c29ab5 · audit A · 32 stars
create-human-reviewed-pr SKILL.md skill
kdy1/kdy1-scripts · skills/create-human-reviewed-pr/SKILL.md · Publish human-reviewed changes as a non-draft GitHub pull request with AI-use disclosure, a human-reviewer mention, and…
git:20261006.2973f18 · audit A · 32 stars
create-pr SKILL.md skill
kdy1/kdy1-scripts · skills/create-pr/SKILL.md · Publish intended changes as a GitHub pull request with verified Closes references for fully resolved issues and Refs…
git:20261020.750871a · audit A · 32 stars
design-ui SKILL.md skill
kdy1/kdy1-scripts · skills/design-ui/SKILL.md · Design new or changed product UI, including direct UI changes and UI plans, specifications, or issues. Ground the…
git:20261020.323d825 · audit A · 32 stars
improve-skill-efficiency SKILL.md skill
kdy1/kdy1-scripts · skills/improve-skill-efficiency/SKILL.md · Optimize a specified skill using its local Codex session history and API-priced token costs. Use when asked to improve…
git:20261017.c04e93d · audit A · 32 stars
list-good-prs SKILL.md skill
kdy1/kdy1-scripts · skills/list-good-prs/SKILL.md · List open pull requests in the current GitHub repository that are CLEAN or UNSTABLE and have a +1 reaction from…
git:20260829.1e04d66 · audit A · 32 stars
main-qa SKILL.md skill
kdy1/kdy1-scripts · skills/main-qa/SKILL.md · Run parallel web-app QA for functional and usability problems with GPT-5.6 Luna xhigh subagents and explicitly delegate…
git:20261004.073ae54 · audit A · 32 stars
merge-pr SKILL.md skill
kdy1/kdy1-scripts · skills/merge-pr/SKILL.md · Squash-merge GitHub pull requests immediately or enable auto-merge with the default commit subject when the user…
git:20261014.0f04861 · audit A · 32 stars

Every file in kdy1/kdy1-scripts

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