git-skill
v0.2.0
Published
Pi package with git prompt templates and a skill for Conventional Commits messages
Maintainers
Readme
git-skill
Pi package with git prompt templates and a skill for Conventional Commits messages.
Contents
Prompts
/git-commit-staged— commit staged changes only. Fails if nothing is staged. Never runsgit add./git-commit-all— stage tracked files only (git add -u), then commit. Fails if nothing was staged.
Both prompts build the commit message from the staged diff using the rules from the git-commit skill.
Skills
git-commit— rules for writing commit messages in Conventional Commits format: type, scope, subject line (max 72 chars, imperative, no capital letter, no trailing period).
Install
pi install npm:git-skillOr from git:
pi install git:gitverse.ru/ars/git-skillTry without installing:
pi -e npm:git-skillUsage
/git-commit-staged # commit what is already staged
/git-commit-all # stage tracked files, then commitProject structure
├── package.json # pi package manifest
├── prompts/
│ ├── git-commit-staged.md # /git-commit-staged
│ └── git-commit-all.md # /git-commit-all
└── skills/
└── git-commit/
└── SKILL.md # Conventional Commits message rules