From Endalk Skills
Create git commits using Conventional Commits. Use when the user asks to commit code, prepare a commit, write a commit message, or standardize commit history with conventional commit types, scopes, breaking-change markers, and safe git workflow checks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/Endalk Skills:conventional-commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create focused git commits using the Conventional Commits format.
Create focused git commits using the Conventional Commits format.
Use this structure:
<type>[optional scope][!]: <description>
[optional body]
[optional footer(s)]
Examples:
feat(auth): add password reset flow
fix(api): handle expired session tokens
docs: clarify deployment steps
refactor!: remove legacy payment adapter
Prefer these types:
feat: a new user-facing or externally observable capabilityfix: a bug fixdocs: documentation-only changesstyle: formatting or style-only changes that do not affect behaviorrefactor: code restructuring that neither fixes a bug nor adds a featureperf: performance improvementtest: adding or updating tests onlybuild: build system, packaging, or dependency changesci: CI configuration or workflow changeschore: maintenance work that does not fit another typerevert: revert a previous commitUse the most specific accurate type. Do not use feat unless the change adds a new capability. Do not use fix unless it corrects broken behavior.
Add a scope when it improves clarity:
api, auth, ui, deps, billing.Write the description in imperative mood, lowercase unless a proper noun requires capitalization.
fix(auth): reject expired tokensdocs: add local setup notesfixed auth token issueupdates stuffKeep the subject line concise, ideally 72 characters or less.
Mark breaking changes with ! after the type or scope and include a footer:
feat(api)!: require project id for exports
BREAKING CHANGE: Export requests must now include a project id.
Only mark a breaking change when existing consumers, persisted data, public APIs, commands, configuration, or documented behavior require migration.
Before committing:
git status --short to inspect modified, staged, and untracked files.git diff and git diff --staged to understand unstaged and staged changes.git log --oneline -n 10 to learn the repository's existing commit style..env, private keys, tokens, or credential JSON files, stop and ask before committing them.When staging:
git add <path>.git add . unless all changes have been reviewed and clearly belong together.When committing:
git commit -m "<conventional subject>" for simple commits.-m flags when a body or footer is needed.--no-verify unless the user explicitly asks.After committing:
git status --short to verify the commit succeeded and confirm any remaining changes are intentional.Choose the message from the actual diff, not from the user's phrasing alone.
Use this decision process:
docs.test.build unless it is purely CI.ci.fix.feat.refactor.perf.chore.If multiple unrelated changes are present, ask whether to split them into separate commits unless the user already specified grouping.
Add a body only when it adds useful context that the subject cannot capture.
Use the body to explain why the change was needed, notable behavior changes, migrations, or tradeoffs. Do not restate the file list.
Example:
fix(cache): avoid stale project permissions
Permission checks now include the role version in the cache key so role updates take effect without waiting for TTL expiry.
Use footers for metadata such as issues, breaking changes, or co-authors:
Closes #123
Refs #456
BREAKING CHANGE: The config file now uses `projectId` instead of `id`.
When done, respond briefly:
Committed `<hash>` with `type(scope): description`.
If no commit was created, explain why and list the blocker.
npx claudepluginhub endalk200/skillsCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.