Skip to content
Skills Library
Programming · Automation

create-commit

/create-commit

Create one verified, task-scoped git commit (only task files, lint and tests first, never pushes). Use only when the user asks to commit or runs /create_commit.

Licence
MIT
Last repository change
08.11.2026

Assessment and security

96/ 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.
Content31 / 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
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.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

Create one verified, task-scoped git commit (only task files, lint and tests first, never pushes). Use only when the user asks to commit or runs /create_commit.

Original author description

Create one verified, task-scoped git commit (only task files, lint and tests first, never pushes). Use only when the user asks to commit or runs /create_commit.

How it works

SKILL.md has no level-two headings · 34 lines, 240 words

SKILL.md preview
---
name: create-commit
description: Create one verified, task-scoped git commit (only task files, lint and tests first, never pushes). Use only when the user asks to commit or runs /create_commit.
---

# Create Commit

Preconditions — stop if any fails:
- The user asked to commit. Never commit on your own.
- `git branch --show-current` is not empty (detached HEAD) and not `main`/`master`/`develop`, unless the user said to commit there.
- You read `git status --short`, `git diff` and `git diff --cached` first.

Steps:
1. Stage only the paths of the current task with `git add <path>...`. Never `git add -A` or `git add .`. If the set is unclear, or already-staged files are unrelated, ask.
2. `git diff --cached --check` — stop on whitespace or conflict markers.
3. Find the project's own lint and test commands (`package.json`, `Makefile`, `nx.json`, `pyproject.toml`, `Cargo.toml`, CI config). Run the ones affected by the change, after the last edit. Stop on non-zero exit.
4. Write the message using the `conventional-commit` skill, in this shape:

```text
<type>(<scope>): <description> [ABC-123]

Why:
<one reason>

Changes:
- <2–5 concrete outcomes from the staged diff>

Tests:
- <command> — <result>   (or "not run — <why>")
```

- Ticket: Jira-style key from the branch name (`feature/ABC-123-x` → `[ABC-123]`); omit if none.
- Body required for code changes; a trivial docs/format commit may skip it. Lines ≤ 100 chars.
- Pass subject and each section as separate `-m` arguments.

5. `git commit`. Never `--no-verify`. If a hook fails, fix and commit again — don't amend.
6. Report hash, subject, files and test results. Do not push, amend, rebase or open a PR.

Versions

RepositoryScoreLicence
This page · pawelbednarekpunks/aidevbird-skills96MIT
langri-sha/skills100MIT
meain/dotfiles100MIT

Database snapshot: 13.11.2026 · package version 0b09732b9b5d (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

  • 86git-commit
    起草、创建或汇报 Angular-style 本地 Git 提交。用于明确的提交交付;分支集成使用 worktree-rebase-merge,不 push。
  • 86commit
    Create a Git commit for the current task. Use when the user asks to commit changes.
  • 100git-commit
    Create commits with conventional messages and issue references. Use when user says "commit", "save changes", or "stage and commit". Local commits only — see git-push for remote.
  • 100commit
    Write a commit message and create a git commit. Use when the user wants to commit changes, asks for a commit message, or says "commit this" or "make a commit".
  • 100commit
    Create a git commit after completing a task. Use this skill after finishing a logical unit of work to commit changes with a detailed conventional commit message. Always confirms with user before applying the commit. Never pushes to remote. Triggers include: "commit this",…
  • 100git-commit-helper
    基于本次任务的变更执行 git add 与 git commit,产出"类型: 一句话简述"格式的简洁中文提交信息;多阶段任务拆分为多次提交。仅在用户明确下达提交指令时使用(如"提交"、"commit"、"把这些变更提交一下")——任何情况下都不得自动提交,未获明确指令时只汇报变更、不动 git。

Feedback and reports

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