git-delivery-verification
Verify scoped Git commits and remote pushes on Windows.
- License 许可
- MIT
- 所属仓库
- zapabob/Skills
- 最近更新
- 2026-10-26
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- git-delivery-verification
- author
- Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "git", "github", "commit", "push", "verification", "windows" ], "related_skills": [ "github-pr-workflow", "github-operations", "verification-gated-github-delivery" ] } }
- platforms
- [ "windows", "linux", "macos" ]
- description
- Verify scoped Git commits and remote pushes on Windows.
02 资源文件 1
- 参考文档index.json659 B
03 SKILL.md 正文
Git Delivery Verification Skill
Use this skill when the user asks to commit and push a completed change, especially from a Windows checkout with unrelated working-tree files or multiple modules.
When to Use
- The user asks to commit and push changes.
- A repository has unrelated untracked files that must not be included.
- The checkout has
origin/upstreamremotes or a non-default branch. - Local tests need to run per module rather than from the repository root.
Prerequisites
- Confirm the repository root, branch, status, recent HEAD, and
originURL. - Confirm GitHub authentication without printing credentials.
- Identify the exact files in scope; never infer that every working-tree change belongs to the request.
Procedure
- Inspect current state with
git status --short --branch,git branch --show-current,git log -5 --oneline, andgit remote -v. - Inspect and validate the diff with
git diff --check,git diff --stat, and a targeted diff. Scan for credential-shaped values; classify ordinary words such assecretaryortokenin documentation before treating them as secrets. - Choose the branch safely. If the user says only “commit and push” without naming
main/master, create a short-lived feature branch. Push the default branch only when explicitly requested. - Stage explicitly. Use
git addwith the named files. Do not usegit add .when unrelated untracked scripts or generated files exist. Inspectgit diff --cached --name-status,--stat, and--check. - Run verification before commit. For a Go repository with a root
go.work, rungo test ./...,go vet ./..., and builds separately inside each module; a root-levelgo test ./...may be invalid even when modules pass. - Commit conventionally with a message explaining the change, then inspect
git show --stat --name-status HEAD. - Push and verify. Run
git push -u origin <feature-branch>, then comparegit rev-parse HEADwithgit ls-remote origin refs/heads/<feature-branch>. Confirmgit status --short --branchshows the branch tracking its remote. - Report scope honestly. Include commit SHA, branch, remote verification, tests, PR URL if emitted by GitHub, and any intentionally excluded/untracked files. Do not claim a PR was created unless a PR handle/URL was actually returned.
Windows Notes
- Use POSIX syntax in Hermes
terminal, but pass native Windows paths to native tools. - Use
py -3rather than a Python Store stub. - Do not expose tokens from
gh auth status; it may print masked token metadata. - Preserve unrelated working-tree files and do not clean them up unless explicitly requested.
Verification Checklist
- [ ] Correct repository and remote confirmed.
- [ ] Intended files only are staged.
- [ ] Tests/build/vet pass at the correct module scope.
- [ ] Commit SHA is recorded.
- [ ] Remote branch SHA matches local HEAD.
- [ ] Branch tracking and remaining untracked files are reported.
Related Skills
github-pr-workflow and github-operations cover the broader GitHub lifecycle; use this skill for scoped delivery and post-push evidence.
04 同仓库更多 Skills
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
writing-plans
Write implementation plans: bite-sized tasks, paths, code.
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
weights-and-biases
W&B: log ML experiments, sweeps, model registry, dashboards.
watchers
Poll RSS, JSON APIs, and GitHub with watermark dedup.
serving-llms-vllm
vLLM: high-throughput LLM serving, OpenAI API, quantization.