/contributor-writing:feature-branch-pr-writingfrom contributor-writing
Drafts conventional-commit PR titles and narrative descriptions for Shopware core PRs targeting non-trunk feature branches. Analyzes diffs, detects related PRs in the chain, and asks targeted questions for missing context.
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.
Draft a PR title (conventional commit format) and description (narrative prose with topical subsections) for PRs targeting non-trunk feature branches. Analyzes the diff against the target branch, detects related PRs in the chain, and asks targeted questions for missing context.
Output scope: Presents formatted title + description text. Does not create or update PRs on GitHub. Does not write to any files.
Determine what we're working with: branch, target, PR status, diff, and chain.
references/branch-and-pr-detection.md and execute Steps 1-4. Route as feature-branch-pr-writing.gh CLI, or the API — whatever the session has)git diff <target>...HEAD --stat and git log <target>..HEAD --onelineUnderstand the full story of the branch relative to the target.
| File path pattern | Scope |
|---|---|
src/Core/Checkout/Cart/ | cart |
src/Core/Checkout/Order/ | order |
src/Core/Checkout/Promotion/ | promotion |
src/Core/Content/Product/ | product |
src/Core/Content/Media/ | media |
src/Core/Content/Category/ | category |
src/Core/Content/Cms/ | cms |
src/Core/Content/Mail/ | mail |
src/Core/Framework/DataAbstractionLayer/ | dal |
src/Core/Framework/App/ | app-system |
src/Core/System/SystemConfig/ | system-config |
src/Core/System/NumberRange/ | number-range |
src/Storefront/ | storefront |
src/Administration/ | admin |
src/Elasticsearch/ | elasticsearch |
For changes spanning multiple areas, use the scope of the primary story. If no specific scope fits, omit the parenthetical scope entirely: fix: description.
"This branch contains: (a) ..., (b) .... What's the primary story?"
Fill the gaps. Ask targeted questions only for information not in the diff, chain detection, or session context.
references/writing-rules.md to internalize style constraints and anti-slop rules.Generate the conventional commit title and narrative description.
references/description-examples.md for sizing calibration<type>(<scope>): <description>| Type | When to use |
|---|---|
fix | Bug fix |
feat | New feature or capability |
refactor | Code restructuring with no behavioral change |
perf | Performance improvement |
chore | Maintenance, dependency updates, tooling |
docs | Documentation only |
test | Test additions or corrections |
style | Code style (formatting, semicolons, etc.) |
Title description rules: imperative mood, lowercase first letter, no period, under ~60 characters after type/scope. Describe the behavioral change, not the implementation.
### subsections: each covers one concern or aspect of the change. Choose headers based on what the PR actually does, not from a fixed list. Good: "Event-based type override", "DI decentralization". Bad: "Changes", "What changed", "Updates".## References section at the end with cross-references: Ref #issue, Blocked by #PR, Follows #PR, Follow-up: #PR. Never use closes or fixes.Verify the draft against anti-slop rules, then deliver.
references/writing-rules.md, then check the draft literally (not from memory):
What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
shopware, pr-description, conventional-commits, feature-branch
5 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./commit-message-writingUse this skill when the user explicitly asks to generate, write, draft, or create a commit message, squash commit, commit title, or merge commit message for the Shopware core repository (shopware/shopware). Supports two modes — full commit messages (title + body) for branch commits, and squash merge titles (title-only) for trunk merges — the skill auto-detects which based on the current branch and PR target. Analyzes diffs, infers scope from Shopware's directory structure, and detects breaking changes. Do NOT activate during implementation work or when the user is still writing code; only when they are ready to capture a finished change. For commit messages in the ai-coding-tools marketplace repo itself, use the commit-message-generating skill instead./pr-description-writingUse this skill when the user asks to write, draft, create, or improve a PR description, is about to create a PR, or mentions "PR description", "pull request description", or "PR template" — AND that PR targets trunk in the Shopware core repository (shopware/shopware). The skill detects the target and only activates for trunk-targeting PRs; for PRs targeting a feature branch, use feature-branch-pr-writing instead. Do NOT activate mid-implementation — only when the user is ready to describe finished changes. Produces a conventional-commit title and a description following Shopware's 5-section template, leveraging the full branch diff against trunk and session context./release-info-writingUse this skill when the user is completing features, deprecations, or breaking changes in the Shopware core repository that affect external developers, or when they ask to write release info, upgrade entries, release notes, release documentation, or changelog entries — phrases like "write a release info entry for my changes", "add an upgrade note", "what goes in RELEASE_INFO", "draft an UPGRADE.md entry". Drafts entries for RELEASE_INFO-6.*.md and UPGRADE-6.*.md based on the full branch diff against trunk, calibrated to the magnitude of change. Do NOT activate mid-implementation, for internal refactoring, non-critical bug fixes, or test-only changes — those do not get release entries.npx claudepluginhub shopwarelabs/ai-coding-tools --plugin contributor-writingOther plugins' skills for the same job