commit-before-deploy SKILL.md skillA

commit-before-deploy from nangongwentian-fe/jay-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nangongwentian-fe/jay-skills/commit-before-deploy@git:20261103.c1852b4

Pins git:20261103.c1852b4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nangongwentian-fe/jay-skills
Path
skills/commit-before-deploy/SKILL.md
Versions recorded
1
Latest version
git:20261103.c1852b4, committed Nov 3, 2026
Size
3,399 bytes
Repository stars
12
License
none declared

部署 Git 项目前先验证、提交并推送本次发布代码,确认远端提交后才构建和发布。适用于 DEV、UAT、生产等代码部署任务;只编写技能、检查或制定计划不触发发布。.

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

# 部署前提交与推送

用户要求部署当前代码时,将本次发布所需改动的提交和推送视为部署前置步骤,复用已有授权,不重复确认。用户当次明确要求只检查、只计划或禁止推送时遵从其限制,并说明发布前置条件尚未满足。本技能不扩大目标环境、项目或发布范围的授权,也不授权创建技能时立即发布。

## 确定发布提交

1. 检查仓库指令、当前分支、上游、远端状态,以及暂存、未暂存和相关未跟踪文件。非 Git 项目、缺少远端或发布分支不明确时,说明缺少的信息并暂停部署,不自行初始化仓库或选择目标。
2. 明确本次发布范围并完成项目要求的验证。复用已通过且对应源码未变的验证。按 [git-topic-commit-push](../git-topic-commit-push/SKILL.md) 处理主题划分、暂存保护和中文 Conventional Commit;该技能不可用时遵循同样原则:只提交发布相关内容,检查完整暂存差异,保留无关修改,不使用全量暂存或重置清理工作区。
3. 核对远端更新。出现分歧时先检查并按项目规则处理,无法安全解决则停止;不自动强推、改写历史或切换发布目标。
4. 有相关改动则提交并推送到确认的上游。无新改动但提交未推送时只推送;目标提交已存在于远端时直接继续,不创建空提交。提交或推送失败时停止,不上传产物或切换线上版本。
5. 用远端查询确认发布提交存在于目标分支:通常远端分支 SHA 应等于发布提交;若远端已有后续提交,获取并核实发布提交是该分支祖先,同时确认仍应发布该版本。不能仅凭本地 upstream 引用或推送命令成功作判断。记录远端、分支和完整提交 SHA。

## 从已推送源码发布

- 只有前置检查全部通过,才按项目部署流程构建、上传、切换和验证。构建源码必须对应已推送的发布提交。
- 无关本地修改可以保留,但不得进入产物。必要时在隔离检出中构建;部署专用、被忽略的环境配置按项目流程提供,不提交密钥。记录构建所用的提交与环境。
- 已有产物须能追溯到该提交和目标环境,否则重新构建。构建前后检查受版本控制的输入和相关未跟踪文件;构建后源码变化或构建过程改写跟踪文件时,停止发布,核实范围,重新完成验证、提交和推送后再构建。
- 回滚既有版本复用它的产物与提交记录,不制造源码提交。不能追溯提交时报告缺口并明确回滚依据,不伪造记录;沿用项目紧急恢复规则。
- 每个失败步骤都是停止条件。报告已完成的提交、推送或构建,以及具体阻塞原因;不得在失败后继续上传或切换。

## 交付

报告提交哈希、主题、远端分支确认结果、发布版本与验证结果。区分代码已提交、已推送、已构建和已部署;未完成步骤如实说明。只要求创建或修改本技能时,不自动提交、推送或部署技能文件。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nangongwentian-fe/jay-skills/commit-before-deploy@sha256:bbda9be9bc5ca001

