agentleFS
Jeff-TianJeff-Tian/agent-skills/gitmoji/SKILL.md

gitmoji

Skill1 starsChanged 7 months agoMITView on GitHub

Generate Conventional Commits messages with gitmoji emoji matching the git-auto-commit Homebrew tool. Use when the user asks for a gitmoji commit, emoji commit message, gitmoji 提交, or to auto-commit staged changes. Delegates to git-auto-commit when its latest version is installed, otherwise generates the message directly. Do not use for changelogs or release notes unrelated to a commit.

  • Installs packages

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run scripts/check-git-auto-commit.sh (from this skill's directory).

    line 14
  2. Distinctive:

    Do not block: continue generating the message as follows.

    line 23
  3. Very specific:

    Run scripts/collect-context.sh, passing --all, --type=, --scope=, --ticket=, and --no-ticket when the user supplied them.

    line 27
  4. Very specific:

    Read references/commit-conventions.md and write the commit message to that exact specification — including the gitmoji emoji prefix, …

    line 31
  5. Very specific:

    add --no-sign-off when the user passed it (default commit uses git commit -s, appending the DCO trailer)

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Gitmoji

Produce Conventional Commits messages prefixed with gitmoji emoji, identical to what the git-auto-commit tool generates. The tool always wins; the bundled fallback only runs when the latest tool is unavailable.

Procedure

  1. Run scripts/check-git-auto-commit.sh (from this skill's directory).
  2. Exit code 0 (latest installed): run git-auto-commit forwarding all of the user's original arguments, then stop. Do not generate anything yourself.
  3. Any non-zero result — use the fallback below:
    • outdated (exit 1): tell the user the installed vs latest version and suggest brew upgrade git-auto-commit.
    • missing (exit 2): mention install via brew install Jeff-Tian/homebrew-tools/git-auto-commit.
    • unknown (exit 3): say the installed version could not be determined. Do not block: continue generating the message as follows.

Fallback generation

  1. Run scripts/collect-context.sh, passing --all, --type=, --scope=, --ticket=, and --no-ticket when the user supplied them. It performs the git-repo and staged-change checks and prints hints, branch, detected ticket, recent subjects, diff stat, and diff.
  2. Read references/commit-conventions.md and write the commit message to that exact specification — including the gitmoji emoji prefix, scope/ticket rules, language matching, and self-checks.
  3. Deliver through scripts/commit.sh, passing the message on stdin:
    • --print — message only to stdout
    • --dry-run — show the proposal without committing
    • otherwise show the proposal and ask [Y/n/e(dit)], unless -y is given; a non-interactive shell without -y is an error
    • add --no-sign-off when the user passed it (default commit uses git commit -s, appending the DCO trailer)

Supported flags — identical to git-auto-commit

FlagMeaning
-a, --allstage tracked modifications before committing
-y, --yesskip confirmation
--dry-runprint proposal, do not commit
--printprint message only
--no-bodysubject only
--no-sign-offskip the DCO Signed-off-by trailer
--type=<t>hint the commit type
--scope=<s>hint extra scopes (comma-separated)
--ticket=<id>force a ticket id as first scope
--no-ticketdisable ticket auto-detection
--no-gitmojiomit the emoji prefix
--gitmojiexplicitly enable emoji prefix (default)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.