Agent skill

Gentle AI Work Unit Commits

by Gentleman-Programming in Gentleman-Programming/gentle-shell

Plan commits as reviewable work units. An agent skill from Gentleman-Programming/gentle-shell.

Apache-2.0Auto-check passedDevelopment

Install Gentle AI Work Unit Commits

skills CLI
$ npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-work-unit-commits -a claude-code

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

GitHub CLI
$ gh skill install Gentleman-Programming/gentle-shell gentle-ai-work-unit-commits --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/Gentleman-Programming/gentle-shell.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/work-unit-commits .claude/skills/gentle-ai-work-unit-commits && 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
gentle-ai-work-unit-commits
GitHub stars
1.2k
Token cost
~1.2k tokens
SKILL.md length
646 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Apache-2.0

At a glance

Plan commits as reviewable work units. An agent skill from Gentleman-Programming/gentle-shell.

  • Works in 4 steps: Build the smallest independent work unit. → Include verification for that unit. → Commit it with a Conventional Commit… → …
  • Development work in your project
  • SKILL.md covers When to Use, Critical Rules, Work Unit Checklist and Split Examples, plus 4 more sections
  • Calls git

What it does

Gentle AI Work Unit Commits is an agent skill from Gentleman-Programming/gentle-shell. Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.

Its SKILL.md is about 1.2k 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. The repository describes itself as: Gentle Shell is a Pi-native coding-agent harness for controlled development with Organic Driven Development, optional SDD/OpenSpec, subagents, TDD evidence, review guardrails… The licence is Apache-2.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/gentle-ai-work-unit-commits”

Workflow steps

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

  1. Build the smallest independent work unit.
  2. Include verification for that unit.
  3. Commit it with a Conventional Commit message.
  4. If the PR approaches 400 changed lines, promote commits or groups of commits into chained PRs.

What it can do on your machine

Read from SKILL.md and the folder at commit 42653f7. 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

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

  • Network

    No URLs in SKILL.md. Its commands use 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

Gentle AI Work Unit Commits loads about 1.2k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 646 words of instructions outside code blocks.

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

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 Gentleman-Programming/gentle-shell at commit 42653f7, republished under its Apache-2.0 licence (© Gentleman-Programming). 646 words, ~1,227 tokens.

