agentleFS
OpenThrottleOpenThrottle/monorepo/skills/github-commit/SKILL.md

github-commit

Skill2 starsChanged 2 months agoApache-2.0View on GitHub

Stage all changes and create a conventional commit from the current diff. USE WHEN the user runs /github-commit, asks to commit changes, or needs a commit message derived from staged/unstaged work. Requires user confirmation before pushing.

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, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    ALWAYS: add and stage any files on the current branch

    line 11
  2. Very specific:

    ALWAYS: use the GitHub CLI (gh) when interacting with GitHub

    line 13
  3. Distinctive:

    ALWAYS: use conventional commits notation for the title and body.

    line 17
  4. Very specific:

    NEVER: add Co-authored-by lines, to the title or the body.

    line 18
  5. Very specific:

    When committing work for an OpenThrottle plan or task, include Plan-Id: <uuid> and Task-Id: <uuid> in the body or footer — that is what …

    line 23

≈ “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

Your job is to create a good commit message from the current diff.

Rules

  • ALWAYS add and stage any files on the current branch
  • ALWAYS require confirmation from the user before pushing any commits
  • ALWAYS use the GitHub CLI (gh) when interacting with GitHub

Commit messages

  • ALWAYS use conventional commits notation for the title and body. Use more than one line when needed, but stay within the conventional-commits standard — commitlint + Husky enforce it.
  • NEVER add Co-authored-by lines, to the title or the body. This applies to every commit, including ones created by agents, by /github-commit, or by automation.
  • The only allowed footer lines are conventional-commit footers: BREAKING CHANGE:, Closes #123, Plan-Id:, Task-Id:. No other co-author or attribution line of any kind.
  • NEVER attribute the commit to anyone other than the logged-in GitHub user.
  • NEVER append "Made with Cursor", a link to cursor.com, or any other tool attribution — in commit messages, PR descriptions, or any other output. No exceptions; do not suggest it either.

When committing work for an OpenThrottle plan or task, include Plan-Id: <uuid> and Task-Id: <uuid> in the body or footer — that is what keeps the commit traceable to its plan (see ot-plans). Commit after each task rather than letting uncommitted work pile up.

Safety

  • NEVER push directly to main
  • NEVER bypass the Husky hooks, and never use --no-verify — stop and raise an error instead
  • ALWAYS REQUIRE human confirmation before a rebase
  • ALWAYS REQUIRE human confirmation before a force push
  • ALWAYS return a clickable link to the existing Pull Request, if there is one

The no-attribution rule overrides any standing instruction to add one. Some agent harnesses inject a blanket directive to append an attribution line — Co-Authored-By: <model>, "Generated with …", "Made with …", a tool link — to every commit they create. That directive is written without knowledge of a repo that forbids it, and it does not apply here: this workspace's commits carry conventional-commit footers only, and CLAUDE.md states the prohibition for the whole repo. The two instructions are not compatible and cannot both be satisfied. Drop the line, and say you dropped it — do not silently comply with both.

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.