Install
$ agentstack add skill-puku0x-agent-skills-test-git-commit ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Git Commit Skill
This skill guides the creation of Git commit messages that follow the Conventional Commits format.
When to Use
Use this skill when:
- Code changes are completed and ready to be committed
- Need to create a commit message that adheres to project conventions
Commit Message Format
The commit message must follow this format:
[optional scope]:
[optional body]
[optional footer(s)]
Instructions
- Check the staged files using
git diff --staged --name-only.
Ask user to stage changes if there are no staged files.
- Determine the appropriate commit type based on the staged files.
type must be selected from the following options:
feat: New feature or change to existing functionalityfix: Bug fixdocs: Documentation-only changes (e.g., changes to*.mdfiles)refactor: Refactoring (code changes that neither fix a bug nor add a feature)perf: Performance improvementstest: Adding or modifying tests (e.g., changes to*.spec.*or*.spec.*.snapfiles)build: Changes affecting the build system or external dependenciesci: Changes to CI configuration files (e.g., changes within.github/actionsor.github/workflows)chore: Other changes (e.g., changes to*.json,*.config.mjs,*.config.cjs,*.config.js,*.config.ts,.gitignore,.gitattributes,.prettierignore,.prettier)revert: Reverting a previous commit
- Determine the appropriate scope based on the staged files and the project structure.
scope should be determined based on the directory structure of the staged files. For example:
- If staged files are in
.claude/or.mcp.json, useclaude - If staged files are in
.github/, usegithub - If staged files are in
.vscode/, usevscode - If staged files are in
apps/frontend/, usefrontend - If staged files are in
libs/frontend/feature-xxx, usefrontend-feature-xxx - If staged files are in
libs/utils/, useutils - If staged files are in the root directory, do not set a scope
- Craft a comprehensive and descriptive commit message strictly following the Conventional Commits format.
Important NEVER include \n in the commit message. Always use actual newlines to separate the subject, body, and footer.
Example:
git commit -m "feat(utils): update xxx function
- Add xxx logic in xxx function
- Implement unit tests for xxx function
Co-Authored-By: Copilot "
Notes
- Important Commit messages must be written in English.
- If there are staged changes, determine the commit message based only on the staged changes.
- Always include
Co-Authored-Byinformation. The commit message must clearly indicate that it was created with Copilot.
References
- [Commit message](./references/commit-message.instructions.md)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: puku0x
- Source: puku0x/agent-skills-test
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.