# Update docs and commit

> Update docs and commit is an open-source agent skill for developer tools. Updates project docs and creates a git commit after a piece of work is finished. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/drbojlergyula/BuildWithAI/tree/main/.claude/skills/update-docs-and-commit
- **Repository:** https://github.com/drbojlergyula/buildwithai
- **GitHub stars:** 7
- **License:** MIT
- **Skill name:** update-docs-and-commit
- **Collection:** https://github.com/drbojlergyula/BuildWithAI
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill brings a project's documentation in line with recent work and then saves everything to git in one commit. It has the agent review the working tree and recent history, add a dated changelog entry, refresh the project status file, and update the spec or architecture notes only when the product or its build changed. It also logs real decisions in a decisions file and moves brainstormed ideas that were settled into the spec.

The workflow also covers recording corrections from the owner in a lessons file, and proposing a reusable skill when the same procedure has been carried out and checked at least twice. Commits are staged file by file, use a descriptive message that does not mention the AI assistant, and the agent reports back what was documented and what was left uncommitted. Secrets and .env files are never committed, and the skill stops to warn if one is staged.

The skill expects a project laid out with docs/changelog.md, docs/project_status.md and related files, plus a git repository. It runs only the git and echo commands listed in its allowed tools.

## When your agent uses it

> Update the changelog, project status, and any affected docs to reflect recent work, then commit everything to git with a clear message. Use after finishing any meaningful piece of work.

## What it can access

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

- [Instructions only, no scripts](https://github.com/drbojlergyula/BuildWithAI/tree/HEAD/.claude/skills/update-docs-and-commit)
- [Asks for: Bash(git add:*), Bash(git commit:*), Bash(git status:*), Bash(git log:*), Bash(git diff:*), Bash(echo:*)](https://github.com/drbojlergyula/BuildWithAI/blob/HEAD/.claude/skills/update-docs-and-commit/SKILL.md)
- [License: MIT](https://github.com/drbojlergyula/BuildWithAI/tree/HEAD/.claude/skills/update-docs-and-commit)

## Features

- **Changelog entry drafting:** Adds a dated changelog section grouped under Added, Changed, Fixed and Removed, written in user-visible terms.
- **Project status refresh:** Marks finished phase items as done and updates the last-updated date in the status document.
- **Decision logging:** Records real trade-offs or cuts as one-line entries in a decisions log at the top of the file.
- **Guarded git commit:** Stages relevant files and writes a descriptive commit, refusing to commit secrets or .env files.
- **Lessons capture:** Stores owner corrections in a lessons file and prompts merging when it grows too long.
- **Repeated procedure detection:** Suggests a new learned skill when the same procedure has been carried out and checked twice.

## Good for

- Document the feature I just finished and commit it
- Update the changelog and project status after a bug fix
- Log the design decision we made today in the decisions file
- Save my progress to git with a clear commit message

## Install

### Claude Code

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

```sh
/plugin marketplace add drbojlergyula/BuildWithAI
/plugin install buildwithai-team@buildwithai
```

Or copy only this skill to `~/.claude/skills/update-docs-and-commit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/update-docs-and-commit &&
cp -R "$tmp/.claude/skills/update-docs-and-commit" ~/.claude/skills/update-docs-and-commit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/update-docs-and-commit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/update-docs-and-commit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/update-docs-and-commit &&
cp -R "$tmp/.claude/skills/update-docs-and-commit" ~/.agents/skills/update-docs-and-commit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/update-docs-and-commit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/update-docs-and-commit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/update-docs-and-commit &&
cp -R "$tmp/.claude/skills/update-docs-and-commit" ~/.cursor/skills/update-docs-and-commit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/update-docs-and-commit` 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/drbojlergyula/BuildWithAI.git --path .claude/skills/update-docs-and-commit
```

Or copy the folder to `~/.gemini/skills/update-docs-and-commit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/update-docs-and-commit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/update-docs-and-commit &&
cp -R "$tmp/.claude/skills/update-docs-and-commit" ~/.copilot/skills/update-docs-and-commit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/update-docs-and-commit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/drbojlergyula/BuildWithAI.git
```

Then copy `BuildWithAI/.claude/skills/update-docs-and-commit` into your agent's skills folder as `update-docs-and-commit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Update docs and commit run any scripts?

No. It has no scripts; it only uses the git status, log, diff, add and commit commands, plus echo, listed in its allowed tools.

### What does Update docs and commit change in my project?

It can update docs/changelog.md, docs/project_status.md, docs/decisions.md and, when relevant, docs/project_spec.md or docs/architecture.md, then stages and commits the relevant files.

### When should I use Update docs and commit instead of a quicker save?

The skill describes itself as the full save: docs are refreshed first and then everything is committed. For an instant code-only save it points to a separate /save-point skill.

### Will Update docs and commit commit secrets or .env files?

No. The rules say it never commits secrets, credentials or .env files, and it stops to warn you if one is staged.

### How do I install Update docs and commit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/update-docs-and-commit to use it in all your projects, or to .claude/skills/update-docs-and-commit in one project. Or install the buildwithai-team plugin, which includes it: /plugin marketplace add drbojlergyula/BuildWithAI, then /plugin install buildwithai-team@buildwithai.

### Does Update docs and commit run scripts?

No. It is instructions only, with no 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 Update docs and commit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Update docs and commit?

The closest alternatives to Update docs and commit are Code commit, Git workflow and versioning, Commit, Git workflow and Document.

## 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 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.
- [Commit](https://ai-powered.com/skills/commit-tjmonsi): 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.
- [Document](https://ai-powered.com/skills/document-awrshift): Document is an open-source agent skill for developer tools.
- [Documentation and adrs](https://ai-powered.com/skills/documentation-and-adrs): Documentation and adrs 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.
- [Doc consolidation](https://ai-powered.com/skills/doc-consolidation-ajyadav013): Doc consolidation is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/update-docs-and-commit
