vcs-commit
Original:🇺🇸 English
Translated
Standardized git commits following Conventional Commits. Supports mapping to GitHub and GitLab.
1installs
Sourcediegocanepa/agent-skills
Added on
NPX Install
npx skill4agent add diegocanepa/agent-skills vcs-commitTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →VCS Commit
Conventional Commit Format
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]Types
- : New feature
feat - : Bug fix
fix - : Documentation
docs - : Formatting
style - : Refactor
refactor - : Tests
test - : Performance
perf - : Maintenance
chore
Breaking Changes
# Exclamation mark after type/scope
feat!: remove deprecated endpoint
# BREAKING CHANGE footer
feat: allow config to extend other configs
BREAKING CHANGE: `extends` key behavior changedWorkflow
- Stage: (Group changes logically).
git add <files> - Analyze: Use to understand changes.
git diff --staged - Drafting:
- Write in English only.
- Follow Conventional Commits.
- Use imperative mood ("add" not "added").
- MITM Confirmation: ALWAYS present the drafted commit message to the USER for approval before executing .
git commit - Commit:
git commit -m "<type>(scope): <description>"
Best Practices
- One logical change per commit
- Present tense: "add" not "added"
- Imperative mood: "fix bug" not "fixes bug"
- Reference issues: ,
Closes #123Refs #456 - Keep description under 72 characters
Git Safety Protocol
- No Secrets: Never commit API keys or credentials.
- NEVER run destructive commands (--force, hard reset) without explicit request
- NEVER skip hooks (--no-verify) unless user asks
- NEVER force push to main/master
- If commit fails due to hooks, fix and create NEW commit (don't amend)