.agents/skills/style_and_commit/SKILL.md
When you are asked to commit changes, you MUST use the Conventional Commits specification.
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
Before staging and committing files, you MUST ensure that all repository formatting and styling guidelines are met by running the unified pre-commit script:
pre_commit.sh script. Depending on where this skill is
installed, it will be at one of these paths:
./.agents/skills/style_and_commit/scripts/pre_commit.sh (Local Repo)~/.gemini/config/skills/style_and_commit/scripts/pre_commit.sh (Global)
Execute the path that exists. This script automatically:shellcheck on any modified shell scriptsgit add ...) and
commit using git commit -m "...".feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the code (white-space,
formatting, missing semi-colons, etc)refactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testsbuild: Changes that affect the build system or external dependencies
(example scopes: gulp, broccoli, npm)ci: Changes to our CI configuration files and scripts (example scopes:
Travis, Circle, BrowserStack, GitHub Actions)chore: Other changes that don't modify src or test filesrevert: Reverts a previous commitfeat(parser): add ability to parse arrays.fix as the commit type and ci as the scope (e.g.
fix(ci): <description>), rather than using ci as the type.