Install
$ agentstack add skill-bitwise-media-group-skills-workflow-commit ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Commit changes with a signing handoff
Sandboxed agents cannot reach the signing key (YubiKey, GPG agent, OS keychain), so a commit made inside the sandbox either fails to sign or lands unsigned. This skill keeps history clean by handing the real commit off to the user through a commit.sh script they run outside the sandbox. Which path you take depends on whether you are in a git worktree.
1. Detect: worktree or main checkout
git rev-parse --is-inside-work-tree >/dev/null || exit 1 # bail if not in a repo
[ "$(git rev-parse --git-dir)" = "$(git rev-parse --git-common-dir)" ] && echo main || echo worktree
When --git-dir and --git-common-dir differ you are in a linked worktree (agents commonly run on an agent/ branch); when they are equal you are in the main checkout. The two cases take different paths in step 3.
2. Write Conventional Commit messages
Group the working-tree changes into one or more logical commits, each with a Conventional Commit subject:
type(scope): summary
type is one of feat, fix, docs, chore, refactor, test, ci, build, perf, style. Signal a breaking change with ! after the type (feat!:) or a BREAKING CHANGE: footer. Keep one cohesive concern per commit and the subject in the imperative mood.
3a. Inside a worktree — commit, then re-sign
Commit normally at sensible stopping points; these land unsigned on the worktree branch. Then write a commit.sh at the worktree root whose only job is to re-sign the range you authored this session using the user's signing setup:
- Pick `
as the parent of your first commit this session —HEAD~` for a known count, or
$(git merge-base HEAD ) when the count is dynamic.
- The script re-signs every commit in
..HEAD, for example by rebasing the range and amending
each commit with the repository's configured signing command.
See [reference.md](reference.md) for a complete worktree commit.sh.
3b. Main checkout — do not commit, generate commit.sh
Do not run git commit. Instead write a commit.sh at the repo root containing the exact git add and git commit invocations you would have run — one git commit per logical commit, with the real messages and any trailers — for the user to run outside the sandbox where signing works.
See [reference.md](reference.md) for a complete main-checkout commit.sh.
4. The commit.sh contract (both paths)
Every commit.sh you write:
- starts with
#!/usr/bin/env shfollowed byset -eu; - overwrites any prior
commit.sh— the file is the current batch, not history; - is created executable (
chmod +x commit.sh) so the user runs it as./commit.sh; - ends with
rm -- "$0"so it deletes itself after a successful run. Underset -eua failed
git commit or re-sign aborts before the rm, leaving the script in place to fix and rerun.
Never add entries to the repository .gitignore while committing — ignore rules belong in the user's global ignore file, not the repo. When the script is written, tell the user it is ready and that they should run ./commit.sh outside the sandbox.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: bitwise-media-group
- Source: bitwise-media-group/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.