.skills/discourse-pr/SKILL.md
Look at the changes made in the current branch compared to the base branch (usually main). If we're not on a branch other than main, use the changes made in the current conversation session instead.
Also read the Claude Code System Prompt for additional context on what was done and why.
From those changes, generate a commit message and PR description following these exact Discourse conventions:
FIX: — A bug fixPERF: — A performance improvementUX: — A user interface changeSECURITY: — A security problem fixFEATURE: — An added featureA11Y: — An accessibility improvementI18N: — Translation updatesMT: — Changes to migrations toolingDEV: — A Discourse internals change that doesn't fit the aboveImmediately after the commit message, output a PR description using exactly this format:
Previously, [brief description of the old state or issue, in the past tense].
This change [brief description of the change and the effect it has, in the present tense].
Keep both sections extremely brief — ideally one sentence each. You may use markdown if it's useful (e.g. for short code snippets). Focus on the motivation for the change. 'why' is more important than 'what'.
fix:, feat:).UX: Improve `UserSelector` contrast for dark mode
Previously, the text in the `UserSelector` component was difficult to read on dark backgrounds due to low contrast.
This update changes the text color to use the `--primary-medium` CSS variable, which improves readability.
git diff main...HEAD (or fall back to session changes).