Git Commit with Database Sync

VerifiedSafe

Commits changes from the `content/` directory without requiring knowledge of the monorepo structure. It includes a pre-commit hook that runs a session review to catch stale task references. Use this skill when you need to make safe, focused commits to content files only.

Sby Skills Guide Bot
DevelopmentBeginner
6/2/2026
Claude Code
#git#commit#content-management#monorepo

Recommended for

Automated summary

Commits changes from the content/ directory in a monorepo, with a pre-commit check for stale task references.

Strengths

  • Simplifies committing for users unfamiliar with the monorepo structure
  • Integrates an automatic check via the session-review skill
  • Restricts commits to the content/ directory, reducing errors
  • Provides a dry-run mode to preview changes without committing

Limitations

  • Does not push changes to the remote repository
  • Only works for the content/ directory
  • Requires the session-review skill to also be set up
When to use it

Use this skill to commit changes in the content/ directory of a monorepo, especially if you are not comfortable with the full repository structure.

When not to use it

Avoid using it if you need to commit files outside content/ or if you need to push changes immediately to remote.

Security analysis

Safe
Quality score85/100

The skill runs a controlled bash script that only stages and commits from a specific 'content/' directory. No destructive or exfiltrating commands are used. The allowed tools are limited to the commit script and git, and the pre-commit check uses an internal session-review skill, posing no risk.

No concerns found

How this analysis is made

Examples

Commit all content changes
Commit all changes in the content directory with the message 'Updated diary entry'.
Commit a specific file
Commit the file diary/2026/01/17-Sat.md with message 'Added new entry'.
Dry run commit
Show what would be committed without actually committing.

name: commit description: Git commit workflow with database sync. allowed-tools: Bash(.claude/skills/commit/scripts/commit.sh:), Bash(git:)

Commit Skill

Commit changes from the content directory without needing to know about the monorepo structure.

Pre-commit Check

Before committing, run the session review skill to catch stale task references:

  • Use /session-review or follow .claude/skills/session-review/SKILL.md
  • Fix any flagged mismatches before proceeding with the commit

Usage

# Commit all content changes with a message
.claude/skills/commit/scripts/commit.sh "Your commit message"

# Commit specific files
.claude/skills/commit/scripts/commit.sh "Your commit message" diary/2026/01/17-Sat.md

# Show what would be committed (dry run)
.claude/skills/commit/scripts/commit.sh --dry-run "Message"

What It Does

  1. Changes to the repository root (parent of content/)
  2. Stages only files within content/
  3. Creates a commit with the provided message
  4. Returns status

Notes

  • Only commits files in the content/ directory
  • Does not push to remote
  • Safe to use without understanding the full repo structure

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/git-commit-with-database-sync-mmbizjbh' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/git-commit-with-database-sync-mmbizjbh/download' --output '.skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md.part' && mv '.skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md.part' '.skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash(.claude/skills/commit/scripts/commit.sh:*), Bash(git:*)

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md' && test -s '.skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/commit' && cp -R '.skill-downloads/git-commit-with-database-sync-mmbizjbh' '.claude/skills/commit'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/git-commit-with-database-sync-mmbizjbh'

openskills read 'git-commit-with-database-sync-mmbizjbh'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/git-commit-with-database-sync-mmbizjbh/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills