pdlc-ship

pdlc-ship is a skill for Claude Code from kanfu-panda/pdlc-skills. It costs 30 tokens per session (9,578 once invoked), scanned A, original, MIT.

A software release workflow that runs tests, updates the version and change log, creates a Git tag, and starts CI/CD, the automated build and deployment process.

In plain words
What is it for?
Use it to prepare and publish a version after checking the branch, worktree, unfinished features, quality reports, and release tests.
Why use it?
It checks release prerequisites and requires human decisions before actions that can publish or trigger deployment. It also records when tests are skipped or quality requirements are overridden.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the pdlc plugin — 38 skills, 2 hooks shipped together

Good fit Use it to prepare and publish a version after checking the branch, worktree, unfinished features, quality reports, and release tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanfu-panda/pdlc-skills/pdlc-ship
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 kanfu-panda/pdlc-skills --skill pdlc-ship
Clone the repo
git clone --depth 1 https://github.com/kanfu-panda/pdlc-skills

Made for: Claude Code.

Or install pdlc, the plugin that ships this one along with the rest of its 38 skills, 2 hooks.

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 pdlc-ship

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-ship/github.svg)](https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ship)
Your own site
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ship"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-ship/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 pdlc-ship

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanfu-panda/pdlc-skills/pdlc-ship"><img src="https://agentmods.dev/badge/skills/kanfu-panda/pdlc-skills/pdlc-ship.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,578 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 4
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 64
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Prompt Injection · line 22
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 22
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
How audits are shown
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.00030 $0.09578
Opus 5.5 $0.00012 $0.03831
Sonnet 5.5 $0.00006 $0.01916
Haiku 4.5 $0.00003 $0.00958

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

Security

Grade A, and why

pdlc-ship scanned grade A with 0 findings 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 14d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/pdlc-advance.sh, scripts/pdlc-checks.sh, scripts/pdlc-state-lint.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/pdlc-ship/SKILL.md · 484 lines

How it starts

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

发布工作流

串联发布一个版本所需的所有步骤:收评审通过的功能 → 跑测试 → 升级 VERSION → 更新 CHANGELOG → 写发布说明草稿 → 创建 tag。CI 配置默认不动(见 §1.6)。

⛔ IRON LAW · 不可违反的硬门禁

以下规则为不可协商的执行约束:

  1. 文件必须落盘:所有带编号(功能ID / 缺陷ID)的文档,必须作为实际文件写入磁盘,不可仅在对话中输出。
  2. 阶段必须落章:每个阶段完成后必须在状态机 docs/.pdlc-state/<feature-id>.json 追加 history,不可跳过。
  3. 测试必须存在:进入 /pdlc-implement 前,对应测试必须存在且处于红灯状态。违反则中止。
  4. 自检必须执行:段二自检为强制步骤,不得以"已经很好了"为由跳过。
  5. 防循环:段三修复为单次,不递归。无法自动修复的问题记录到报告,继续往下走。
  6. 状态必推进:成功执行某 phase 后 current_stage 必须变更。收尾时若发现 current_stage 未推进,视为失败并报错,不得静默返回(防止外层循环拿滞后的状态空转烧额度)。唯一例外:命中人工点主动 block 时,current_stage 保持不变但必须写 last_phase_result.ok=false + blocked_reason。

违反任一条 = 立即中止当前命令,输出违规详情,等待人工介入。

⛔ 发布是破坏性·不可逆操作:打 tag / bump 版本 / 触发 CI/CD 属破坏性范畴。--autonomous 对本命令无效——即使带该参数,§1.1(未完成功能)与 §1.2(测试门)的人工确认仍必须真实由人应答。自主循环(/pdlc-loop-run)停在「评审通过、next_step 为 pdlc-ship」(循环文档里称 review_done),永不进入本命令。

段一:执行

参数带 --tag-after-merge:只做「合并后补打」(见 1.5 末尾),跳过下面全部步骤。

1.1 前置检查

  1. 确认当前分支不是 master / main(参考 CLAUDE.md §5)
  2. 确认工作区干净(git status clean)
  3. 盘点 docs/.pdlc-state/ 下的功能(跳过 _ 前缀的索引文件与 statusline.json),逐个归入四类:
    • 可发布:next_step 为 pdlc-ship,且 last_phase_result.ok 不是 false——评审(或功能编排)已通过、等着发布。这一类纳入本次发布
    • 已发布:current_stage 为 ship_done 或 deploy_done——上一次发布已纳入,本次不再收
    • 旧版终态写法:current_stage 以 _done 结尾但不是上面两个(如 feature_done / fix_done / review_done)——旧版本写入,分不清是「已发布」还是「评审通过、待发布」。逐个列出,请人确认归入可发布还是已发布;--autonomous 也不替人判
    • 进行中:其余全部(含 last_phase_result.ok 为 false 的阻塞功能)
    • 有进行中的功能 → 列出来并询问是否继续(用户明确同意才继续;进行中的功能不纳入本次发布)
    • 可发布为空 → 告知「没有评审通过、待发布的功能」,询问是否仍要发布(如只发文档 / 依赖升级)
  4. 质量闸门检查(若项目有 docs/00_standards/quality-targets.yml): 读 docs/07_reviews/quality/ 下最近一份 .md 报告(同名 .html 只是视图, 闸门一律以 .md 为准——两者若不一致,信 .md):
    • 无任何报告 → 提示先跑 /pdlc-quality,询问是继续还是先出报告
    • 报告总判定未达标 → 默认不放行;要发必须由人显式 override 并写明理由, 该理由需记入本次发布的 CHANGELOG 或发布说明(不允许无声跳过)
    • 报告过期——分两档处理,不是所有过期都等价(见下)
    • 达标且未过期 → 在发布报告里引用该报告路径、日期与 commit SHA 作为质量证据

Read the full file on GitHub · 484 lines

Files

What ships with it

4 files 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. 14d ago Changed · +44 lines · +30 tokens per session d8695d221cc7
  2. 19d ago Changed · +34 lines 18de020a0282
  3. 20d ago Changed · +4 lines e3e24a5ffe03
  4. 1mo ago Changed · +214 lines 53596915fd0e
  5. 1mo ago Changed · +29 lines 1611802a7f98
  6. 1mo ago First seen · 159 lines · 0 tokens per session scan A b47e683eceba

Subscribe to this mod's changes

pdlc-ship is a skill published in the GitHub repository kanfu-panda/pdlc-skills (18 stars, last pushed 14d ago), licensed MIT. It adds 30 tokens to every session and 9,578 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories