Agent skill

Commit A Change

by compartmentdev in compartmentdev/compartment

Prepare a compartment repo commit that matches commitlint type and scope rules and runs through Husky validation.

Apache-2.0Auto-check passedBackend & APIs

Install Commit A Change

skills CLI
$ npx skills add compartmentdev/compartment --skill commit-a-change -a claude-code

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

GitHub CLI
$ gh skill install compartmentdev/compartment commit-a-change --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/compartmentdev/compartment.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/commit-a-change .claude/skills/commit-a-change && 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-a-change
GitHub stars
205
Token cost
~268 tokens
SKILL.md length
130 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Prepare a compartment repo commit that matches commitlint type and scope rules and runs through Husky validation.

  • Backend & APIs work in your project
  • SKILL.md covers Source of truth and Rules
  • Calls pnpm and git

What it does

Commit A Change is an agent skill from compartmentdev/compartment. Prepare a compartment repo commit that matches commitlint type and scope rules and runs through Husky validation.

Its SKILL.md is about 270 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 Backend & APIs. It works with pnpm. The repository describes itself as: Compartment is a self-hosted deployment system for small software on infrastructure your team controls. The licence is Apache-2.0.

When your agent uses it

  • Backend & APIs work in your project

Example prompts

  • “/commit-a-change”

What it can do on your machine

Read from SKILL.md and the folder at commit 15373e7. 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:

    • pnpm
    • git

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm and git, 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 A Change loads about 268 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 130 words of instructions outside code blocks.

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

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 compartmentdev/compartment at commit 15373e7, republished under its Apache-2.0 licence (© compartmentdev). 130 words, ~268 tokens.

