wrap-git-commit-safe SKILL.md skillA
wrap-git-commit-safe from daishiman/harness-dev is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add daishiman/harness-dev/wrap-git-commit-safe@git:20260712.4cd8fafPins git:20260712.4cd8faf in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- daishiman/harness-dev
- Path
eval-log/task/08/claude-skills.before/wrap-git-commit-safe/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260712.4cd8faf, committed Jul 12, 2026
- Size
- 2,548 bytes
- Repository stars
- 10
- License
- none declared
git commit を安全側で実行したいとき、機密ファイルやhook無視を防ぎたいときに使う。.
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
# wrap-git-commit-safe ## Purpose & Output Contract base Skill (`run-build-skill`) の commit ステップを wrap し、機密ファイル混入・hook bypass・force-push を防止する。 **入力**: なし (base から呼ばれる) **出力**: 安全側で実行された `git commit` の結果、または BLOCK 理由 **完了条件**: commit 成功または BLOCK 理由が提示されている。 ## Key Rules 1. **base 継承**: `run-build-skill` の commit 手順を base とし、前後に安全チェックを追加。 2. **--no-verify 禁止**: hook bypass フラグを検出したら即停止。 3. **機密ファイル検出**: `.env`, `credentials.json`, `*.pem` を git add 対象に含めない。 4. **force-push 禁止**: main/master への `git push --force` は常に BLOCK。 ## Steps ### Step 1: 機密ファイル検出 (決定論スキャン) ```bash python3 creator-kit/skills/wrap-git-commit-safe/scripts/pre-commit-secret-scan.py \ --repo-root "$(git rev-parse --show-toplevel)" \ --commit-args "$@" ``` exit 2 で BLOCK。LLM の文字列マッチに依存しない決定論的検査。 ### Step 2: hook bypass 検出 ユーザー指示や script に `--no-verify` / `--no-gpg-sign` が含まれていないか確認。検出時は BLOCK。 ### Step 3: base の commit 実行 base (`run-build-skill`) の commit 手順を呼ぶ。 ## Gotchas - **wrap は base の代替ではない**: base を上書きせず、前後フックとして振る舞う。 - **L1 階層**: 共通 git 規約 (L0) に依存。プロジェクト固有規約 (L2) はさらに wrap する。 ## Additional Resources - base: `run-build-skill` …
Read the whole file at its exact version.
How to install
mdr add daishiman/harness-dev/wrap-git-commit-safe@sha256:91a0c3ae023ca8f0The line at the top of this page pins the label git:20260712.4cd8faf, 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.
[](https://markdownregistry.com/a/art_hv37dtnl3dkv7gfm)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jul 12, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2548 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
daishiman/harness-dev · 10 stars · license none declared · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hv37dtnl3dkv7gfm GET https://markdownregistry.com/api/v1/resolve?ref=daishiman/harness-dev/wrap-git-commit-safe GET https://markdownregistry.com/api/v1/blob/91a0c3ae023ca8f0b584686ebf8e67b004b679520f93f9ac2f5c32298c14e5d6
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 daishiman/harness-dev
Every file in daishiman/harness-dev