MANDATORY skill for ALL commits. An agent skill from ossappscollective/oss-weather.

MITAuto-check passedDevelopment

Install Commit

skills CLI
$ npx skills add ossappscollective/oss-weather --skill commit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ossappscollective/oss-weather commit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ossappscollective/oss-weather.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/commit .claude/skills/commit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
commit
GitHub stars
456
Token cost
~1.3k tokens
SKILL.md length
742 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

MANDATORY skill for ALL commits. An agent skill from ossappscollective/oss-weather.

  • Works in 6 steps: ALWAYS run git diff --staged first to… → ALWAYS analyze the staged changes… → ALWAYS split the code changes into… → …
  • Tasks that involve Commit messages
  • SKILL.md covers Mandatory Process, Confirmation Before Committing, Auto-Fixup Detection and Required Commit Message Format, plus 1 more section
  • Calls git, yarn and npx

What it does

Commit is an agent skill from ossappscollective/oss-weather. MANDATORY skill for ALL commits. Must be used EVERY TIME before creating any git commit. No exceptions.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Commit messages. It works with Svelte. The repository describes itself as: An OSS weather app for iOS/Android. The licence is MIT.

When your agent uses it

  • Tasks that involve Commit messages

Example prompts

  • “/commit”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. ALWAYS run git diff --staged first to see changes
  2. ALWAYS analyze the staged changes thoroughly
  3. ALWAYS split the code changes into atomic commits, one per coherent / cohesive change. Tests for a change should be in the same commit as…
  4. ALWAYS run the checks relevant to the change before committing (there are no test/lint/format scripts — invoke the binaries with npx; yarn…
  5. ALWAYS generate a commit message following the format below
  6. NEVER commit automatically as a side effect of making code changes. Only commit when the user explicitly invokes the commit skill or says…

What it can do on your machine

Read from SKILL.md and the folder at commit 42715ad. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • yarn
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, yarn and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Commit loads about 1.3k tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 742 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ossappscollective/oss-weather at commit 42715ad, republished under its MIT licence (© ossappscollective). 742 words, ~1,349 tokens.

Download SKILL.mdSave it as .claude/skills/commit/SKILL.md (or your agent's skills folder).
name
commit
description
MANDATORY skill for ALL commits. Must be used EVERY TIME before creating any git commit. No exceptions.

Generating Commit Messages

Mandatory Process

BEFORE ANY git commit COMMAND:

  1. ALWAYS run git diff --staged first to see changes
  2. ALWAYS analyze the staged changes thoroughly
  3. ALWAYS split the code changes into atomic commits, one per coherent / cohesive change. Tests for a change should be in the same commit as the change itself. A single feature spanning multiple files (module + view + test) is ONE cohesive change — do not split it by file. Only split when changes are truly unrelated (e.g. a bug fix + a new feature + a docs update)
  4. ALWAYS run the checks relevant to the change before committing (there are no test/lint/format scripts — invoke the binaries with npx; yarn vitest/yarn eslint/yarn prettier fail on Yarn 4):
    • Tests: npx vitest run <path> when a *.test.ts covers the change (isolate with a path or -t '<name>')
    • Types/Svelte: yarn svelte-check when .svelte/.ts typing is affected (this one is a real script)
    • Lint: npx eslint <changed files>
  5. ALWAYS generate a commit message following the format below
  6. NEVER commit automatically as a side effect of making code changes. Only commit when the user explicitly invokes the commit skill or says "commit".

Confirmation Before Committing

--auto (caller runs autonomously): skip all approval/confirmation waits here (commit-plan gate below + fixup/rebase) — commit directly. Diff review, atomic splitting, checks, message format unchanged.

User trust requires seeing the plan before execution. Always present the full commit plan and wait for explicit approval before running any git commit command.

For each commit (regular or fixup), present:

  • The commit message (header + body if applicable)
  • The list of files included
  • If splitting into multiple commits: the full split plan (which files go in which commit, in what order)
  • If fixup: which commit SHA it targets and why

Then ask the user to confirm. Do not proceed until they approve. If they request changes to the message or grouping, adjust and re-present.

This applies equally to regular commits, fixups, and any commits triggered during the open-pr workflow.

Auto-Fixup Detection

Before creating a new commit, check whether the staged changes should be fixup'd into a recent commit on the current branch.

Process:

  1. Run git log main..HEAD --oneline to list all commits on the branch since diverging from main
  2. For each staged file, check git log main..HEAD -- <file> to see if it was modified in a recent branch commit
  3. If a staged change clearly amends or extends code from a previous commit (same file, nearby lines, related logic — e.g. fixing a typo introduced in a prior commit, adding a missing import for a recently added module), suggest fixup'ing into that commit
  4. Present the suggestion: "This change to <file> looks like it should be fixup'd into <sha> <message>. Want me to fixup instead of creating a new commit?"

When fixup is confirmed:

  1. Run git commit --fixup=<sha> (with user confirmation)
  2. Then run GIT_SEQUENCE_EDITOR=true git rebase --interactive --autosquash main to squash immediately (with user confirmation before the rebase)

If the change doesn't clearly relate to a previous commit, proceed with a normal new commit.

Show full SKILL.md (236 more words)Show less

Required Commit Message Format

This repo uses Conventional Commits (enforced by the @commitlint/config-conventional config inline in package.json). The format is fixed:

<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>

The header is mandatory; scope, body, and footer are optional.

Header

Shape: <type>(<scope>): <subject>

  • <type> is one of: build ci docs feat fix fix-next perf refactor release style test
  • <scope> (optional) is the affected area — usually a feature under app/components/ or a service under app/services/ (e.g. ocr, pdf, camera, sync, settings, security, edit, pkpass). When a change is platform-specific, prefix the scope with the platform: android/sync, ios/camera
  • <subject>: imperative present tense ("change" not "changed"), lowercase first letter, no trailing period
  • No line may exceed 100 characters

Examples:

docs(README): add build setup steps for submodules
fix(ios/camera): correct preview orientation on rotation
Body

ONLY add a body when the header alone isn't enough for a reviewer:

  1. Use the imperative present tense, same as the subject
  2. Explain WHAT changed only if the commit touches more than 3 files
  3. Explain WHY — the motivation, contrasted with previous behavior
  4. Keep every line under 100 characters
  • Reference the issue this commit closes: Fixes #<issue> / Closes #<issue>
  • Breaking changes start with BREAKING CHANGE: followed by a description and migration path
Revert

A commit that reverts another begins with revert: followed by the reverted header. The body states This reverts commit <hash>.

Co-Authored-By

Only add a Co-Authored-By trailer when Claude actually wrote the code being committed. If the user wrote the changes themselves (and Claude is just committing), do not add it.

© ossappscollective, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/commit of ossappscollective/oss-weather.

Open the folder on GitHubat commit 42715ad

Compare with similar skills

Commit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Commit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit this skillossappscollective/oss-weather456—~1.3kAutomated safety check: PassMIT
Clipboard Devmuutot/Clipboard117—~3.5kAutomated safety check: PassAGPL-3.0
Contextual Commit Messagesyamadashy/repomix29k1 repos~2.7kAutomated safety check: PassMIT
React Router Release Notes Prepremix-run/react-router57k—~1.1kAutomated safety check: PassMIT
Caveman Commitvishiri/fantasia-archive40913 repos~642Automated safety check: PassGPL-3.0
PR Finalize Reviewmicrosoft/garnet12k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Clipboard Dev

    muutot/Clipboard

    Develop and maintain the Clipboard Desktop repository. An agent skill from muutot/Clipboard.

    117 GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Writes Conventional Commits whose bodies carry action lines recording the intent, decisions and constraints behind a change, not only what changed.

    29k GitHub starsUsed in 1 repo~2.7k tokens
    DevelopmentAuto-check passed
  • React Router Release Notes Prep

    remix-run/react-router

    Polishes pending React Router change files before the versioning scripts run, and decides whether a long-form What's Changed section is warranted.

    57k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Caveman Commit

    vishiri/fantasia-archive

    Ultra-compressed commit message generator. An agent skill from vishiri/fantasia-archive.

    409 GitHub starsUsed in 13 repos~642 tokens
    DevelopmentAuto-check passed
  • PR Finalize Review

    microsoft/garnet

    Official

    Checks that a pull request's title and description match its implementation and reviews the code for Garnet best practices, reporting findings without posting them.

    12k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Commits changes across ToolJet's root repo and its server/ee and frontend/ee submodules, writing messages from the diffs and updating submodule pointers in order.

    41k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from ossappscollective/oss-weather

All 8 skills in this repo
  • Open PR

    ossappscollective/oss-weather

    MANDATORY skill for ALL pull requests. An agent skill from ossappscollective/oss-weather.

    456 GitHub stars~918 tokensUpdated today
    Auto-check passed
  • Feat

    ossappscollective/oss-weather

    Build a feature end-to-end (GitHub issue or free-text → plan → implement → PR), OR plan one read-only with --investigate.

    456 GitHub stars~3.9k tokensUpdated today
    Auto-check: warnings
  • Fix

    ossappscollective/oss-weather

    Debug and fix any non-trivial issue end-to-end, OR triage a GitHub bug issue read-only.

    456 GitHub stars~4.2k tokensUpdated today
    Auto-check: warnings
  • Investigate Contract

    ossappscollective/oss-weather

    Read-only guarantee + interactive-vs-autonomous (--auto) behavior for investigate modes.

    456 GitHub stars~803 tokensUpdated today
    Auto-check passed
  • Understand Project

    ossappscollective/oss-weather

    Ground a feature or fix in existing code before planning or building — find a similar pattern, identify reusable assets, map the touch surface.

    456 GitHub stars~576 tokensUpdated today
    Auto-check passed
  • Branch Check

    ossappscollective/oss-weather

    Ensure you're on a correct working branch off up-to-date main before planning or editing — starting from a GitHub issue when one is in play.

    456 GitHub stars~356 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Commit

What does Commit do?

MANDATORY skill for ALL commits. An agent skill from ossappscollective/oss-weather. Commit is an agent skill from ossappscollective/oss-weather. MANDATORY skill for ALL commits.

When should I use Commit?

Commit fits situations like: tasks that involve Commit messages.

How do I install Commit in Claude Code?

Run `npx skills add ossappscollective/oss-weather --skill commit -a claude-code`. Or copy the skill folder (.claude/skills/commit in ossappscollective/oss-weather) into .claude/skills/commit in your project. Claude Code loads it when a task matches its description.

How do I install Commit in Codex?

Run `npx skills add ossappscollective/oss-weather --skill commit -a codex`. Or copy the skill folder (.claude/skills/commit in ossappscollective/oss-weather) into .agents/skills/commit in your project. Codex loads it when a task matches its description.

Can I use Commit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ossappscollective/oss-weather --skill commit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/commit, .gemini/skills/commit, .github/skills/commit and .opencode/skills/commit in your project.

What does Commit need to run?

Going by SKILL.md and its folder, Commit needs the command-line tools its instructions call (git, yarn and npx). Our summary lists: Node.js.

Does Commit access the network?

SKILL.md contains no URLs. Its commands use git and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Commit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Commit use?

Commit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Commit use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Commit?

Skills that share tags, products or a category with Commit: Clipboard Dev (muutot/Clipboard, 117 stars), Contextual Commit Messages (yamadashy/repomix, 29k stars), React Router Release Notes Prep (remix-run/react-router, 57k stars) and Caveman Commit (vishiri/fantasia-archive, 409 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit?

ossappscollective (a GitHub organization) maintains it in ossappscollective/oss-weather, which has 456 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.

Source: ossappscollective/oss-weather on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.