From inki
Stages and commits documentation changes in strapi/documentation repos, enforcing git rules, protected paths, and branch prefix detection.
How this skill is triggered — by the user, by Claude, or both
Slash command
/inki:commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Scope:** designed for strapi/documentation (and its forks).
Scope: designed for strapi/documentation (and its forks).
$ARGUMENTS: optional commit message. If not provided, one is generated from the diff.
Read and follow ../_shared/commit-rules.md for: gathering context, validating/generating the commit message, and executing the commit.
Before staging, check if any changed files are protected:
.github/workflows/* -- deployment infrastructuredocusaurus/docusaurus.config.js -- core site configdocusaurus/sidebars.js -- navigation structureIf protected files are present, require double confirmation before including them:
If declined, commit only the non-protected files.
After a successful commit, push automatically if on a working branch:
BRANCH=$(git branch --show-current)
$BRANCH is main or next: do NOT push. Warn the user.git push -u origin $BRANCHnpx claudepluginhub strapi/documentation --plugin inkiCreates a git commit with an auto-generated conventional commit message from staged changes. Includes branch protection to prevent commits on main.
Creates semantic git commits with conventional commit format, stages changes safely, handles pre-commit hooks, and optionally pushes to remote.