dsh-repo-release-pr

dsh-repo-release-pr is a skill for Claude Code, Codex from SparkElf/deepseek-harness-plus. It costs 95 tokens per session (4,059 once invoked), scanned C, original, MIT.

A release and pull-request workflow for publishing the SparkElf/deepseek-harness-plus npm repository. A pull request is a proposed change that must be reviewed and checked before it enters the protected master branch.

In plain words
What is it for?
Use it to prepare changes, open and merge pull requests, satisfy repository checks and approvals, and run the project’s release process.
Why use it?
It prevents rejected pushes and releases that stall because of branch protection, required checks, or approval rules. It explains why the person who opens a pull request cannot approve their own change and why the release steps must be ordered.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to prepare changes, open and merge pull requests, satisfy repository checks and approvals, and run the project’s release process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SparkElf/deepseek-harness-plus --skill dsh-repo-release-pr
Clone the repo
git clone --depth 1 https://github.com/SparkElf/deepseek-harness-plus

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dsh-repo-release-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr/github.svg)](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr)
Your own site
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dsh-repo-release-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/dsh-repo-release-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,059 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.04059
Opus 5.5 $0.00038 $0.01624
Sonnet 5.5 $0.00019 $0.00812
Haiku 4.5 $0.00010 $0.00406

Measured 7d ago against content hash 4aaa9d9f274e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

dsh-repo-release-pr scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .cache/plus-web-build-cache
.agents/skills/dsh-repo-release-pr/SKILL.md · 308 lines

How it starts

The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DSH Plus 仓库的发布与 PR 流程

这个技能解决一类反复踩的坑:推代码、发版本、开 PR 时不知道规则,导致被拒或卡住。

核心结论先给:

  1. 禁止直推 master。 服务端规则强制 PR + 批准 + 状态检查,客户端绕不过。
  2. PR 作者不能批准自己的 PR。 加权批准明确排除作者。
  3. 批准需要 2 分,且本机通常只有一个 GitHub 身份 —— 所以「机器人提交 + 人审查」需要两个身份,或缺一不可。
  4. 发布用 release:ship 或按它的步骤顺序手动执行,顺序错了 gate 会失败。
  5. 基座版本升级不走本技能:先按 dsh-base-upgrade 完成裸基座、插件修复、退役判断与 edition 组装,再回到本技能发版。

1. 仓库身份

origin   git@github-sparkelf:SparkElf/deepseek-harness-plus.git

这是自有仓库,不是第三方依赖。改 packages/bundle/plus 等代码 = 改自有源码,正确路径是「改源码 → 构建 → 提 PR → 发布」,不是「打补丁」也不是「提 issue 给上游」。

本机 gh 登录身份用 gh auth status 查。先查身份,再决定流程——只有一个身份时,作者不能批准自己的 PR。


2. master 的服务端保护规则

先用 API 查,不要凭猜:

gh api repos/SparkElf/deepseek-harness-plus/rules/branches/master

当前规则(GET .../branches/master/protection 返回 404,因为用的是新版 rulesets,不是旧保护):

规则 含义
pull_request 必须走 PR;required_approving_review_count = 1;require_code_owner_review = true;required_review_thread_resolution = true
required_status_checks 两个检查必须通过:Required PR evidence、Diff and composition metadata
non_fast_forward 禁止强推
deletion 禁止删分支

直推会被这样拒绝:

remote: error: GH013: Repository rule violations found for refs/heads/master.
remote: - Changes must be made through a pull request.
remote: - 2 of 2 required status checks are expected.

这是服务端强制,"跳过 CI" 在客户端做不到。


3. 加权批准机制(最容易踩的坑)

策略文件:.github/review-ownership/approval-policy.json

{
  "requiredPoints": 2,
  "defaultPoints": 1,
  "reviewerPoints": {
    "07akioni": 2, "imccyu": 2, "tianyicui": 2,
    "tianyicui-bot": 2, "turtle1999": 2, "turtle2099": 2
  }
}

规则要点(来自 .github/review-ownership/README.md):

  • 阈值 2 分。
  • 高权重审查者各 2 分(一票即达阈值);其他有 write 权限者各 1 分。
  • PR 作者不计分 —— 所以作者自己 approve 无效。
  • 无 write 权限者不计分;已删除账号不计分。
  • CHANGES_REQUESTED 是阻断项,即使分数够也保持 pending。
  • 只有「非 draft + 达阈值 + 无阻断」才返回 success。

因此:

  • 想自动化,需要 bot 账号(如 tianyicui-bot)提交、人类账号审查;或反过来。
  • 只有一个身份时,无法自行合并 —— 这是设计如此,不是 bug。

Read the full file on GitHub · 308 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 308 lines · 95 tokens per session scan C 4aaa9d9f274e

Subscribe to this mod's changes

dsh-repo-release-pr is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 4,059 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.

Related

dsh-repo-release-pr compared with skills from other repositories

dsh-repo-release-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-repo-release-prSparkElf/deepseek-harness-plusSkill1yesterdayMITC95Claude Code, Codex
update-v8-versionopeninterpreter/openinterpreterSkill69ktodayApache-2.0A86Codex
final-release-reviewsandbaseai/sandbase-skillsSkill21213d agoApache-2.0A39Claude Code
codex-pr-bodyopeninterpreter/openinterpreterSkill69ktodayApache-2.0A17Codex
codew-release-qa-sweepHmbown/CodeWhaleSkill41ktodayMITA31Claude Code, Codex
releaseHmbown/CodeWhaleSkill41ktodayMITA0Claude Code, Codex
releaseBlockRunAI/ClawRouterSkill6.7ktodayMITA44Claude Code, Codex