Install
$ agentstack add skill-d-oit-rust-2026-template-atomic-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
Atomic Commit Skill
When to Use
- User asks for this skill's functionality
Atomic workflow: validate → commit → push → PR/MR → verify. All changes committed as single unit with zero warnings policy.
Overview
Orchestrates complete code submission as state machine with 7 phases:
- PRE_COMMIT - Validation (quality gate, secrets scan)
- COMMIT - Atomic commit creation (conventional format)
- PRE_PUSH - Remote sync check
- PUSH - Upload to origin
- PR_CREATE - Open pull request (GitHub) or merge request (GitLab)
- VERIFY - Wait for CI checks
- REPORT - Success summary
Zero warnings policy: Any warning fails the workflow and triggers rollback.
Platform Detection
Auto-detect from git remote:
REMOTE=$(git remote get-url origin)
if echo "$REMOTE" | grep -qi "github"; then
PLATFORM="github"; CLI="gh"
elif echo "$REMOTE" | grep -qi "gitlab"; then
PLATFORM="gitlab"; CLI="glab"
fi
CLI Command Mapping
| Action | GitHub (gh) | GitLab (glab) | |--------|---------------|-----------------| | Create PR/MR | gh pr create --title "..." | glab mr create --title "..." | | Check CI | gh pr checks | glab ci status | | Merge | gh pr merge 123 --squash | glab mr merge 123 --squash |
Arguments
| Argument | Description | Default | |----------|-------------|---------| | --message, -m | Commit message (auto-detect if omitted) | auto | | --platform github\|gitlab | Force platform | auto-detect | | --dry-run | Validate only, no commits/pushes | false | | --skip-ci | Skip CI verification | false | | --timeout | CI wait timeout in seconds | 1800 | | --base-branch | Target branch for PR/MR | main |
State Machine
[Start] → PRE_COMMIT → COMMIT → PRE_PUSH → PUSH → PR_CREATE → VERIFY → REPORT → [Success]
↓ ↓ ↓ ↓ ↓ ↓
[Fail] Rollback Rollback Rollback Rollback Rollback
Quality Gates
| Phase | Check | Failure Action | |-------|-------|----------------| | PRECOMMIT | ./scripts/quality-gates.sh zero warnings | Abort | | PRECOMMIT | No secrets in diff | Abort | | COMMIT | Valid conventional format | Rollback | | PREPUSH | Remote accessible | Rollback | | PUSH | SHA verification | Rollback | | PRCREATE | gh/glab CLI authenticated | Rollback | | VERIFY | All CI checks green | Rollback |
Rust-Specific Checks
Before committing, verify:
cargo fmt --checkpassescargo clippy --all-targets --all-features -- -D warningspassescargo nextest run --workspacepasses- No
unsafeblocks without// SAFETY:comments
Commit Format
type(scope): Brief description (50 chars max)
- Why (not what) - user perspective
- Reference issues: Fixes #123
Types: feat, fix, docs, style, refactor, perf, test, ci, chore
Rationalizations
| Rationalization | Reality | |-----------------|---------| | "I'll skip the quality gate, it's just a small change" | Small changes cause the majority of production incidents. | | "Rollback is too complicated, I'll just fix forward" | Fix-forward creates tangled history and makes it harder to isolate what broke. | | "I don't need to verify CI, the changes are cosmetic" | Cosmetic changes can still break builds, linters, or type checks. |
Red Flags
- [ ] Bypassing the quality gate for "trivial" changes
- [ ] Committing without running validation checks
- [ ] Disabling rollback on failure
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: d-oit
- Source: d-oit/rust-2026-template
- License: MIT
- Homepage: https://d-oit.github.io/rust-2026-template/
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.