The line at the top of this page pins the label git:20261103.c1852b4, 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_xjpst5jr3twvc2bk.svg)](https://markdownregistry.com/a/art_xjpst5jr3twvc2bk)

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

Versions

The registry has recorded 1 version of this file, committed on Nov 3, 2026.

versioncommittedcommitsizeaudit
git:20261103.c1852b4 latest2026-11-03 c1852b4 3,399 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 (3399 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

nangongwentian-fe/jay-skills · 12 stars · license none declared · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xjpst5jr3twvc2bk
GET https://markdownregistry.com/api/v1/resolve?ref=nangongwentian-fe/jay-skills/commit-before-deploy
GET https://markdownregistry.com/api/v1/blob/bbda9be9bc5ca0012ec5812012fe95bc33b817cfdc7aa31b379abfefe36a7753

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 nangongwentian-fe/jay-skills

buddy-reroll SKILL.md skill
nangongwentian-fe/jay-skills · skills/buddy-reroll/SKILL.md · Reroll a Claude Code companion to match a requested species, rarity or shiny variant. Use for explicit buddy…
git:20261018.4caf5d8 · audit A · 12 stars
chrome-browser-validation SKILL.md skill
nangongwentian-fe/jay-skills · skills/chrome-browser-validation/SKILL.md · 使用官方 @Chrome 插件连接用户现有 Chrome,进行网页调试、交互测试和视觉验收。跨项目适用于开发完成后的浏览器验证及现有网页问题复现;代码静态检查和单元测试不受此浏览器选择约束。
git:20261030.ef8191b · audit A · 12 stars
clean-wechat-wps-storage SKILL.md skill
nangongwentian-fe/jay-skills · skills/clean-wechat-wps-storage/SKILL.md · Scan macOS WeChat/WPS disk usage and move selected data to Trash after the cleanup plan is confirmed. Use for app…
git:20261018.4caf5d8 · audit A · 12 stars
codex-imagegen SKILL.md skill
nangongwentian-fe/jay-skills · skills/codex-imagegen/SKILL.md · Generate or edit images via Codex CLI when no native tool is available, or recover outputs from an existing CLI image…
git:20261018.4caf5d8 · audit A · 12 stars
daily-work-summary SKILL.md skill
nangongwentian-fe/jay-skills · skills/daily-work-summary/SKILL.md · 按指定仓库和日期,从本人 Git 提交生成每日工作总结。适用于日报与按日期汇总已提交工作。
git:20261018.4caf5d8 · audit A · 12 stars
delivery-context SKILL.md skill
nangongwentian-fe/jay-skills · skills/delivery-context/SKILL.md · Calibrate deliverables to the author's role, actual audience, intended use and acceptance criteria before creating or…
git:20261101.0b2a671 · audit A · 12 stars
dts-docs SKILL.md skill
nangongwentian-fe/jay-skills · skills/dts-docs/SKILL.md · 使用飞渡科技 DTS 产品进行开发、配置、操作或排障时,识别产品和版本并查询匹配的官方文档。适用于 DTS Cloud、CloudMaster、NodeService、Explorer、Engine、JavaScript SDK,以及…
git:20261029.0b1d958 · audit A · 12 stars
find-docs SKILL.md skill
nangongwentian-fe/jay-skills · skills/find-docs/SKILL.md · Look up current library, API and CLI syntax, configuration or version-specific behavior with Context7. Use for…
git:20261018.4caf5d8 · audit A · 12 stars
finish-cleanly SKILL.md skill
nangongwentian-fe/jay-skills · skills/finish-cleanly/SKILL.md · 在任务完成、准备最终交付或用户要求收尾时,核实最终成果并自动清理本任务已无用途的临时文件及重复交付副本。默认只保留最终成果,不反复询问清理许可;保护用户文件、依赖、必要证据及回滚资料。适用于产生本地过程文件的任务收尾,不用于全盘清理或每次中…
git:20261024.480cfc7 · audit A · 12 stars
git-topic-commit-push SKILL.md skill
nangongwentian-fe/jay-skills · skills/git-topic-commit-push/SKILL.md · Group authorized Git changes into coherent commits and push when requested. Use for topical commit or commit-and-push…
git:20261018.4caf5d8 · audit A · 12 stars
goal-first SKILL.md skill
nangongwentian-fe/jay-skills · skills/goal-first/SKILL.md · Understand the user's intended outcome, independently assess the proposed approach, and proactively find better ways to…
git:20261030.252c74d · audit A · 12 stars
guided-learning SKILL.md skill
nangongwentian-fe/jay-skills · skills/guided-learning/SKILL.md · Teach a defined body of knowledge in source-material order with explicit coverage tracking, short explanations, and one…
git:20261027.9f7d34d · audit A · 12 stars

Every file in nangongwentian-fe/jay-skills

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