Skip to content
cccskills
FreePublished on GitHub

commit

Stage changes and create a commit with a conventional commit message.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Commit

  1. Assess: run git status and git diff to see changes.

  2. Stage: relevant files only. If $ARGUMENTS contains file paths, stage only those. If empty, stage all changed files or ask the user. Never stage sensitive files (.env, credentials) without confirmation.

  3. Message: analyze the staged diff. Write a conventional commit message:

    • Format: type(scope): subject — types: feat, fix, refactor, chore, docs, test, ci, perf

    • Breaking changes: append ! (e.g., fix!: remove deprecated endpoint)

    • Subject: under 72 chars, imperative mood. Must reference what changed specifically — generic subjects like "initial commit", "fix bug", "update code" are never acceptable.

    • Body: always use the reasoning framework with ## markdown headings. Required: Problem + Solution. Optional (include only when they add non-obvious context): Goal, Background, Alternatives.

      ## Problem
      <what was wrong or missing>
      
      ## Goal (optional)
      <what this change aims to achieve, if not obvious>
      
      ## Background (optional)
      <context needed to understand why, if non-obvious>
      
      ## Solution
      <what was done and why this approach>
      
      ## Alternatives considered (optional)
      <what else was evaluated and why not>
      
    • One logical change per commit. If you need "and" in the subject, split it.

  4. Commit: create a unique temp file with mktemp /tmp/commit-msg.XXXXXX.txt, write the message to it, and run git commit -F <temp-file> — do not add Co-Authored-By or other trailers.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

amend

Free

Amend the last commit with current changes and/or an updated message.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

cook

Free

Full autopilot — plan, implement, and polish a task end-to-end.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

diff

Free

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

fork

Free

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

plan

Free

Structured design intake for non-trivial tasks. Asks clarifying questions and produces a design proposal.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

See all skills by simonepri

Report a problem with this skill