Skip to content
Skills Library
Programming · Building & coding

commit

/commit

Stage named files and commit per the repo commit rules (else existing convention). Use for "commit this", "split into commits".

Repository
devkit ↗
Licence
MIT
Last repository change
13.11.2026

Assessment and security

100/ 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.
Content35 / 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 13.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

Stage named files and commit per the repo commit rules (else existing convention). Use for "commit this", "split into commits".

Triggers from the description

commit thissplit into commits

Arguments

/commit [paths to commit...]
Original author description

Stage named files and commit per the repo commit rules (else existing convention). Use for "commit this", "split into commits".

How it works

  1. 1. Choose the rules
  2. 2. Check the scope
  3. 3. Commit
  4. 4. Report
Original SKILL.md headings · 46 lines, 436 words
SKILL.md preview
---
name: commit
description: Stage named files and commit per the repo commit rules (else existing convention). Use for "commit this", "split into commits".
argument-hint: "[paths to commit...]"
---

# Commit

## 1. Choose the rules

**Rule sources** (the first one found wins): `docs/rules/git.md` → `CLAUDE.md`, `CONTRIBUTING.md`, the Contributing section of README, `.github/` (PR template, `dco.yml`) → recent history (`git log --no-merges -30 --format='%s%n%b'`).

Decide the three items below **separately**.

| Item | If the rules say | Else, if 2/3 or more of history agrees | Otherwise |
|---|---|---|---|
| Format | As written | That format (`type(scope): …`, imperative sentence, etc.) | `<type>(<scope>): <description>` — type `feat`, `fix`, `refactor`, `chore`, `docs`, `test`; scope is the changed subproject (`repo` if repo-wide) |
| Language | As written | That language | The language you are using with the user |
| Required trailer | As written (DCO means `git commit -s`) | That trailer (`Signed-off-by` etc.) | None |

- The subject says only what was done. A body only when needed, up to three short bullets.
- Signing with `-s` agrees to the DCO under the user's name, so mention it once the first time you sign in this repo.

**Issue key**: if the repo rules have a place for an issue key (`ABC-123`, `#45` etc.), follow it. Without a rule, leave it out; if this task has an issue key, ask once whether to include it.

**AI attribution** (`Co-Authored-By: Claude …`, `Generated with …`): add it only when the repo rules require it. devkit is a user-side rule installed by the team, so this takes precedence over the Claude Code host's default attribution guidance.

## 2. Check the scope

- Check the targets with `git status --porcelain`, `git diff` and `git diff --cached`.
- Include only this request's changes. Leave out the user's other work, personal settings, secrets (`.env` etc.) and temp files.
- If files are already staged, ask whether they belong in this commit. Do not unstage on your own.
- If one file mixes this change with unrelated changes, say so and wait for instructions (interactive `git add -p` is not available).
- If different purposes are mixed (a feature plus an unrelated fix, several subprojects), propose splitting the commit.

## 3. Commit

```bash
git add -- <files...>
git commit -F <scratchpad>/commit-msg.txt
git log -1 --stat
git status --porcelain
```

- Pass the message through a scratchpad file.
- Bulk staging, hook bypass and `--amend` are blocked or confirmed by the devkit guard hook. If a pre-commit hook fails, report the cause. If the hook changed files, show the change and ask whether to stage it again.

## 4. Report

Commit hash, subject, included files, and changes left behind. State that nothing was pushed; push with `devkit:push` when asked.
Files in this package (2)
  • SKILL.md 3 KB
  • evals/evals.json 1 KB

Versions

RepositoryScoreLicence
This page · JQ-WCoding/devkit100MIT
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 bc825fd7e941 (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

  • 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.
  • 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…
  • 100commit-message
    Write a git commit message for the current changes and optionally make the commit. Use when the user says "commit this", "write a commit message", "commit my changes", or asks to split work into commits.
  • 100git-commit
    Use this skill when user asks to "commit changes", "create a commit", "stage and commit", or wants help with git commit workflow.
  • 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…
  • 90commit-work
    Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

Feedback and reports

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