gentle-ai-work-unit-commits

gentle-ai-work-unit-commits is a skill for Claude Code, Codex from Gentleman-Programming/gentle-pi. It costs 36 tokens per session (826 once invoked), scanned A, original, MIT.

A set of instructions for splitting development work into clear, reviewable commits. A commit is a saved group of related changes, and a pull request is a proposed change for review.

In plain words
What is it for?
Use it when planning feature work, preparing commits, splitting a large change into several pull requests, or estimating whether a task should be divided into smaller parts.
Why use it?
It prevents one large change from becoming difficult to review and keeps tests and documentation alongside the code they support.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/gentleman-programming/gentle-pi/work-unit-commits
Any agent
npx skills add Gentleman-Programming/gentle-pi --skill work-unit-commits
Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/gentle-pi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gentle-ai-work-unit-commits

README.md
[![agentmods](https://agentmods.dev/badge/skills/gentleman-programming/gentle-pi/work-unit-commits.svg)](https://agentmods.dev/skills/gentleman-programming/gentle-pi/work-unit-commits)
Your own site
<a href="https://agentmods.dev/skills/gentleman-programming/gentle-pi/work-unit-commits"><img src="https://agentmods.dev/badge/skills/gentleman-programming/gentle-pi/work-unit-commits.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 826 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00826
Opus 5 $0.00018 $0.00413
Sonnet 5 $0.00007 $0.00165
Haiku 4.5 $0.00004 $0.00083

Measured 2d ago against content hash 6d1ec334136b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gentle-ai-work-unit-commits scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/work-unit-commits/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Use

Load this skill when deciding what belongs in each commit or PR.

Use it for:

  • Splitting a feature into reviewable work.
  • Preparing commits before opening a PR.
  • Turning a large change into chained or stacked PRs.
  • Keeping reviewer cognitive load healthy.
  • Applying SDD tasks without accidentally producing a PR above 400 changed lines.

Critical Rules

Rule Requirement
Commit by work unit A commit represents a deliverable behavior, fix, migration, or docs unit.
Do not commit by file type Avoid models, then services, then tests if none works alone.
Keep tests with code Tests belong in the same commit as the behavior they verify.
Keep docs with the user-visible change Docs belong with the feature or workflow they explain.
Tell a story A reviewer should understand why each commit exists from its diff and message.
Future PR-ready Each commit should be a candidate chained PR when the change grows.
SDD workload guard If SDD tasks forecast a >400-line change, group commits into chained PR slices before implementation.
Budget is not code-golf Never shrink a diff by deleting comments, blank lines, docs, or tests, or by compressing code, to fit the review budget (400 by default, or the session review_budget_lines). Slice by work unit or report the overage.

Work Unit Checklist

Before committing, confirm:

  • The commit has one clear purpose.
  • The repo still makes sense after applying only this commit.
  • Tests or docs for this unit are included when relevant.
  • Rollback is reasonable without reverting unrelated work.
  • The commit message explains the outcome, not the file list.

Split Examples

Weak split Better work-unit split
add models feat(auth): add token validation domain model and tests
add services feat(auth): wire token validation into login flow
add tests Tests included with each behavior commit
update docs Docs included with the user-facing change they explain

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +2 lines 6d1ec334136b
  2. 6d ago First seen · 87 lines · 36 tokens per session scan A f065b0e134f3

Subscribe to this mod's changes

gentle-ai-work-unit-commits is a skill published in the GitHub repository Gentleman-Programming/gentle-pi (415 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 826 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.