Agent skill

Gentle AI Chained PR

by Gentleman-Programming in Gentleman-Programming/gentle-shell

Trigger: PRs over 400 lines, stacked PRs, review slices. An agent skill from Gentleman-Programming/gentle-shell.

Apache-2.0Auto-check passedDevelopment

Install Gentle AI Chained PR

skills CLI
$ npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-chained-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Gentleman-Programming/gentle-shell gentle-ai-chained-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Gentleman-Programming/gentle-shell.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/chained-pr .claude/skills/gentle-ai-chained-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gentle-ai-chained-pr
GitHub stars
1.2k
Token cost
~1.7k tokens
SKILL.md length
898 words
Files
2 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Trigger: PRs over 400 lines, stacked PRs, review slices. An agent skill from Gentleman-Programming/gentle-shell.

  • Works in 3 steps: Feature/tracker branch chain —… → Verified default/main branch chain —… → One single PR — least recommended —…
  • Development work in your project
  • SKILL.md covers Activation Contract, Hard Rules, Oversized Delivery Menu and Decision Gates, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Gentle AI Chained PR is an agent skill from Gentleman-Programming/gentle-shell. Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/chaining-details.md`).

It sits in Development. The repository describes itself as: Gentle Shell is a Pi-native coding-agent harness for controlled development with Organic Driven Development, optional SDD/OpenSpec, subagents, TDD evidence, review guardrails… The licence is Apache-2.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/gentle-ai-chained-pr”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Feature/tracker branch chain — chain_strategy=feature-branch-chain; review child slices before final feature integration.
  2. Verified default/main branch chain — chain_strategy=stacked-to-main; land independently reviewable slices in order on the verified default…
  3. One single PR — least recommended — delivery_strategy=single-pr; keep the entire change in one PR rather than a chain.

What it can do on your machine

Read from SKILL.md and the folder at commit 42653f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gentle AI Chained PR loads about 1.7k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 36 tokens; SKILL.md has 898 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Gentleman-Programming/gentle-shell at commit 42653f7, republished under its Apache-2.0 licence (© Gentleman-Programming). 898 words, ~1,684 tokens.

Download SKILL.mdSave it as .claude/skills/gentle-ai-chained-pr/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gentle-ai-chained-pr
description
Trigger: PRs over 400 lines, stacked PRs, review slices. Split oversized changes into chained PRs that protect review focus.
license
Apache-2.0
metadata.author
gentleman-programming
metadata.version
1.0

Activation Contract

Load this skill when a planned PR may exceed 400 changed lines, an ODD feature's forecast or running authored changed-line count from work-unit commits exceeds about 400, or the user asks for chained/stacked PRs, review slices, or reviewer-load control. The per-task advisory 400 authored-line heuristic does not itself require a PR split.

Hard Rules

  • Recommend slicing PRs over 400 changed lines; offer the ordered oversized-delivery menu below and follow the user's selection subject to the destination repository's documented contribution/size policy.
  • size:exception is a Gentle-owned repository policy, not a universal label requirement. Never request, create, or add this label for generic users unless the destination policy uses it. Preserve that policy's maintainer acceptance gates and protected-label human authorization; selection alone grants neither.
  • The budget constrains how work is sliced, never the code itself. Never delete comments, blank lines, docs, or tests, and never compress or restyle code, to fit under the budget.
  • Slicing is bounded: make one honest slicing pass. If no cohesive split brings every slice within budget, stop iterating, keep the best cohesive split, and report the final line count and rationale. Recommend a size exception only when the destination policy provides that route.
  • Keep each PR reviewable in about ≤60 minutes.
  • In a chain, use one deliverable work unit per PR; keep tests/docs with the unit they verify. A selected single PR may contain multiple coherent work-unit commits.
  • State start, end, prior dependencies, follow-up work, and out-of-scope items in every chained PR.
  • Every child PR must include a dependency diagram marking the current PR with 📍.
  • In Feature Branch Chain, create a draft/no-merge tracker PR; child PR #1 targets the tracker branch, later children target the immediate parent branch.
  • Treat polluted diffs as base bugs: retarget or rebase until only the current work unit appears.
  • Do not mix chain strategies after the user chooses one.
  • Before creating branches or PRs, verify the target repository's default branch; use it as the integration base, not an assumed main. stacked-to-main is the historical strategy token even when the default branch has another name.

Oversized Delivery Menu

Offer exactly three choices in this semantic order; English examples are illustrative and localizable, not mandatory copy. Generate the complete user-facing question, every option label, description, and recommendation marker in the active user's conversation language (English for an English user, Spanish for a Spanish user, etc.). Machine strategy tokens remain unchanged and untranslated.

  1. Feature/tracker branch chain — chain_strategy=feature-branch-chain; review child slices before final feature integration.
  2. Verified default/main branch chain — chain_strategy=stacked-to-main; land independently reviewable slices in order on the verified default branch, whatever its name.
  3. One single PR — least recommended — delivery_strategy=single-pr; keep the entire change in one PR rather than a chain.

The third choice overrides the pending chaining path: clear the chain choice as inapplicable and suppress later chain prompts. single-pr is not a chain_strategy token. Do not automatically select exception-ok or imply an accepted policy exception.

The least recommended marker applies only to this oversized menu. An oversized single PR increases reviewer cognitive load, slows feedback, and couples rollback of otherwise separable work; a focused single PR within 400 changed lines remains reasonable. Delivery selection does not authorize push, PR creation, merge, or changes to review mode or candidate consent.

Show full SKILL.md (359 more words)Show less

Decision Gates

ConditionAction
PR ≤400 changed lines and focusedKeep single PR.
PR >400, each slice can land independentlyRecommend Stacked PRs to the verified default branch; respect the selected delivery strategy.
PR >400, feature must integrate before the default branchRecommend Feature Branch Chain with tracker; respect the selected delivery strategy.
Generated/vendor/migration diff cannot split cleanlyReport the overage; follow destination policy for any required exception.
No cohesive split fits the budget after one slicing passStop slicing; report the best cohesive split and why it cannot shrink further, then apply the selected delivery strategy and destination policy.
ODD delivery_strategy is ask-on-riskWhen the budget is exceeded, ask once using the menu above for a chain strategy or single PR before the next work-unit commit.
ODD delivery_strategy is auto-chainAsk for a chain strategy only when missing; otherwise use the cached choice.
ODD delivery_strategy is single-prFollow the destination repository's documented contribution/size policy for the overage; do not ask for a chain strategy.
ODD delivery_strategy is exception-okRecord the explicitly accepted exception under destination policy, including size:exception only where applicable; do not ask for a chain strategy.

Execution Steps

  1. Estimate changed lines and identify independent work units.
  2. Apply the delivery-strategy gate above; offer the menu only on a chaining path that needs a choice. For auto-chain, use a cached chain strategy without prompting again; if missing, offer all three choices.
  3. Verify the target repository's default branch before creating branches/PRs; use the chosen strategy only.
  4. On chaining paths only, add Chain Context to each child PR without replacing the repo PR template.
  5. Verify each PR independently: CI/tests/docs/manual checks, rollback scope, and clean diff.
  6. For Feature Branch Chain only, keep tracker PR draft/no-merge until all child PRs are reviewed and integrated.

Output Contract

Return the chosen delivery strategy, review budget (additions + deletions), scope, verification plan, and any destination-policy exception rationale. For chaining, also return PR order, current PR boundary, and dependency diagram. For single-pr, require no tracker, child dependency diagram, or Chain Context; use the destination PR template without chain-only artifacts.

References

© Gentleman-Programming, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/chained-pr of Gentleman-Programming/gentle-shell.

  • SKILL.md
  • references/chaining-details.md

Open the folder on GitHubat commit 42653f7

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in Gentleman-Programming/gentle-shell, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Gentle AI Chained PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gentle AI Chained PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gentle AI Chained PR this skillGentleman-Programming/gentle-shell1.2k—~1.7kAutomated safety check: PassApache-2.0
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from Gentleman-Programming/gentle-shell

All 12 skills in this repo
  • Gentle AI Issue Creation

    Gentleman-Programming/gentle-shell

    Create and triage GitHub issues from repository evidence. An agent skill from Gentleman-Programming/gentle-shell.

    1.2k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Gentle AI Judgment Day

    Gentleman-Programming/gentle-shell

    Trigger: judgment day, judgement day, dual review, adversarial review, juzgar.

    1.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Gentle AI Branch and PR

    Gentleman-Programming/gentle-shell

    Prepares branches and pull requests for the Gentle AI repository, checking for a linked approved issue, labels, size budget and required checks.

    1.2k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Gentle AI Cognitive Doc Design

    Gentleman-Programming/gentle-shell

    Design docs that reduce cognitive load. An agent skill from Gentleman-Programming/gentle-shell.

    1.2k GitHub stars~597 tokensUpdated today
    Auto-check passed
  • Gentle AI Comment Writer

    Gentleman-Programming/gentle-shell

    Write warm, direct collaboration comments. An agent skill from Gentleman-Programming/gentle-shell.

    1.2k GitHub stars~623 tokensUpdated today
    Auto-check passed
  • Gentle AI Skill Creator

    Gentleman-Programming/gentle-shell

    Trigger: /skill-creation, skill creation, skill creator, create skill, new skill.

    1.2k GitHub stars~798 tokensUpdated today
    Auto-check passed

Categories

Questions about Gentle AI Chained PR

What does Gentle AI Chained PR do?

Trigger: PRs over 400 lines, stacked PRs, review slices. An agent skill from Gentleman-Programming/gentle-shell. Gentle AI Chained PR is an agent skill from Gentleman-Programming/gentle-shell. Trigger: PRs over 400 lines, stacked PRs, review slices.

When should I use Gentle AI Chained PR?

Gentle AI Chained PR fits situations like: development work in your project.

How do I install Gentle AI Chained PR in Claude Code?

Run `npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-chained-pr -a claude-code`. Or copy the skill folder (skills/chained-pr in Gentleman-Programming/gentle-shell) into .claude/skills/gentle-ai-chained-pr in your project. Claude Code loads it when a task matches its description.

How do I install Gentle AI Chained PR in Codex?

Run `npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-chained-pr -a codex`. Or copy the skill folder (skills/chained-pr in Gentleman-Programming/gentle-shell) into .agents/skills/gentle-ai-chained-pr in your project. Codex loads it when a task matches its description.

Can I use Gentle AI Chained PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-chained-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gentle-ai-chained-pr, .gemini/skills/gentle-ai-chained-pr, .github/skills/gentle-ai-chained-pr and .opencode/skills/gentle-ai-chained-pr in your project.

What does Gentle AI Chained PR need to run?

SKILL.md names no scripts, command-line tools or credentials: Gentle AI Chained PR is instructions for the agent only.

Does Gentle AI Chained PR access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gentle AI Chained PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gentle AI Chained PR use?

Gentle AI Chained PR is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gentle AI Chained PR use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Gentle AI Chained PR?

Skills that share tags, products or a category with Gentle AI Chained PR: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gentle AI Chained PR?

Gentleman-Programming (a GitHub organization) maintains it in Gentleman-Programming/gentle-shell, which has 1,245 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 9, 2026.

Source: Gentleman-Programming/gentle-shell on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.