enkez/tgsopd/git-commit

Claude Code and agent skill by enkez/tgsopd

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Creates git commits following Conventional Commits format with type/scope/subject and detailed markdown body. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md. Each change type gets its own markdown heading (# emoji + type), with detailed item lists under each.

Install

npx vskill@latest install enkez/tgsopd/git-commit

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

Git commit

Creates git commits following Conventional Commits format with rich markdown body.

Recent project commits

!git log --oneline -5 2>/dev/null

Quick start

bash
# 1. Stage changes
git add <files>
# 2. Run pre-commit checks (MUST do before committing)
pre-commit run --all-files --show-diff-on-failure
# If it fails or auto-fixes files: re-stage with git add, then re-run until clean
# 3. Re-stage (pre-commit may have modified files)
git add <files>
# 4. Create commit with detailed markdown body
git commit -F /tmp/commitmsg.txt

Commit message structure

1. Subject line (first line)
type(scope): concise imperative description
2. Blank line

A mandatory blank line separating the subject from the body.

3. Markdown body (required for all non-trivial commits)

Use first-level headings (#) for each change type, second-level headings (##) for specific changes, bullet points for details, and --- separator between multiple types.

Type-to-emoji mapping:

TypeEmojiHeading Format
feat⭐# ⭐ Feature
fix🐛# 🐛 Bug Fix
refactor♻️# ♻️ Refactor
perf⚡# ⚡ Performance
test✅# ✅ Tests
docs📝# 📝 Documentation
ci🔧# 🔧 CI/CD
chore🔩# 🔩 Chore
style🎨# 🎨 Style
security🔒# 🔒 Security

Multi-type commits: Title uses the primary type; body uses a separate # heading with emoji for each type, separated by ---.

Multi-type body example:

markdown
# 🐛 Bug Fix
## Fix token expiration check
-Fix token expiration check that always returned false
---
# ♻️ Refactor
## Simplify validation logic
-Refactor auth middleware to use early return pattern
---
# ✅ Tests
## Add auth unit tests
-Add unit tests for edge cases
-Test token refresh flow

Single-type body example:

markdown
# ⭐ Feature
## Add user endpoints
-Implement GET /users/{id} endpoint
-Add POST /users for creating new users
-Include input validation middleware

Full example

bash
printf 'feat(skills): add code-review skill with checklists
# ⭐ Feature
## Add code-review skill with reference documentation
- SOLID principles checklist
- Python/ML best practices
- Security review guidelines
' > /tmp/commitmsg.txt
git commit -F /tmp/commitmsg.txt
rm /tmp/commitmsg.txt
Note: HEREDOC with git commit -m can fail with emoji/unicode.
Always prefer printf ... > /tmp/commitmsg.txt && git commit -F /tmp/commitmsg.txt && rm /tmp/commitmsg.txt.

Important rules

  • ALWAYS run pre-commit run --all-files --show-diff-on-failure before git commit, then git add again to stage any auto-fixed changes
  • ALWAYS include scope in parentheses (kebab-case)
  • ALWAYS use present tense imperative verb for the subject
  • ALWAYS include a markdown body with heading(s) for non-trivial commits
  • ALWAYS prefer git commit -F <tmpfile> for commits with markdown body
  • NEVER end subject with a period
  • NEVER exceed 50 chars in the subject line
  • NEVER use generic messages ("update code", "fix bug", "changes")
  • NEVER push -- only create local commits. The user will push when ready.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/enkez/tgsopd/git-commit/badge)](https://verified-skill.com/skills/enkez/tgsopd/git-commit)

Something wrong with this skill or its page? Tell us.