dsh-pre-push-checks
Skill3 starsChanged 5 days agoMITView on GitHub
推送、标记可审查或报告检查结果前,以及已发布分支同步后核对变更及验证证据。
15 other projects use a version of this.
Adopted by
Most recently taken up by
- Hejunlong27/AIAuditOxtheir own version, first seen Nov 29, 2026
- VirtualHatch-Inc/Vardocktheir own version, first seen Nov 22, 2026
- qufei1993/skills-hubtheir own version, first seen Nov 1, 2026
- ZeroOnehub/aipm-workbenchtheir own version, first seen Nov 1, 2026
- See-Sol-Lab/DeepSeekGUItheir own version, first seen Oct 18, 2026
- Haifai-AI/baby-whaletheir own version, first seen Oct 13, 2026
Used with
Projects with it also use dsh-doc-site-sync and dsh-doc-standards.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
lucaslusSkilldsh-doc-site-sync
Use when publishing, updating, moving, or removing DeepSeek Harness documentation website pages; editing website/docs.ts mappings or navigation; diagnosing a page missing from the VitePress site; fixing projected documentation links; or running the docs:dev, docs:check, and doc-sync workflow after website-content changes.
Also in 5 projects that use this
lucaslusSkilldsh-doc-standards
Use when writing, moving, reviewing, or auditing documentation in the deepseek-harness repo — choosing hierarchy and detail, separating tutorials from references, checking tutorial progression, trimming doc slop, responding to a verify-doc-budgets failure, or requests like "improve the docs", "audit the docs", "where should this be documented", or "this doc is too long".
Also in 5 projects that use this
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- deepseek-ai/deepseek-harness★ 289ksame name
- qufei1993/skills-hub★ 1.9ksame name
- See-Sol-Lab/DeepSeekGUI★ 274same name
- SuperJJ007/papermachine★ 59same name
- pawaca/dsh-edge★ 30same name
- xinyuquan985-coder/deepseek-harness-neon★ 17same name
- Hejunlong27/AIAuditOx★ 6same name
- VirtualHatch-Inc/Vardock★ 4same name
- ZeroOnehub/aipm-workbench★ 2same name
- Haifai-AI/baby-whale★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-experienceSkill
- a-philosophy-of-software-designSkill
- architecture-governanceSkill
- clean-architectureSkill
- clean-codeSkill
- code-completeSkill
- cordis-styling-nitpickingSkill
- delete-commentSkill
- dep-refsSkill
- designing-data-intensive-applicationsSkill
- domain-driven-design-distilledSkill
- domain-driven-designSkill
- dsh-archive-agent-notesSkill
- dsh-ci-test-reliabilitySkill
- dsh-client-ui-uxSkill
- dsh-code-reviewSkill
- dsh-create-upgrade-guideSkill
- dsh-docSkill
- dsh-error-handlingSkill
- dsh-find-simplificationsSkill
- dsh-prose-standardSkill
- dsh-responsive-uiSkill
- dsh-speed-up-perfSkill
- dsh-translate-docsSkill
- dsh-trim-cot-leakageSkill
- e2e-case-lifecycleSkill
- feature-boundary-plannerSkill
- implementing-domain-driven-designSkill
- patterns-of-enterprise-application-architectureSkill
- record-browser-gifSkill
- refactoring-guruSkill
- refactoringSkill
- release-itSkill
- the-pragmatic-programmerSkill
- working-effectively-with-legacy-codeSkill
- super-arch-docSkill
- super-archifySkill
- super-asd-ste100Skill
- super-ask-azhouSkill
- super-azhou-doctorSkill
- super-azhou-infoSkill
- super-azhou-setupSkill
- super-azhou-verifySkill
- super-brainstormingSkill
- super-diagram-designSkill
- super-eli5Skill
- super-excalidraw-diagramSkill
- super-frontend-designSkill
- super-gh-axiSkill
- super-grill-meSkill
- super-i-have-adhdSkill
- super-imagegenSkill
- super-lavishSkill
- super-rederiveSkill
- super-repo-pedantSkill
- super-session-insightsSkill
The file
Files
dsh-pre-push-checks
本 Skill 仅用于当前项目。用户授权、项目 AGENTS.md 和实际宿主能力优先。
锁定待交付变化
核对 checkout、branch、当前远端 PR base/stack parent 和精确 head。依 Foundation scope 运行真实 scope 命令,区分提交、暂存、未暂存和未忽略新文件;完整重查结果,并发变化不能排除就暂停依赖它。忽略的本地 Skill 需另用文件清单/指纹绑定,不能声称 Git scope 已包含它。
改变 base、合并或同步后重新分析实际消费者及已失效证据。保留准确命令、所选测试数量、版本、环境、结果和没有运行的部分。
选择检查
本项目交付前必须运行 python3 scripts/verify.py,不能照搬 DSH“无统一本地基线”的规则。按 AGENTS.md 加上受影响包的专门门禁;额外检查只覆盖实际风险:
| 变化 | 需要的证据 |
| 行为/脚本 | 能在该回归下失败的 owner 测试;共享合同补直接消费者 |
| 异步/资源/CI 拓扑 | 原子分配、全局恢复、确定性负对照、静止清理;必要时独立进程并发 |
| 文档/Skill/生成目录 | 实际格式/链接、双语、owner 与生成新鲜度、适用 validator |
| UI | 实际页面的受影响主题、窄宽、内容/交互状态;自动测试不代替视觉检查 |
| 模型/CLI/编辑器可见输出 | owner 的真实可运行例子或快照,不仅检查字符串存在 |
| manifest/exports/bin/worker/安装 | 相应构建及真实构建产物/安装入口 smoke;区分 build 与全仓类型检查 |
| 真实 provider 行为 | 获授权且环境具备时跑实际场景;不暴露凭据,替身单列 |
官网、Skill 或 CLI 的用户可见功能、文案或交互有变化时,按上线前体验复核走实际入口,并将证据记入 PR 或发布记录。
先看实际脚本与帮助确认参数传递,核对 runner 真正选择了哪些测试。测试选择与覆盖源码选择不同;不能用 zero tests、缩窄 affected source 或放宽阈值伪造通过。依赖图无法发现配置加载、子进程、生成物和外部入口时显式选择其用例。不复制 DSH 专用快照目录、命令或 hook 假设。
已通过的证据只因代码/环境变化、失败或实质新风险重跑,不因随后 commit/push 机械重复。pre-commit fixer 修改了文件则检查新 bytes 并补受影响验证。
发布与历史
本 Skill 负责证据,不自动授权 push、改写历史或 merge。普通授权推送前先通过所需检查;失败先修复或具名报告,不绕 hook 赌 CI。环境失败需给准确特征与平台证据,不以本地猜测归因。
获授权改写非默认分支前读当前远端 OID,用 exact --force-with-lease=<branch>:<observed-oid>,禁止裸 force 和重写公开默认分支。若现有 stack 工具在同步时会重写并发布,事前记录干净状态、顺序、heads,之后立即重查每层 base/head 并验证;失败保留现场、修复再发布,验证前不 merge。
推送后核对远端实际 OID、CI、未解决 review、批准与 mergeability。没有 checks 不等于通过:先区分冲突阻止 PR workflow、触发条件、跳过和真实基础设施故障,不用空提交或 draft/ready 往返伪造事件。旧 head 的批准/评论位置不是新 head 的证据。合并遵守项目 squash-only、required checks 和全部讨论解决规则。
来源、适配边界和许可证见 provenance.md。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

