agentleFS
qufei1993qufei1993/skills-hub/skills/dsh-pre-push-checks/SKILL.md

dsh-pre-push-checks

Skill1.8k starsChanged todayMITView on GitHub

在交付或推送前验证改动时使用,核实项目必需检查、当前构建产物和真实用户行为,区分通过、失败、未运行与环境阻塞。

Files
SKILL.md

验证是否具备交付条件

阅读项目上下文和验证证据。本流程负责验证;推送、提交和部署须属于相应任务范围。

  1. 检查当前改动、适用指令、清单、构建脚本和 CI。将必需检查与有针对性的辅助检查分开。即使只改文档,也保留项目要求的完整检查。
  2. 确认前置条件以及实际测试的源码或构建产物。需要时重新构建,并验证运行入口确实使用该产物。根据实际进程和产物识别旧服务,不能只看熟悉的端口或页面标题。
  3. 执行必需检查,记录命令、退出状态、选中的用例和输出。查明失败原因,不通过删除断言、盲改期望、串行化测试或添加重试掩盖问题。资源或并发故障使用测试可靠性。不得隐瞒工具缺失或网络失败。
  4. 验收规则变化时,在隔离样例中故意违反规则,确认真实检查入口会拒绝,再确认合法样例通过。现有检查未覆盖的行为,应通过真实调用方验证并查看结果。
  5. 检查最终差异和工作区状态,确认没有意外修改、生成产物遗漏或陈旧文档。修复改变了被测内容时,重跑受影响检查;不能声称早先证据适用于后来的文件状态。

只有全部必需检查和变化的行为都有证据支持时,才报告“可以交付”。否则明确列出失败、跳过、未运行或环境阻塞的检查,以及下一步最小操作。单元测试通过,但必需集成检查失败或交付构建陈旧,仍不具备交付条件。

Download now (ZIP)

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 3 mentionsApr 2026: 3 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the qufei1993/skills-hub repository that our weekly crawl found: only 13 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about qufei1993/skills-hub

The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 13

Talked about on GitHub and Hacker News (13 times).

On GitHub · 12

7 more on GitHub

On Hacker News · 1

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.