Enforces Conventional Commits with Gate-Change trailers, release tags, and evidence reports. Use when committing, tagging, or reporting a release slice.
Ships in react-native. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Every change reaches the reviewer twice: as a commit history anyone can search, and as a short plain-language message they actually read before the code. This skill makes both exact: Conventional Commits with the right trailers, a commit-msg hook and a checker that share one rule set, monotonic release tags, an evidence report whose numbers come from named files, and one clear question when something needs a person. Three scripts check the messages, the tags and the reports before anything is committed or sent.
<type>(<scope>): <subject>, at most 72 characters, imperative, lowercase start, no trailing period. The scope is a folder under src/features/ or src/ (tasks, ui, data), a fixed scope (repo, deps, docs, ci, tooling, e2e, release, skills) or an extraScopes entry of contracts/commits.json; when multi-package, a workspace folder. ! only for a change that breaks persisted data or a public contract. The history is searched by scope, and the commit-msg hook rejects anything else.contracts/commits.json sets requirementRef, a feat or fix outside the exempt scopes also names the requirement it serves (TASK-12, #31, spec 4.2). The history is the proof that each behaviour was built test-first.Gate-Change: is exact. Gate-Change: <reason> appears exactly when a changed file matches gatedPaths in quality-gates.json (gate configs only after the reviewer agreed; goldens, baselines, vectors and frozen fixtures only on purpose), and never otherwise. Spec-Change: <requirement> <what changed> only when a test expectation changed because the requirement changed, never for "the test was wrong". Reasons are at least 10 characters. Keep any Co-Authored-By: line the session asks for. Git reads trailers only there, and git log --grep '^Gate-Change:' must list every gate change and nothing else.git commit --cleanup=strip -F reports/commit-message.txt after check-commits.mjs passes. Plain -F stores the template's # hint lines in the history.scripts/git/commit-message-rules.ts (the commit-msg hook) and check-commits.mjs give the same 18 rule ids, and both test suites run scripts/git/commit-message-samples.json. A rule changes in both and in the sample list in one commit, so a message the hook accepts never fails the checker later.--no-verify, no LEFTHOOK=0, no amend, rebase or force-push of pushed commits. A failing hook means the commit is not ready.eas submit, Transporter, the Play API), no App Store Connect or Play Console change, no submission for review, no OTA update to a production channel. These cannot be taken back.git tag -a v1.4.0+ios.14 -m "App Store build 14", so the tag check can read when each was made): vX.Y.Z+ios.<n> and vX.Y.Z+android.<n> on both lanes (EAS and local; an app that already tags a shared vX.Y.Z+<build> keeps it), then vX.Y.Z when the reviewer says "ship". Never move, delete or reuse a tag; build numbers only go up (Play refuses a lower versionCode, App Store Connect a reused build number). When multi-package, tags start with the app's folder: <app>/vX.Y.Z+ios.<n>.Evidence: line, numbers copied from named files (never from memory), at most one request with its default, at most five things to look at, an honest "Not tested or not verified" list, technical detail last. The reviewer reads this before any code..p8, a Play service-account JSON), keystores and certificates, provisioning profiles, tokens, .env files, passwords. If a task seems to need one, ask.quality-gates runs node scripts/git/check-commit-message.ts {1}): copy templates/scripts/git/ to scripts/git/ (it imports scripts/quality/gated-paths.ts from quality-gates) and run npx jest scripts/git. Copy templates/contracts/commits.json to contracts/commits.json only to change the scope folders, add scopes or switch the requirement rule on; the defaults need no file. Read references/commit-format.md before the first commit of a session.git status and git diff --cached --stat: one behaviour, its tests and code, and the docs it changes. Split unrelated changes into their own commits.reports/commit-message.txt (reports/ is git-ignored). Replace every __PLACEHOLDER__; delete the trailer lines that do not apply. examples/commit-messages.md shows good and bad messages.node ${CLAUDE_SKILL_DIR}/scripts/check-commits.mjs . --message reports/commit-message.txt --staged. Fix every FAIL line and rerun until RESULT: PASS, then git commit --cleanup=strip -F reports/commit-message.txt.node ${CLAUDE_SKILL_DIR}/scripts/check-commits.mjs . --range <base>..HEAD (<base> = git rev-parse --short HEAD noted at the start of the session). A bad unpushed commit of this session (the last one only) is reworded with git reset --soft HEAD~1, then steps 3-4 again (git commit --cleanup=strip -F reports/commit-message.txt), so the hook sees every file of the commit; a pushed one stays, and the report says so.reports/evidence-<YYYY-MM-DD>-<slug>.md and fill it only from the evidence files and the Jest summary. When the work changed a golden, a baseline or a user-visible text, paste the matching block of templates/reports/report-blocks.md above "Human checks". Compare with examples/slice-evidence.md, examples/release-evidence.md and examples/baseline-and-text-changes.md.node ${CLAUDE_SKILL_DIR}/scripts/check-report.mjs . --report reports/evidence-<...>.md. Fix and rerun until RESULT: PASS, then put the report in the final message (the red run and the commands stay under "Details"). An app with other release checks or human checks records them in contracts/reporting.json (templates/contracts/reporting.json).node ${CLAUDE_SKILL_DIR}/scripts/check-report.mjs . --report reports/request.md --kind request (examples/requests.md has one of each), send it, and continue with work that does not depend on the answer.node ${CLAUDE_SKILL_DIR}/scripts/check-tags.mjs . (add --match 'v*' only when the repo also tags other things on purpose). Push tags only when the developer has said so in this session.scripts/git/ holds the seven files of templates/scripts/git/ and npx jest scripts/git passes.Gate-Change: appears exactly on the commits that touch a gated path; Spec-Change: only where the requirement changed.node ${CLAUDE_SKILL_DIR}/scripts/check-commits.mjs . --range <base>..HEAD prints RESULT: PASSnode ${CLAUDE_SKILL_DIR}/scripts/check-report.mjs . --report reports/<report>.md prints RESULT: PASSnode ${CLAUDE_SKILL_DIR}/scripts/check-tags.mjs . prints RESULT: PASSThe checkers print no SKIP lines. check-commits.mjs without a quality-gates.json uses the canonical gated paths it ships; check-report.mjs without contracts/reporting.json uses the defaults.
fix: stuff or Updated files. The history becomes unsearchable; say what changes for the user or the code, with a scope.Gate-Change: update on a commit that also relaxed a lint rule. A gate change needs the reviewer's agreement first and a reason that says why.Gate-Change: on a commit that touched no gated file. It pollutes the one list of gate changes; the checker fails it.Spec-Change: the test was wrong. That is editing a test to pass; fix the code or ask.git commit --amend or a rebase reword. The hook then compares against the commit being amended and cannot see its files, so a correct Gate-Change: fails as unneeded; use git reset --soft HEAD~1 and a fresh commit.git commit -F msg.txt with the template's hint lines still in it. The # lines land in the history; use --cleanup=strip.--rehearsal or --dry-run result under Checks. It proves nothing about the release; it belongs under "Not tested or not verified".errSecInternalComponent. It needs a person or a credential; retries can lock an account or burn build numbers.v1.4.0+14 for a rebuilt binary. A new build gets a new build number and a new upload tag.| File | What it is | Read/run when |
|---|---|---|
| references/commit-format.md | Header, types, scopes, body, trailers, gated paths, slices, branches, the hook and the checker, good and bad headers, multi-package scopes | Workflow step 1, first commit of a session |
| references/evidence-messages.md | The reporting rules, the evidence shape, slice and release form, the change blocks, human checks, where each number comes from, honest limits, plain words, contracts/reporting.json | Workflow steps 6-7 |
| references/stop-and-ask.md | When to stop, the human steps of an app's life (stores, credentials, reviews), release stops on iOS and Android, how to write the message | Workflow step 8, and whenever a step needs a person |
| references/tags-and-releases.md | Upload and release tags, build numbers (EAS remote and the local lane), release commits, OTA updates, pushing, multi-package prefixes | Workflow step 9 |
| templates/scripts/git/check-commit-message.ts | scripts/git/check-commit-message.ts: the commit-msg hook entry (lefthook runs it) | Workflow step 1 |
| templates/scripts/git/commit-message-rules.ts | scripts/git/commit-message-rules.ts: the header, body and placeholder rules | Workflow step 1; when a rule changes |
| templates/scripts/git/commit-trailer-rules.ts | scripts/git/commit-trailer-rules.ts: trailer placement, reasons, Spec-Change, Gate-Change against the gated paths | Workflow step 1; when a rule changes |
| templates/scripts/git/commit-config.ts | scripts/git/commit-config.ts: scopes, gated paths and the requirement rule from the repo | Workflow step 1 |
| templates/scripts/git/requirement-ref.json | scripts/git/requirement-ref.json: the default requirement reference, the one copy the hook, check-commits.mjs and tdd-workflow's history check read | When the default reference pattern is in question (change it only here) |
| templates/scripts/git/commit-message-rules.test.ts | scripts/git/commit-message-rules.test.ts: runs the shared samples and the config through Jest | Workflow step 1 |
| templates/scripts/git/commit-message-samples.json | scripts/git/commit-message-samples.json: the sample list both rule sets must judge alike | When a rule changes (add its sample) |
| templates/contracts/commits.json | contracts/commits.json: scope folders, extra scopes, the requirement rule (optional) | Workflow step 1, to change a default |
| templates/contracts/commits.schema.json | Its JSON schema | With the contract |
| templates/contracts/reporting.json | contracts/reporting.json: locales, required checks, human checks, non-evidence markers (optional) | Workflow step 7, to change a default |
| templates/contracts/reporting.schema.json | Its JSON schema | With the contract |
| templates/reports/commit-message.txt | Commit message with placeholders and # hints | Workflow step 3 |
| templates/reports/evidence-slice.md | Evidence report, slice form | Workflow step 6 |
| templates/reports/evidence-release.md | Evidence report, release form | Workflow step 6 |
| templates/reports/report-blocks.md | The two optional blocks: goldens and baselines changed on purpose, texts changed in every locale | Workflow step 6, when a golden, baseline or text changed |
| templates/reports/request.md | One request: a human step or a requirement question with options | Workflow step 8 |
| templates/reports/release-stop.md | The message when a release step stops | Workflow step 8 |
| examples/commit-messages.md | Good messages and bad ones with the rule each breaks | Workflow step 3 |
| examples/slice-evidence.md | A complete slice report | Workflow step 6 |
| examples/release-evidence.md | A complete release report (iOS and Android) | Workflow step 6, for a release |
| examples/baseline-and-text-changes.md | A slice report with both change blocks | Workflow step 6, with the change blocks |
| examples/requests.md | A human-step request, a requirement question and a release stop | Workflow step 8 |
scripts/check-commits.mjs | Checks a planned message (--message with --staged or --files), history (--range, --log) or the shared sample list (--samples): the 18 hook rules plus comment-line (history) and sample-mismatch | Workflow steps 4-5 and the definition of done |
scripts/check-report.mjs | Checks an evidence report (--kind slice or release) or a request (--kind request) against the reporting rules | Workflow steps 7-8 and the definition of done |
scripts/check-tags.mjs | Checks tag forms, the app prefix, an upload tag behind every release tag, one build-number scheme, build numbers that only go up (the repo's tags or --list <file>; --match <glob> limits it to release tags) | Workflow step 9 |
scripts/selftest.mjs | Proves the three checkers pass good fixtures, catch every planted bug and judge the shared sample list as the hook's test does | After changing a checker, a template or an example |
scripts/check-lib.mjs | Shared script helper, synced from the library (do not edit here) | Never by hand |
assets/quality-gates.json | The canonical quality-gates.json (synced from quality-gates): the gated paths used when the repo has none | When a gated path is in question |
assets/shared.json | Declares the synced files: check-lib.mjs, templates/scripts/git/ (canonical here, owned by this skill), assets/quality-gates.json | When adding a shared file |
tests/fixtures/ | Overlay suites: commit logs captured from throwaway repos, message files, the sample list (base: the shipped template), tag lists, reports and requests | When adding a rule to a checker (add a sample for a commit rule too) |
quality-gates - the commit-msg job, quality-gates.json and its gated paths, check:fast and verify.tdd-workflow - how each slice is built test-first before it is committed.spec-traceability - the requirement IDs that commit bodies, reports and questions quote.golden-and-snapshot-tests - when a golden may change, and the tolerance-raise trailer wording.eas-build-and-submit - the release step that uploads builds and reports their build numbers.ios-release-testflight and android-release-play - the local release lanes, signing and store stops.ota-updates - publishing updates, an outward-facing action.i18n-strings-and-catalogs - the app's locales and the review of translated drafts.design-visual-parity - design baselines and the "Design match" line.assets/quality-gates.json (opens in a new tab)assets/shared.json (opens in a new tab)examples/baseline-and-text-changes.md (opens in a new tab)examples/commit-messages.md (opens in a new tab)examples/release-evidence.md (opens in a new tab)examples/requests.md (opens in a new tab)examples/slice-evidence.md (opens in a new tab)references/commit-format.md (opens in a new tab)references/evidence-messages.md (opens in a new tab)references/stop-and-ask.md (opens in a new tab)references/tags-and-releases.md (opens in a new tab)scripts/check-commits.mjs (opens in a new tab)scripts/check-lib.mjs (opens in a new tab)scripts/check-report.mjs (opens in a new tab)scripts/check-tags.mjs (opens in a new tab)scripts/selftest.mjs (opens in a new tab)templates/contracts/commits.json (opens in a new tab)templates/contracts/commits.schema.json (opens in a new tab)templates/contracts/reporting.json (opens in a new tab)templates/contracts/reporting.schema.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/react-native:git-commits-and-reportingfrom react-native
npx claudepluginhub zakariaf/reactnative-skills --plugin react-native73 skills in this plugin
/accessibility-as-codeEnforces a11y labels, 44pt targets, 200% text, VoiceOver, TalkBack. Use when adding a pressable, swipe or a11y label, text clips when large, contrast fails or Reduce Motion is missed. Not for RTL (rtl-and-direction)./adaptive-layoutLays screens out by window, not device: breakpoints, master-detail panes, readable widths, grids. Use when making screens responsive or for tablets, iPad, foldables, rotation, split screen, orientation lock. Not for tab bars (navigation-and-routing)./admob-ads-and-consentBuilds AdMob ads behind a port - banners, interstitials, rewarded, UMP consent then ATT, pacing, ADS_MODE test IDs. Use when touching ads, consent, ATT, ad IDs or rewarded perks. Not for purchases (in-app-purchases).Other plugins' skills for the same job