What problem does it solve?
This Skill enforces a safe, consistent git workflow across the machina-meta workspace, including multiple submodules, guaranteeing atomic commits and reducing human error.
Core Features & Use Cases
- Mandatory skill gate: All git operations must pass through machina-git, ensuring centralized governance.
- Working directory safety: Commands must be executed in the correct repository directory within a single shell invocation.
- Security and readiness checks: Staged changes are scanned for secrets and evaluated for commit readiness before committing.
- Multi-repo consistency: Manages status, diff, add, commit, push, pull, and submodule operations across all repositories in the workspace.
- Auditable workflow: Requires explicit user confirmation for destructive actions and pushes.
Quick Start
Before performing any git operation, invoke the machina-git skill. Always cd into the target repository and run commands in a single shell invocation using logical chaining (e.g., cd repos/dem2 && git status). Review staged changes with git diff --cached and only push after explicit confirmation from the user.