Skip to content
Back to skills

Adt Commit

ASecurity

Draft a Conventional Commits message, confirm it, and commit on a valid feature branch. Push or a pull request only when the same operator request already includes them. Git-only. Use when committing changes or invoking /adt-commit.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentsrailsgitdocumentation

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add tibursocampos/agent-dev-toolkit --skill adt-commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adt Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Adt Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tibursocampos-adt-commit/badge)](https://www.skillsdirectory.com/skills/tibursocampos-adt-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: adt-commit
description: Draft a Conventional Commits message, confirm it, and commit on a valid feature branch. Push or a pull request only when the same operator request already includes them. Git-only. Use when committing changes or invoking /adt-commit.
---

## STOP - Read before ANY tool call

Read `_shared/skill-boilerplate.md` first. It holds the guardrails read, the session gate rule, the user `sim` rule, the one-step rule, the gate check, and the user chat language rule. The steps below are skill-specific only.

---

# Skill: adt-commit

## Trigger
**Negative signal:** applies as defined in `_shared/skill-boilerplate.md`; the skill-specific signals are listed below.

Invoke when the user asks for: `/adt-commit`, `commit changes`.

## Outcome

One or more **Conventional Commits** on `feature/<slug>` or `feat/<id>-<slug>`. Ask confirmation of the commit message and create the commit only after that confirmation. Do not ask about memory bank, do not start a memory-bank refresh, and do not hand off documentation. Push or a pull request runs only when the same operator request already includes that action.

## Lazy-load (only when needed)

| When | Path (after syncing the active adapter) |
|------|----------------------------------------|
| Branch rules | `{{TOOLKIT_ROOT}}/rules/branch-validation.mdc` |
| Commit format | `{{TOOLKIT_ROOT}}/rules/conventional-commits.mdc` |
| Detailed Git flow | `{{TOOLKIT_ROOT}}/skills/_shared/developer-common/step-4-commits-pr.md` |
| Pre-commit checks | `{{TOOLKIT_ROOT}}/skills/_shared/developer-common/step-3.5-precommit-validation.md` |
| Message validator (commit-message-validator step) | `{{TOOLKIT_ROOT}}/skills/_shared/format-validators/adt-commit-message-validator.md` |
| Reference index (routing only) | `{{TOOLKIT_ROOT}}/skills/adt-commit/reference.md` |
| Process step detail (lazy) | `{{TOOLKIT_ROOT}}/skills/adt-commit/references/<section>.md` |

**Never by default:** do not preload all `references/*.md` or CAVEMAN.md. Load **one** section per Process step (`SKILL-REFERENCE-RETRIEVAL.md`).

## Reference routing

| Situation | Path |
|-----------|------|
| Validate branch / workspace | `references/validate-branch.md` |
| Inspect changes / pre-commit | `references/inspect-changes.md` |
| Draft message | `references/draft-message.md` |
| Commit and push | `references/adt-commit-and-push.md` |
| Must not (full) | `references/must-not.md` |
## Process

Read `references/<section>.md` for procedural detail — **not** full `reference.md`.

### 0–1. Workspace and validate branch
Follow `references/validate-branch.md` (Caveman **NEVER**; branch blocker before any `git add`/`adt-commit`/`adt-push`).

### 1.5 No lateral skills

Do not ask about memory bank. Do not start a memory-bank refresh (`/adt-memory-bank` or `refresh-light`). Do not hand off documentation (`/adt-document-plan`, `/adt-document-implement`). Presence of `memory-bank/` or project docs does not add a question.

Do not hand off `/adt-push` or a pull request unless the same operator request already includes push or a pull request. When it does, follow `references/adt-commit-and-push.md` for that included action only. Do not ask a follow-up that starts another skill.

Caveman stays off for this skill. Do not load `CAVEMAN.md`. `references/validate-branch.md` § Caveman Mode stays **NEVER**.

### 2–3. Inspect changes and pre-commit
Follow `references/inspect-changes.md`.

### 4. Draft commit message
Follow `references/draft-message.md`. Present the message and **wait for a `confirm` answer** before committing (ids and render rule: `core/skills/_shared/agents/QUESTIONS.md`). That gate has no written deadline: follow `core/policy/guardrails.md` § Open questions without a written deadline. Use the host interactive question when the host offers one; otherwise ask in text in the user's chat language. Send no further message until the operator answers. Silence, timeout, end of turn, a lone emoji, or an ambiguous or unrelated reply is not approval; a clear affirmative reply in any language is. After the answer, resume `/adt-commit` until the commit finishes or this skill declares a blocker with the cause.

### 5–7. Commit, then stop
Follow `references/adt-commit-and-push.md`. Create the commit only after the operator confirms the message. Post-commit `Co-authored-by` strip stays mandatory. Push and a pull-request handoff run only when the same operator request already includes them.
## Must not

Enforce the full list in `references/must-not.md`. Critical always-on: no commit on blocked branches; no memory-bank or documentation ask; no `/adt-push` or pull-request handoff unless the same operator request already includes that action; no pull request created from this skill; no commit before message confirmation; Caveman stays off; never leave `Co-authored-by:` in `git log -1`.
## Handoff

| Situation | Next |
|-----------|------|
| Message confirmed and commit created | Stop. Do not start memory bank, documentation, `/adt-push`, or a pull request. |
| Same operator request already includes push | Push from `references/adt-commit-and-push.md`, then stop. Do not start `/adt-push` and do not offer a pull request. |
| Same operator request already includes a pull request | After the commit (and after push only if that same request also includes push), hand off to `/adt-open-github-pr`. Do not create the pull request inside `/adt-commit`. |

Files in this skill

  • SKILL.md5.3 KB
  • reference.md593 B
  • references/commit-and-push.md3.1 KB
  • references/draft-message.md1.2 KB
  • references/inspect-changes.md904 B
  • references/must-not.md1.3 KB
  • references/validate-branch.md702 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.