commit

Automate Git commits for main repositories and submodules with structured messages.

27|4|Updated Jun 19, 2025
One-click install
npx skills add https://github.com/markmhendrickson/neotoma --skill commit-markmhendrickson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/markmhendrickson/neotoma/tree/main/.cursor/skills/commit
Command: npx skills add https://github.com/markmhendrickson/neotoma --skill commit-markmhendrickson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of committing code changes, ensuring comprehensive analysis and structured commit messages for both main repositories and submodules, preventing common Git push failures.

Core Features & Use Cases

  • Automated Committing: Commits all submodules and the main repository, or specific ones based on parameters.
  • Structured Commit Messages: Enforces detailed, categorized commit messages based on code changes.
  • Push Reconciliation: Automatically handles rejected pushes by pulling, rebasing, and retrying.
  • Security Audits: Integrates pre-commit security checks to prevent vulnerable code from being committed.
  • Use Case: When you've made changes across several project submodules and the main repository, use /commit to ensure all changes are committed with detailed, standardized messages and pushed successfully, even if the remote has diverged.

Quick Start

Use the commit skill to commit all submodules and the main repository with detailed messages.

Frequently Asked Questions about commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Git commits across multiple submodules and a main repository?

Automating Git commits across submodules and a main repository requires iterating through nested repositories, generating structured commit messages, and committing changes hierarchically. This Skill automates that entire process parameter-driven for specific or all repositories.

Why does my Git push fail after committing changes to nested submodules?

A Git push fails after committing nested submodules when the remote repository has diverged. Push reconciliation resolves this by automatically pulling, rebasing, and retrying the push to ensure changes are successfully integrated without manual intervention.

Can I run security audits before committing code changes?

Yes, you can run security audits before committing code changes. Integrating pre-commit security checks scans staged files to prevent vulnerable code from being committed, ensuring security analysis happens before the commit is finalized.

What is the best way to enforce structured commit messages for code analysis?

Enforcing structured commit messages for code analysis requires categorizing changes based on code diffs. This Skill enforces detailed, categorized commit messages automatically generated from code changes to maintain comprehensive repository history.

How do I commit only a specific submodule instead of all project changes?

To commit only a specific submodule instead of all project changes, use parameter-driven commits. This allows targeting specific repositories or submodules individually rather than committing all submodules and the main repository together.