AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Atomic Commit

skill-d-oit-rust-2026-template-atomic-commit · by d-oit

>

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-d-oit-rust-2026-template-atomic-commit

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-d-oit-rust-2026-template-atomic-commit)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Atomic Commit? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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:

  1. PRE_COMMIT - Validation (quality gate, secrets scan)
  2. COMMIT - Atomic commit creation (conventional format)
  3. PRE_PUSH - Remote sync check
  4. PUSH - Upload to origin
  5. PR_CREATE - Open pull request (GitHub) or merge request (GitLab)
  6. VERIFY - Wait for CI checks
  7. 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 --check passes
  • cargo clippy --all-targets --all-features -- -D warnings passes
  • cargo nextest run --workspace passes
  • No unsafe blocks 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.