Skip to content
Skills Library
Programming · Building & coding

commit

/commit

Explicitly run the repository commit workflow: build, run tests, stage the change and read it, write a conventional commit message, then commit and stop. Nothing is pushed. Use only when the user clearly wants the work committed without a push. Do not trigger implicitly for ordinary coding or review tasks.

Licence
MIT
Last repository change
04.11.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Explicitly run the repository commit workflow: build, run tests, stage the change and read it, write a conventional commit message, then commit and stop. Nothing is pushed. Use only when the user clearly wants the work committed without a push. Do not trigger implicitly for ordinary coding or review tasks.

Original author description

Explicitly run the repository commit workflow: build, run tests, stage the change and read it, write a conventional commit message, then commit and stop. Nothing is pushed. Use only when the user clearly wants the work committed without a push. Do not trigger implicitly for ordinary coding or review tasks.

How it works

  1. Procedure
  2. Output
Original SKILL.md headings · 59 lines, 366 words
SKILL.md preview
---
name: commit
description: >-
  Explicitly run the repository commit workflow: build, run tests, stage the
  change and read it, write a conventional commit message, then commit and
  stop. Nothing is pushed. Use only when the user clearly wants the work
  committed without a push. Do not trigger implicitly for ordinary coding or
  review tasks.
---

# Commit Workflow

Execute this workflow only after the user explicitly asks for it. It commits the current work and pushes nothing. It never checks out, merges or pushes any branch.

## Procedure

### Step 0: Build

Run `npm run build`. A `workstation:` failure is fixed on the machine by the remedy it names, then the build runs again (`AGENTS.md`, hard prohibitions). If the build fails otherwise, stop and report the failure.

### Step 1: Run tests

Run `npm test`. If tests fail, rerun each failed test in isolation. Stop only if an isolated rerun still fails.

### Step 2: Stage and read the change

```sh
git status --short --untracked-files=all
```

Only an empty status means `Nothing to commit`; then stop.

The commit takes every change the status lists, unless the user named a narrower scope. Stage the full scope with `git add .`, or only the named paths with `git add -- <path>...`. Then check what is staged, before anything prints its content:

```sh
git diff --staged --name-status
npm run --silent secrets:staged
```

The scan names a path and the kind of finding, never the value. If it refuses, stop and ask, leaving the index as it is, and do not open the paths it named. Once it passes, read the content:

```sh
git diff --staged
```

Stop and ask, leaving the index as it is, when:

- the staged names include a path outside the scope, or miss one inside it;
- the staged content carries what looks like a credential the scan missed: a token, key, password, cookie or session identifier.

Do not unstage, edit or delete files, and do not change ignore rules, to make either condition pass: what belongs in the commit is the user's call.

### Step 3: Write the message

Use a conventional commit message: `<type>(<scope>): <subject>`, with `feat`, `fix`, `docs`, `refactor`, `test`, `build` or `chore`. The subject says what changed for a user or a maintainer, not which files moved.

### Step 4: Commit

```sh
git commit -m "<message>"
```

If a hook refuses the commit, stop and report what it said. Never pass `--no-verify`.

## Output

Report the final commit message and the final `git status --short`.
Files in this package (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Versions

RepositoryScoreLicence
This page · yesgenius/agent-harness95MIT
rmsaitam/skill-git-conventions100MIT
opsmill/infrahub100Apache-2.0
kdlbs/kandev100AGPL-3.0
vinta/hal-9000100MIT
restarter/lets-workflow100MIT
mickeyyaya/evolve-loop100Apache-2.0
friendlyinternet/nuxt-crouton100MIT
yonatangross/orchestkit100MIT

Database snapshot: 13.11.2026 · package version 61027e5761d3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95push
    Explicitly run the repository push workflow on the development branch only: build, run tests, stage and read the change, write a conventional commit message, commit, then push the development branch. Use only when the user clearly wants the commit-and-push workflow. Do not…
  • 91commit-push
    Commit with a Conventional Commits subject, then push. Use for /commit-push, "commit and push", "commit this and push". Must push. Never force-push.
  • 100conventional-commits
    Use when the user asks to commit, create a commit, write a commit message, or runs /commit or /conventional-commits in any git repository - commit, commitar, mensagem de commit, conventional commits.
  • 100workflow-git-commit
    Create one conventional commit from an already-scoped change: stage the named files or hunks, write the message, commit, never push. Use when "commit these files" or "write a commit message". Whole tree to a PR → workflow-release-prep.
  • 90dev-commit
    AI DevKit · Safe git commit workflow for AI coding agents. Use when the user asks to commit, prepare a commit, stage changes, create a PR-ready checkpoint, or finish work with a conventional commit while avoiding unrelated user changes.
  • 100git-commit
    Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.