# Git commits and reporting

> Git commits and reporting is an open-source agent skill for developer tools. Writes and checks Conventional Commits, release tags and evidence reports for React Native. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/zakariaf/ReactNative-Skills/tree/main/skills/git-commits-and-reporting
- **Repository:** https://github.com/zakariaf/reactnative-skills
- **GitHub stars:** 16
- **License:** MIT
- **Skill name:** git-commits-and-reporting
- **Collection:** https://github.com/zakariaf/ReactNative-Skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill sets up a commit-message hook and a checker that share one rule set, so commit headers, scopes and trailers are validated before anything is committed. It also covers gate-change and spec-change trailers, a repeatable commit flow that strips template comments, and annotated release tags whose build numbers only go up.

For each finished slice or release, the agent writes an evidence report in which every number is copied from a named file, lists what was not verified, and separates human checks such as device tests and language reviews from blocking checks. When something needs a person, it produces one short request with a default answer and keeps working on other tasks. Three scripts check the messages, the tags and the reports before they are used.

The skill expects a git repository, Node.js to run the checker scripts, and a Jest setup for the hook's tests. It is written for React Native apps that ship through EAS and the App Store and Play lanes, and it reads optional contract files such as quality-gates.json and commits.json from the repo.

## When your agent uses it

> Writes and checks Conventional Commits, Gate-Change trailers, release tags, evidence reports and stop-and-ask requests. Use when committing, tagging, reporting a slice or release, or blocked on a person. Not for gates (quality-gates).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript and TypeScript scripts](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/git-commits-and-reporting)
- [No network calls found in its scripts](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/git-commits-and-reporting)
- [License: MIT](https://github.com/zakariaf/ReactNative-Skills/tree/HEAD/skills/git-commits-and-reporting)

## Features

- **Conventional Commit checks:** Validates headers, scopes, body and trailers against one rule set shared by the commit hook and a standalone checker.
- **Gate-change trailers:** Requires a Gate-Change trailer exactly when a commit touches a gated path, and lists every such change in history.
- **Evidence reports:** Builds slice and release reports whose figures come from named files, with an honest list of what was not tested.
- **Stop-and-ask requests:** Formats one blocking question with its default and time cost, and stops release steps that need a person.
- **Release tag validation:** Creates annotated upload and release tags and checks their forms, prefixes and monotonic build numbers.
- **Safe commit workflow:** Forbids bypassing hooks or rewriting pushed history, and holds pushes and store uploads until the developer approves.

## Good for

- Check a commit message before committing a finished slice
- Write an evidence report for a completed feature with its test counts
- Tag a release after a successful store upload and verify build numbers
- Draft a request asking a teammate to decide a blocking requirement
- Audit the commit history of a session for bad or misplaced gate trailers

## Install

### Claude Code

This skill ships in the `react-native` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add zakariaf/ReactNative-Skills
/plugin install react-native@react-native-skills
```

Or copy only this skill to `~/.claude/skills/git-commits-and-reporting`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/git-commits-and-reporting &&
cp -R "$tmp/skills/git-commits-and-reporting" ~/.claude/skills/git-commits-and-reporting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/git-commits-and-reporting` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/git-commits-and-reporting` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/git-commits-and-reporting &&
cp -R "$tmp/skills/git-commits-and-reporting" ~/.agents/skills/git-commits-and-reporting &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/git-commits-and-reporting` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/git-commits-and-reporting` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/git-commits-and-reporting &&
cp -R "$tmp/skills/git-commits-and-reporting" ~/.cursor/skills/git-commits-and-reporting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/git-commits-and-reporting` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/zakariaf/ReactNative-Skills.git --path skills/git-commits-and-reporting
```

Or copy the folder to `~/.gemini/skills/git-commits-and-reporting` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/git-commits-and-reporting`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/git-commits-and-reporting &&
cp -R "$tmp/skills/git-commits-and-reporting" ~/.copilot/skills/git-commits-and-reporting &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/git-commits-and-reporting` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/zakariaf/ReactNative-Skills.git
```

Then copy `ReactNative-Skills/skills/git-commits-and-reporting` into your agent's skills folder as `git-commits-and-reporting`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Its checker scripts are JavaScript and the hook's rules are TypeScript, and the hook's tests run through Jest. Templates are copied into the repository's scripts/git folder.

### Does Git commits and reporting push code or upload builds on its own?

No. It forbids pushes, tag pushes, store uploads and production updates unless the developer asks for them in the current session.

### Are contract files required?

No. The checkers use built-in gated paths and report defaults when quality-gates.json, commits.json or reporting.json are absent.

### How do I install Git commits and reporting in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/git-commits-and-reporting to use it in all your projects, or to .claude/skills/git-commits-and-reporting in one project. Or install the react-native plugin, which includes it: /plugin marketplace add zakariaf/ReactNative-Skills, then /plugin install react-native@react-native-skills.

### Does Git commits and reporting run scripts?

Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Git commits and reporting?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Git commits and reporting?

The closest alternatives to Git commits and reporting are Code commit, Git commit, Git commit, Git commit and Git workflow and versioning.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code commit](https://ai-powered.com/skills/code-commit): Code commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-eduardo-sl): Git commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-ruan-cat): Git commit is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit): Git commit is an open-source agent skill for developer tools.
- [Git workflow and versioning](https://ai-powered.com/skills/git-workflow-and-versioning): Git workflow and versioning is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit-ivy00johns): Git commit is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit-k1-c): Conventional commit is an open-source agent skill for developer tools.
- [Git workflow](https://ai-powered.com/skills/git-workflow-aws-solutions): Git workflow is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/git-commits-and-reporting
