<< All versions

Skill v1.0.1

currentAutomated scan100/100
mattlindell/photon-plugins/commit

+3 new

──Details
PublishedNovember 7, 2026 at 03:28 AM
Content Hashsha256:ad6e33c02cf1d085...
Git SHA22594ed86479
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.8 KB)
SKILL.md2.8 KBactive
SKILL.md · 94 lines · 2.8 KB

name: commit description: Use when the user asks to commit changes, write commit messages, or review staged work for committing user-invocable: true metadata: version: "1.0.1"


Commit

Generate atomic, well-formatted commits using conventional commits with gitmoji.

Workflow

  1. Gather state — Run git status and git diff --staged. Also check git diff for unstaged changes to understand the full picture.
  1. Analyze changes — Identify logical groupings of related changes.
  1. Decide whether to split:
  • Obviously distinct changes (e.g., frontend code vs documentation, unrelated features) → auto-split into separate commits and inform the user.
  • Ambiguous groupings → propose the split and ask for confirmation.
  1. Generate commit message for each commit:
  • Select gitmoji from references/gitmoji-reference.md
  • Determine conventional commit type and scope
  • Write 1-line summary: imperative mood, under 50 characters, no trailing period
  • Add body only when the change warrants explanation (the "why", not the "what")
  • Add footer for breaking changes or issue references
  1. Stage and commit — Stage the relevant files for each logical commit and execute.
  1. Report — Show what was committed.

Commit Format

text
<emoji> <type>(<scope>): <summary>
[optional body — explains WHY, not WHAT]
[optional footer — breaking changes, issue refs]

Rules

  • Imperative mood ("add" not "added")
  • Summary under 50 characters
  • No period at end of summary
  • One logical change per commit
  • Body explains motivation, not implementation details
  • Breaking changes: add ! after type and include BREAKING CHANGE: footer

Types

TypePurpose
featNew feature or functionality
fixBug fix
docsDocumentation changes
styleCode formatting, structure improvement
refactorRestructuring, no behavior change
perfPerformance improvement
testAdding or updating tests
choreConfig, tooling, maintenance
ciCI/CD pipeline changes
revertReverting a previous commit

Examples

Single commit:

text
✨ feat(auth): add JWT token refresh
Support automatic token refresh when access token expires.
Refresh tokens stored in httpOnly cookies.

Multi-commit split (auto):

text
# Commit 1:
♻️ refactor(api): extract validation into middleware
# Commit 2:
📝 docs(api): update endpoint documentation

Breaking change:

text
💥 feat(api)!: restructure response format
BREAKING CHANGE: All responses now follow JSON:API spec.
See migration guide in docs/migration-v2.md.
← v1.0.0All versions