Download SKILL.mdSave it as .claude/skills/commit-a-change/SKILL.md (or your agent's skills folder).
name
commit-a-change
description
Prepare a compartment repo commit that matches commitlint type and scope rules and runs through Husky validation.

Commit a Change

Use this skill when the user asks to commit work in the compartment repo.

Source of truth

  • commitlint.config.cjs
  • .husky/pre-commit
  • .husky/commit-msg

Rules

  • Allowed type values are in type-enum; allowed scope values are in scope-enum.
  • Commit format is type(scope): subject, with a header no longer than 100 characters.
  • Treat the final commit header as the canonical change title for later PR creation unless the user explicitly asks for a different PR title.
  • During git commit, .husky/pre-commit starts pnpm lint-staged, pnpm check, and pnpm check:duplicates, so manual validation before commit should stay limited to the checks that matter for the current diff.
  • Use non-interactive git commit -m ...; if Husky blocks the commit, fix the failure and retry with a new non-interactive commit.
  • Never skip Husky hooks; do not use --no-verify.

© compartmentdev, Apache-2.0. 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 .codex/skills/commit-a-change of compartmentdev/compartment.

Open the folder on GitHubat commit 15373e7

Compare with similar skills

Commit A Change 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 A Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Commit A Change this skillcompartmentdev/compartment205—~268Automated safety check: PassApache-2.0
WooCommerce Email Editor Developmentwoocommerce/woocommerce11k—~893Automated safety check: PassCustom licence
React Emailviclafouch/meme-studio1102 repos~3.6kAutomated safety check: PassMIT
Land TS MonoUKGovernmentBEIS/inspect_ai3k—~3kAutomated safety check: PassMIT
Projectlin-97/gi-demo188—~1.4kAutomated safety check: NotesApache-2.0
API Typessupabase/supabase111k—~557Automated safety check: PassApache-2.0

Similar skills

  • Sets up a local environment for the WooCommerce block email editor, with a watcher, Mailpit email capture and build and test commands for its PHP and JS packages.

    11k GitHub stars~893 tokensUpdated today
    Backend & APIsAuto-check passed
  • React Email

    viclafouch/meme-studio

    A skill your agent uses when creating HTML email templates with React components - welcome emails, password resets, notifications, order confirmations, newsletters, or transactional emails.

    110 GitHub starsUsed in 2 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • Land TS Mono

    UKGovernmentBEIS/inspect_ai

    Land a PR that requires a coordinated ts-mono submodule change.

    3k GitHub stars~3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Project

    lin-97/gi-demo

    后台管理模板的项目总览与前端强制规范。涵盖 Vue 3 + Arco Design + Gi 组件库、目录结构、自动导入、CRUD/API 约定与代码风格。在当前仓库内开发、新增页面、查阅架构或不确定项目规范时使用。

    188 GitHub stars~1.4k tokensUpdated 3 mo ago
    Backend & APIsAuto-check: notes
  • API Types

    supabase/supabase

    Official

    Maintain Supabase API types. An agent skill from supabase/supabase.

    111k GitHub stars~557 tokensUpdated today
    Backend & APIsAuto-check passed
  • Validate a Rome-managed OAuth integration end-to-end — prove a user can click Connect and Rome ends up holding a delegated token it can use to call the provider's API.

    725 GitHub stars~2k tokensUpdated today
    Backend & APIsAuto-check: notes

More from compartmentdev/compartment

All 12 skills in this repo
  • Audit Type Ownership

    compartmentdev/compartment

    Audit type ownership and boundary placement in the compartment repo: misplaced or duplicated types, query/service leaks, root export surface, and phased move plans.

    205 GitHub stars~745 tokensUpdated 1 mo ago
    Auto-check passed
  • Open PR And Monitor

    compartmentdev/compartment

    Open or reuse a repo PR and monitor it with a five-minute Codex heartbeat until it is ready, terminal, or blocked.

    205 GitHub stars~470 tokensUpdated 1 mo ago
    Auto-check passed
  • Review A Change

    compartmentdev/compartment

    A skill your agent uses when the user invokes $review-a-change or asks for a compartment repo code review; always use the delegated subagent review path by splitting review into separate parallel…

    205 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Review Reuse And Dedup

    compartmentdev/compartment

    A skill your agent uses when reviewing compartment repo changes for existing helper reuse, extractable pure utilities, duplicated logic, repeated constants, hardcoded values, or repeated variable…

    205 GitHub stars~753 tokensUpdated 1 mo ago
    Auto-check passed
  • Compartment Smoke Test

    compartmentdev/compartment

    Run or delegate a browser-first smoke test of the local compartment through browser-use as a real user: boot or reuse the local stack, install or log in, deploy the repo smoke fixtures, verify CLI…

    205 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Develop A Feature

    compartmentdev/compartment

    Implement repo changes by starting with preflight feature review, then editing the smallest owning surface on one canonical path and running only diff-triggered checks.

    205 GitHub stars~554 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Commit A Change

What does Commit A Change do?

Prepare a compartment repo commit that matches commitlint type and scope rules and runs through Husky validation. Commit A Change is an agent skill from compartmentdev/compartment. Prepare a compartment repo commit that matches commitlint type and scope rules and runs through Husky validation.

When should I use Commit A Change?

Commit A Change fits situations like: backend & APIs work in your project.

How do I install Commit A Change in Claude Code?

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

How do I install Commit A Change in Codex?

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

Can I use Commit A Change 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 compartmentdev/compartment --skill commit-a-change -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-a-change, .gemini/skills/commit-a-change, .github/skills/commit-a-change and .opencode/skills/commit-a-change in your project.

What does Commit A Change need to run?

Going by SKILL.md and its folder, Commit A Change needs the command-line tools its instructions call (pnpm and git).

Does Commit A Change access the network?

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

Is Commit A Change 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 A Change use?

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

How many tokens does Commit A Change use?

About 268 tokens (SKILL.md is roughly 1.1k 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 A Change?

Skills that share tags, products or a category with Commit A Change: WooCommerce Email Editor Development (woocommerce/woocommerce, 11k stars), React Email (viclafouch/meme-studio, 110 stars), Land TS Mono (UKGovernmentBEIS/inspect_ai, 3k stars) and Project (lin-97/gi-demo, 188 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Commit A Change?

compartmentdev (a GitHub organization) maintains it in compartmentdev/compartment, which has 205 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on August 20, 2026.

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