/contributor-writing:commit-message-writingfrom contributor-writing
Generates conventional commit messages for the Shopware core repository. Auto-detects branch vs. squash merge mode, analyzes diffs, infers scope from directory structure, and detects breaking changes.
Ships in contributor-writing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate conventional commit messages for Shopware core. Squash merge titles (title-only) for trunk merges and full commit messages (title + body) for branch work.
Output scope: Presents formatted commit message text. Does not create commits, write files, or modify git state.
Determine what we're generating — a squash merge title or a branch commit message.
git show <sha> --name-status --format='' and git show <sha> --format=''references/branch-and-pr-detection.md and execute Steps 1-4. Route as commit-message-writing.git diff <base>...HEAD --stat and git diff <base>...HEADgit log <base>..HEAD --onelineAnalyze the diff to determine the commit type. Priority-ordered decision tree:
revertdocsstyletestbuildcifeatfixperfrefactorchoreWhen ambiguous (e.g., both feat and fix equally present), ask the user:
AskUserQuestion(
question="This branch contains both new functionality and bug fixes. Which type best represents the primary purpose?",
options=[
{label: "feat", description: "The main goal is new functionality"},
{label: "fix", description: "The main goal is correcting broken behavior"}
]
)
Delegate to references/scope-inference.md. Pass the list of changed file paths and the base branch (for commit history lookup in squash mode) or HEAD~20 (for branch mode).
Scan the diff for breaking changes:
If detected, add the ! marker after scope in the output.
Craft the subject line. Apply references/writing-rules.md.
Craft the body. Apply references/writing-rules.md.
BREAKING CHANGE: footer with brief descriptionBefore presenting, validate the generated message against references/writing-rules.md:
— and –. Replace any found.Squash mode:
type(scope): subject
Branch mode:
type(scope): subject
Body explaining why this change was made.
Or with breaking change:
type(scope)!: subject
Body explaining why this change was made.
BREAKING CHANGE: brief description of what breaks.
After the message, show brief reasoning (one line each):
feat — adds new maxLength parameter to attribute entity fieldsdal — all changes within DataAbstractionLayer, matches trunk historyDone. No file writes, no git operations beyond read-only commands.
What SKILL.md sets; muted values are Claude Code's defaults
sonnet5 skills in this plugin
/adr-writingUse this skill when the user asks to write, create, draft, or validate an Architecture Decision Record for the Shopware core repository — phrases like "write an ADR", "create an architecture decision record", "draft a decision record", "validate this ADR", "check ADR quality", or when they mention "ADR", "architecture decision record", or "decision record" in a context that calls for capturing or auditing an architectural decision. Interactively creates ADRs (simple or multi-domain structure) with proper YAML front matter and guided content, and validates existing ADRs against front matter rules, required coverage, structure, writing style, and Shopware-specific patterns./feature-branch-pr-writingUse this skill when the user asks to write, draft, create, or improve a PR description for a Shopware core repository PR — AND that PR targets a non-trunk feature branch (not trunk itself). Trigger phrases like "write a PR description", "draft the PR", "what should I put in the PR body". The skill detects the target branch and only activates for non-trunk targets; for trunk-targeting PRs, use pr-description-writing instead. Do NOT activate mid-implementation — only when the user is ready to describe finished changes. Produces a conventional-commit title and a narrative-prose description with topical subsections, leveraging the diff against the target branch and any related PRs in the chain.npx claudepluginhub shopwarelabs/ai-coding-tools --plugin contributor-writingOther plugins' skills for the same job