CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dsh-merging-stacked-prs

Use when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's branch, or whenever a request mentions "stacked PRs", "PR stack", "dependent PRs", or merging several related PRs in sequence. Requires every same-repository dependency chain to use GitHub's official stacked-PR feature before landing so GitHub owns stack-wide rules, CI, ordering, retargeting, and merge state.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

The canonical home for this skill is dsh-merging-stacked-prs in river666/deepseek-harness-enterprise

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An excellent operational skill: fully executable commands, an explicitly gated multi-step workflow with hard stops and validation for destructive batch operations, and clearly delegated external concerns. The only deductions are minor redundancy from the checklist and procedural detail that could live in a reference file.

Suggestions

Trim the closing checklist to the few non-obvious invariants (or drop it), since each item restates a body rule verbatim — that redundancy costs ~8 lines.

Move the dual refresh histories (native cascading rebase vs incremental merge-forward, including the conflict/push procedure) into a references/refresh.md file and keep only the decision rule inline, shortening the body.

Split long compound sentences in 'Refresh only when needed' (e.g., the sync/rebase/push sentence) into short imperative steps to improve scanability.

DimensionReasoningScore

Conciseness

The body is dense and assumes competence (no PR/git primer), and nearly every sentence adds a constraint or command. Not a 5 because the closing checklist duplicates ~8 lines of body rules and some compound sentences could be tightened; not a 3 because no passage explains concepts Claude already knows and padding is minimal.

4 / 5

Actionability

Every step ships an executable command with real flags and JSON field lists: `gh pr view <pr> --json ...`, a complete copy-paste GraphQL query for PullRequest.stack, `gh stack link --base <trunk> ...`, `gh stack merge <stack-number> --yes --merge`, `gh stack sync`/`rebase`/`push`, and a `gh pr list --state open --base <branch> --json number --jq length` dependent-count check. Placeholders are the only un-filled parts, appropriately so.

5 / 5

Workflow Clarity

The sequence is explicit and gated: version check → live metadata fetch → stack membership via GraphQL → link missing members → optional refresh → preflight ('Require every selected PR to be open, non-draft...') → merge → verify MERGED → guarded branch deletion. Destructive/batch operations (history rewrite, stack merge, branch deletion) each have validation checkpoints and stop-and-ask feedback loops ('Anything other than 0 blocks deletion', 'hard-stop', 'cancel and ask'), plus a final checklist.

5 / 5

Progressive Disclosure

Sections are clear and external material is well signaled one level deep (AGENTS.md for merge-forward/rebase history, the stack review guide for review-fix propagation, the incremental-retargeting note), with no buried or nested references. Not a 5 because the ~127-line body inlines two long procedural blocks (stack linking rules and the dual refresh histories) that carry near-reference-level detail a separate file could own.

4 / 5

Total

18

/

20

Passed

Description

95%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it explicitly states what the skill does and when to use it, with quoted natural trigger phrases and synonyms, and carves out a distinct niche. Only minor coverage gaps in the enumerated capabilities keep it from a perfect mark on specificity.

DimensionReasoningScore

Specificity

Concrete actions are named — 'landing a stack of dependent GitHub PRs (A ← B ← C...)', 'merging a PR whose base is another open PR's branch', and requiring 'GitHub's official stacked-PR feature before landing'. It stops short of the comprehensive 5 anchor because supporting operations (linking unstacked PRs, syncing/rebasing layers, verifying merged state) are not mentioned.

4 / 5

Completeness

Both 'what' (land stacks of dependent PRs through GitHub's official stacked-PR feature so GitHub owns stack-wide rules, CI, ordering, retargeting, and merge state) and 'when' ('Use when landing a stack... onto master, merging a PR whose base is...', 'whenever a request mentions...') are explicit and concrete.

5 / 5

Trigger Term Quality

Natural quoted phrases users would actually say are comprehensively covered with synonyms: "stacked PRs", "PR stack", "dependent PRs", plus the paraphrase 'merging several related PRs in sequence' and the scenario phrasing 'a PR whose base is another open PR's branch'.

5 / 5

Distinctiveness Conflict Risk

The stacked-PR niche is distinct and the triggers ('stacked PRs', 'PR stack', 'dependent PRs', base-is-another-open-PR) would not naturally fire a generic PR-merging or git-branch skill; conflict risk is minimal.

5 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 3 suspicious

Warning

Total

15

/

16

Passed

Repository

river666/deepseek-harness-enterprise

Path

.claude/skills/dsh-merging-stacked-prs/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.