Skip to content
Skillpedia
General coding8.2k · #12545

create-commit

What it does

This skill helps your AI save finished work to Git as a clean, small commit. It is for developers who want careful commits that include only the intended files.

When to use it

  • ✓When you ask your AI to commit work that is finished.
  • ✓When the working folder has many changes and you want only some of them committed.
  • ✓When you want a commit message that follows the Conventional Commits style.

Skill link

https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Commit only the chapter I finished today with a clear message, and do not push it.”

5 new skills a week. 1 minute to read.

How it works

The skill checks the changes and recent messages, selects the smallest sensible set of files, runs relevant checks and creates the commit. It does not push, amend or change branches unless you ask.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Create Commit

Create small, reviewable commits that follow this repository's contribution rules. Do not push, amend, rebase, reset, or change branches unless the user explicitly asks.

Workflow

  1. Inspect git status --short, the staged and unstaged diffs, and recent commit messages.

  2. Determine the smallest coherent commit. Preserve unrelated user changes; never use git add -A or git add ..

  3. If the intended files or scope are unclear, ask the user before staging or committing.

  4. Stage only the chosen paths with git add <path>....

  5. Select a Conventional Commit message. Prefer a scoped type when useful:

    docs(scope): describe documentation change
    feat(scope): describe user-facing addition
    fix(scope): describe corrected behavior
    test(scope): describe test change
    chore(scope): describe maintenance work
    ci: describe workflow change
    

    Use a concise, lowercase imperative subject with no final period. Reuse an explicit user-provided message if it is suitable.

  6. Run the relevant validation commands from CONTRIBUTING.md when they are practical for the changed files. Report any pre-existing or environment-related failure; do not conceal it by weakening checks.

  7. Review the staged diff one final time, then create the commit with git commit -m "<message>".

  8. Confirm success with git status --short and git log -1 --oneline.

Safety rules

  • Do not commit secrets, generated output, local configuration, or unrelated files.
  • Do not modify existing commits, force-push, or push any branch as part of this skill.
  • Do not bypass hooks with --no-verify unless the user explicitly authorizes it after the failure is explained.
  • If validation fails because of the proposed change, fix it before committing when the user asked for a finished commit. If it is unrelated, report it clearly.
FAQ

Will it push my commit to the server?

No. The skill does not push unless you explicitly ask.

Can it commit everything at once?

No. The skill avoids adding all files blindly and stages only the intended paths.

Does it write the message for me?

Yes. It proposes a Conventional Commit style message, or reuses one you provide.

Details

Original description by the author

Create a safe, focused Git commit for this repository. Use when the user asks to commit completed work, prepare a commit, or choose a Conventional Commit message. Inspect the working tree, stage only intended files, validate relevant changes, and create the commit without pushing.

repo: DevCaress/guia-entrevistas-de-programacion

Popularity

GitHub stars
8.2k
Ranking position
#12545
License
MIT
Updated
8/8/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills