dsh-pre-push-checks

Use before push, force-push, marking as "ready for review", or declaring checks passed, and immediately after gh stack sync publishes a rewritten branch, to select the minimal tests and checks covering the about-to-be-submitted or just-published diffs and avoid automatically running the repository's entire test suite.

Last repository push
GitHub Stars
284,964
Forks
35,425
Issues / PRs
0

Screenshots

A demonstration from skillπ Lab

Installation

Review the source and dependencies with a prompt.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dsh-pre-push-checks" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2a5bf9fa5f082d85f182c00b0886fca2732b292cb6a2e2235bcbaf9aefd88b5e. Verify the upstream source and version against https://github.com/deepseek-ai/deepseek-harness before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Download permission for this version is unverified or restricted.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use before push, force-push, marking as "ready for review", or declaring checks passed, and immediately after gh stack sync publishes a rewritten branch, to select the minimal tests and checks covering the about-to-be-submitted or just-published diffs and avoid automatically running the repository's entire test suite.

0 Downloads

Introduction source: third_party · deepseek-ai · 0.0.1 Reference

SkillPi interpretation

Tasks
Use before pushing, force-pushing, marking ready for review, or claiming checks pass on a deepseek-harness branch, and immediately after gh stack sync publishes rewritten branches, to select the smallest tests and checks that cover the outgoing or just-published diff without reflexively running the full repository suite.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

From the source

  • The LLM follows the document flow, first using `pnpm --silent run change-scope --base <verified-base-ref>` to check the outgoing change scope, then selecting minimal check commands based on change type (Vitest file/name filtering, `pnpm run typecheck`, `pnpm run doc-sync`, `pnpm run test:snapshot`, `pnpm run build`, `pnpm run test:e2e`), using `pnpm exec vitest run ... --coverage --coverage.include=...` to focus unit coverage on affected source files, using `--force-with-lease=<branch>:<oid>` to protect rewrites during push, re-checking change scope layer by layer after `gh stack sync` and running selected evidence, and finally verifying remote status with `gh pr checks` and `gh pr view --json mergeable,mergeStateStatus`
  • git status --short --branch
  • pnpm --silent run change-scope --base <verified-base-ref>
  • pnpm run test:snapshot snapshots/session/headless.snapshot.ts -t 'cordis-inspect-jsdoc'
  • pnpm exec vitest run packages/<group>/<package>/tests/<behavior>.spec.ts --coverage --coverage.include='packages/<group>/<package>/src/**/*.ts'
  • pnpm exec vitest related packages/<group>/<package>/src/<changed>.ts --run --coverage --coverage.include='packages/<group>/<package>/src/<changed>.ts'
  • git rev-parse HEAD origin/$(git branch --show-current)
  • gh pr checks

Browse files

A verified file list is not available on Skillπ yet.

Browse files at the source ↗

Original SKILL.md

Open original ↗

Skillπ does not display the original SKILL.md on this page. View the original source ↗ The source site governs the file contents, license, and use terms.

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供了针对 deepseek-harness 分支推送前检查的完整流程,帮助用户选择最小测试集覆盖变更,避免全量测试,提升开发效率。
  • 适用于推送、强制推送、标记审查、gh stack sync 后等多种场景,功能明确,实用性强。
Trigger Precision95/100

Highlights

  • description 清晰描述了使用场景,触发词完整,边界清晰,覆盖多种变体,用户能准确理解何时使用此 Skill。
Structure and Standards95/100

Highlights

  • 文档结构清晰,包含多个 Phase,步骤详细,有具体命令示例,frontmatter 完整,易于理解和执行。
Execution Reliability90/100

Highlights

  • 工具来源明确,参数正确,覆盖了主要异常情况,不可逆操作有确认机制,执行流程可靠。
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

No text check results available.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

The main document is unavailable or exceeds this check’s scope; permissions are unknown.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

risk · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.