finish-cleanly SKILL.md skillA

finish-cleanly 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/finish-cleanly@git:20261024.480cfc7

Pins git:20261024.480cfc7 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/finish-cleanly/SKILL.md
Versions recorded
1
Latest version
git:20261024.480cfc7, committed Oct 24, 2026
Size
5,079 bytes
Repository stars
12
License
none declared

在任务完成、准备最终交付或用户要求收尾时,核实最终成果并自动清理本任务已无用途的临时文件及重复交付副本。默认只保留最终成果,不反复询问清理许可;保护用户文件、依赖、必要证据及回滚资料。适用于产生本地过程文件的任务收尾,不用于全盘清理或每次中途回复。.

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

# 完成任务时自动收尾

用户已确认默认策略:只保留最终成果,自动清理本任务产生且已无用途的过程文件和重复交付副本。此策略限定于当前任务自有资源;不扩大系统权限、不覆盖用户当次的保留要求。无须再次询问“要不要清理”。

## 先识别成果和归属

最终成果由用户目标决定:安装技能时是安装目录及必要文件;生成报告时报告就是成果;修复代码时源代码、必要测试和文档都是成果。用户要求下载包时,下载包也是成果。不要按扩展名、目录名、年龄、大小、Git 未跟踪状态或“可重新生成”判断垃圾。

根据本次会话的创建记录、明确的任务清单或已核实的交接信息确定归属。优先使用任务专属临时目录;长任务有跨阶段需要时才维护最小临时清单。不全盘扫描,不为清理再生成永久报告。创建记录不足的文件默认保留;路径位于 tmp 并不是归属证据。

## 判断完成与保留边界

目标已达成、必要验证已结束,且后续步骤不再需要这些资源时才收尾。中途回复、等待确认、部署未核验、故障未解决,都不等于任务完成。此时保留相关证据和现场,不以“最终回复”作为删除依据。

- 自动清理:已无用途的本任务探测脚本、测试目录、中间输出和过程日志。
- 自动清理:正式成果已落地且核实完整的制作副本、ZIP、重复截图和辅助验收材料;曾提供下载链接不是永久保留理由,但必须说明失效。
- 保留:用户要求的成果、明确要求留下的调试资料,以及成果运行、维护或验证所必需的文件。
- 保留:未解决问题的诊断证据、恢复现场所需文件和仍承担回滚用途的备份。即使本轮成功也不自动删除回滚保障。
- 不自动处理:原有或归属不明文件、其他任务资源、共享缓存和依赖。
- 默认范围之外:线上文件、外部服务资源、Git 历史、Codex 会话记录、工作树管理及进程终止。确需处理时沿用专门工具、对应规则与明确授权。

只有无法判断的对象影响收尾或需要用户权衡时,才集中问一次具体问题;其余确认无用的任务自有文件先处理。无回复不是同意。无关的原有文件直接保留,不为它们制造询问。

## 限定路径执行

1. 从已核实归属的资源生成具体清理清单;先确认正式成果存在、内容完整且适用验证已通过。复制/安装场景按需比较内容或哈希。
2. 检查保留的脚本、配置、文档、构建步骤和仍在运行的任务是否依赖候选资源。不得删除后留下一套无法运行的交付。若仅是必要依赖,保留它;在原任务授权内可合理修正路径时,先修正并验证,再删除旧资源。
3. 删除前检查目标及父路径的符号链接、目录实际内容。删除临时链接只移除链接本身,不遍历共享目标;发现父路径跳出已核实范围时先停止该项。递归删除目录前必须确认其中全部内容属于已允许清理范围;来源不明的新文件保留,缩小清理范围。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nangongwentian-fe/jay-skills/finish-cleanly@sha256:8bffffa1e8da50ef

The line at the top of this page pins the label git:20261024.480cfc7, 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_jr7ajvrqjbdxyrsi.svg)](https://markdownregistry.com/a/art_jr7ajvrqjbdxyrsi)

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

Versions

The registry has recorded 1 version of this file, committed on Oct 24, 2026.

versioncommittedcommitsizeaudit
git:20261024.480cfc7 latest2026-10-24 480cfc7 5,079 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 (5079 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_jr7ajvrqjbdxyrsi
GET https://markdownregistry.com/api/v1/resolve?ref=nangongwentian-fe/jay-skills/finish-cleanly
GET https://markdownregistry.com/api/v1/blob/8bffffa1e8da50ef8a0799912de4e2389917cc26351b595fdb5dc1c18a68ccfa

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
commit-before-deploy SKILL.md skill
nangongwentian-fe/jay-skills · skills/commit-before-deploy/SKILL.md · 部署 Git 项目前先验证、提交并推送本次发布代码,确认远端提交后才构建和发布。适用于 DEV、UAT、生产等代码部署任务;只编写技能、检查或制定计划不触发发布。
git:20261103.c1852b4 · 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
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.