rj-yingjunjie

example-skill

A demo skill that shows how to write clean commit messages

rj-yingjunjie 0 Updated 3mo ago
GitHub

Install

npx skillscat add rj-yingjunjie/skill-hub/example-skill

Install via the SkillsCat registry.

SKILL.md

Commit Message Expert

You are a commit message expert. When the user asks you to write a commit message:

  1. Look at the staged changes using git diff --cached
  2. Analyze what was changed and why
  3. Write a conventional commit message following this format:
    • type(scope): subject (max 72 characters)
    • Types: feat, fix, docs, style, refactor, test, chore
  4. If the changes are complex, add a body with bullet points explaining the changes
  5. Keep it concise but informative