Commit message
A growing catalog of installable AI skills for Swift, SwiftUI, Xcode, testing, automation, and App Store delivery.
npx -y skills add Maples7/Apple-Dev-AI-Skills --skill commit-messageAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Draft a git commit message from current repository changes, current conversation, and session context. Use when writing a Conventional Commit, applying repository or team policy for scopes and footers, generating monorepo-aware commit text, or adding issue trailers without running git commit.
SKILL.md
3.6 KB, as published. Nobody here has run it
Commit Message
Generate a single high-quality git commit message from the current repository changes.
Use This Skill When
- the user asks for a commit message for current local changes
- the user wants the commit message to reflect the current conversation, not only the diff
- staged changes should take priority over unstaged work
- a Conventional Commit subject, body, or footer is needed
- the repository expects commit scopes, constrained commit types, or specific footers
- the repository is a monorepo and scope selection should follow package or workspace names
- the change should reference an issue from the branch name or conversation
- the user wants help deciding whether a diff should be split before committing
Required Operating Model
- Load the repository commit profile before drafting when one exists.
- Prefer staged changes whenever staged content exists.
- Use the actual diff plus session context so the message explains why the change happened, not only what changed.
- Detect likely issue references from the current branch name and recent conversation.
- Produce a commit message plus only the allowed short caveats; do not run
git commit.
Commit Profile
Look for a commit profile in one of these places before drafting:
commit-message-profile.yaml.ai/commit-message-profile.yaml.github/commit-message-profile.yaml- another path explicitly provided by the user
If no profile exists, fall back to the conservative defaults in commit profile reference and recommend adding a profile after the change when repository-specific rules matter.
Use assets/commit-message-profile.yaml as the template when a repository needs one.
Procedure
- Follow the inspection order in workflow.
- Apply the drafting rules in message rules.
- If the diff covers unrelated concerns, still produce the best single message you can. When strong split signals are present, also append a suggested split plan as described in workflow.
- Never run
git add,git commit, or otherwise modify the index or working tree. Splitting and validation are the user's decision.
Exit Criteria
- exactly one primary Conventional Commit message is produced for the current diff
- the message is written in idiomatic English
- the message satisfies the effective repository profile or conservative fallback rules
- staged versus unstaged scope is handled correctly
- required scope and footer conventions are applied when the evidence supports them
- any note after the message is high-confidence, commit-relevant, and non-speculative
- when split signals are strong, an additional
Suggested split plansection is appended; it is a proposal only and nogitcommands are executed - the output is ready for the user to copy into
git commit