Download SKILL.mdSave it as .claude/skills/gentle-ai-work-unit-commits/SKILL.md (or your agent's skills folder).
name
gentle-ai-work-unit-commits
description
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.
license
Apache-2.0
metadata.author
gentleman-programming
metadata.version
1.0

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.
  • Closing an ODD task with a work-unit commit.

Critical Rules

RuleRequirement
Commit by work unitA commit represents a deliverable behavior, fix, migration, or docs unit.
Do not commit by file typeAvoid models, then services, then tests if none works alone.
Keep tests with codeTests belong in the same commit as the behavior they verify.
Keep docs with the user-visible changeDocs belong with the feature or workflow they explain.
Tell a storyA reviewer should understand why each commit exists from its diff and message.
Future PR-readyEach commit should be a candidate chained PR when the change grows.
SDD workload guardIf SDD tasks forecast a >400-line change, honor the selected delivery_strategy. On chaining paths only, group commits into chained PR slices before implementation. For explicit single-pr or exception-ok, keep one PR, report the review load, and follow the destination repository's documented contribution/size policy; selection alone does not accept an exception.
Budget is not code-golfNever 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 splitBetter work-unit split
add modelsfeat(auth): add token validation domain model and tests
add servicesfeat(auth): wire token validation into login flow
add testsTests included with each behavior commit
update docsDocs included with the user-facing change they explain

PR Relationship

Use work-unit commits as the foundation for chained PRs:

  1. Build the smallest independent work unit.
  2. Include verification for that unit.
  3. Commit it with a Conventional Commit message.
  4. If the PR approaches 400 changed lines, promote commits or groups of commits into chained PRs.
Show full SKILL.md (252 more words)Show less

SDD Relationship

When sdd-tasks produces a Review Workload Forecast:

  • Low risk: keep work-unit commits inside one PR.
  • Medium risk: commit by work unit and monitor changed lines before PR creation.
  • High risk: follow SDD delivery_strategy — ask on ask-on-risk, auto-slice with the cached chain choice on auto-chain, follow the destination repository's documented contribution/size policy on over-budget single-pr, or record an explicitly accepted policy exception on exception-ok. A single-PR selection does not itself accept an exception.
  • size:exception is a Gentle-owned repository policy, not a universal label requirement. Never request, create, or add the label for generic users unless the destination policy uses it; preserve its maintainer acceptance and protected-label authorization gates.
  • Splitting is bounded: after one honest slicing pass, if no cohesive work-unit split fits the budget, stop and report the smallest honest count and rationale. Recommend an exception only where destination policy provides it. Do not iterate shrinking the code to reach the number.

Each SDD work unit should map cleanly to a commit or PR with:

  • clear start state,
  • clear finished state,
  • verification in the same unit,
  • rollback that does not remove unrelated work.

ODD Relationship

Every ODD task closes with at least one work-unit commit:

  • The native review candidate is that commit, or the PR slice it belongs to when review is deferred, evaluated against the previous reviewed boundary.
  • The running authored line count from work-unit commits feeds the same delivery-strategy vocabulary as SDD.
  • The feature document records the commit identity and, once a delivery strategy applies, the slice boundaries.

Commands

bash
# Review the story before committing
git diff --stat
git diff --cached --stat

# Check recent commit style
git log --oneline -5

© Gentleman-Programming, 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 skills/work-unit-commits of Gentleman-Programming/gentle-shell.

Open the folder on GitHubat commit 42653f7

Compare with similar skills

Gentle AI Work Unit Commits 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.

Gentle AI Work Unit Commits compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gentle AI Work Unit Commits this skillGentleman-Programming/gentle-shell1.2k—~1.2kAutomated safety check: PassApache-2.0
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from Gentleman-Programming/gentle-shell

All 12 skills in this repo
  • Gentle AI Issue Creation

    Gentleman-Programming/gentle-shell

    Create and triage GitHub issues from repository evidence. An agent skill from Gentleman-Programming/gentle-shell.

    1.2k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Gentle AI Judgment Day

    Gentleman-Programming/gentle-shell

    Trigger: judgment day, judgement day, dual review, adversarial review, juzgar.

    1.2k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Gentle AI Branch and PR

    Gentleman-Programming/gentle-shell

    Prepares branches and pull requests for the Gentle AI repository, checking for a linked approved issue, labels, size budget and required checks.

    1.2k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Gentle AI Cognitive Doc Design

    Gentleman-Programming/gentle-shell

    Design docs that reduce cognitive load. An agent skill from Gentleman-Programming/gentle-shell.

    1.2k GitHub stars~597 tokensUpdated today
    Auto-check passed
  • Gentle AI Comment Writer

    Gentleman-Programming/gentle-shell

    Write warm, direct collaboration comments. An agent skill from Gentleman-Programming/gentle-shell.

    1.2k GitHub stars~623 tokensUpdated today
    Auto-check passed
  • Gentle AI Skill Creator

    Gentleman-Programming/gentle-shell

    Trigger: /skill-creation, skill creation, skill creator, create skill, new skill.

    1.2k GitHub stars~798 tokensUpdated today
    Auto-check passed

Categories

Questions about Gentle AI Work Unit Commits

What does Gentle AI Work Unit Commits do?

Plan commits as reviewable work units. An agent skill from Gentleman-Programming/gentle-shell. Gentle AI Work Unit Commits is an agent skill from Gentleman-Programming/gentle-shell. Plan commits as reviewable work units.

When should I use Gentle AI Work Unit Commits?

Gentle AI Work Unit Commits fits situations like: development work in your project.

How do I install Gentle AI Work Unit Commits in Claude Code?

Run `npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-work-unit-commits -a claude-code`. Or copy the skill folder (skills/work-unit-commits in Gentleman-Programming/gentle-shell) into .claude/skills/gentle-ai-work-unit-commits in your project. Claude Code loads it when a task matches its description.

How do I install Gentle AI Work Unit Commits in Codex?

Run `npx skills add Gentleman-Programming/gentle-shell --skill gentle-ai-work-unit-commits -a codex`. Or copy the skill folder (skills/work-unit-commits in Gentleman-Programming/gentle-shell) into .agents/skills/gentle-ai-work-unit-commits in your project. Codex loads it when a task matches its description.

Can I use Gentle AI Work Unit Commits 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 Gentleman-Programming/gentle-shell --skill gentle-ai-work-unit-commits -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gentle-ai-work-unit-commits, .gemini/skills/gentle-ai-work-unit-commits, .github/skills/gentle-ai-work-unit-commits and .opencode/skills/gentle-ai-work-unit-commits in your project.

What does Gentle AI Work Unit Commits need to run?

Going by SKILL.md and its folder, Gentle AI Work Unit Commits needs the command-line tools its instructions call (git).

Does Gentle AI Work Unit Commits 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 Gentle AI Work Unit Commits 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 Gentle AI Work Unit Commits use?

Gentle AI Work Unit Commits is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gentle AI Work Unit Commits use?

About 1.2k tokens (SKILL.md is roughly 4.9k 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 Gentle AI Work Unit Commits?

Skills that share tags, products or a category with Gentle AI Work Unit Commits: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gentle AI Work Unit Commits?

Gentleman-Programming (a GitHub organization) maintains it in Gentleman-Programming/gentle-shell, which has 1,245 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 9, 2026.

Source: Gentleman-Programming/gentle-shell on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.