Commit

From edochi/mdvs · View interactive version

Commit is an AI agent skill from the GitHub repository edochi/mdvs. Use when the user asks to commit, commit and push, or make a git commit. Covers branching, commit workflow, conventional commits, TODO updates, and push/PR rules.

How to use this skill

Skill file

Commit & Branching Conventions

Branching

Never push directly to main. All work goes through feature branches + PRs.

docs/description

When to Commit

Never commit unless the user explicitly asks. No autonomous commits. Wait

for "commit", "commit and push", or similar.

Before Committing

committing (use the todo skill). This lets the user review the TODO update

as part of the same diff.

Commit Workflow

Run git add, git commit, and git push as separate commands — never

chained together.

Staging

Commit Messages

Use Conventional Commits format. A

commit-msg hook (cocogitto) enforces this.

Format: <type>[optional scope]: <description>

Types: feat, fix, refactor, docs, test, chore, ci, perf, style

git commit -m "$(cat <<'EOF'
feat: add enum constraints on string fields
EOF
)"

Push

Only push when the user explicitly asks. "Commit" does not imply "push".

Wait for "push", "commit and push", or similar.

Pull Requests

After pushing a feature branch, create a PR to main when the user asks. Use

gh pr create with a clear title and summary. CI must pass before merging. Use

regular merge (not squash).

Safety Rules

amend)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.