Git Discipline

Write the git and pull-request rules into a repository's agent rules file, AGENTS.md and CLAUDE.md, so an agent there confirms every commit, leaves the index alone, writes imperative subject lines and reaches the default branch through a pull request, starting with its first commit. Records the repository's default branch, merge strategy and branch-naming scheme with the user. Use when asked to add or update git, commit or pull-request rules in AGENTS.md or CLAUDE.md; when choosing a repository's default branch, merge strategy or branch names; or when a user asks that agents stop committing, staging, pushing or merging without asking.

modaal-agent Updated

File contents

modaal-agent/skills/tree/main/skills/git-discipline commit 2fefb45452

Frequently asked questions

npx skillmds@latest add modaal-agent/git-discipline