discourse-pr
Generate a Discourse-style commit message and PR description from current changes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate a Discourse-style commit message and PR description from current changes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when modifying, debugging, or extending the upcoming changes framework code and system itself.
Use when adding a new upcoming change feature flag to Discourse - handles site settings, translations, images, and code access patterns
Write and structure JavaScript/QUnit tests for Discourse core, plugins, and themes. Use when creating or modifying unit tests (lib/utility/service/model), component rendering tests, integration tests, or acceptance tests. Covers module naming, setupTest/setupRenderingTest/setupApplicationTest, fixtures, the qunit-helpers toolbox, pretender, and qunit-dom assertions.
Use when adding, modifying, or reviewing Discourse content localization for core models or plugin models. Covers Localizable models, localization tables, source locale handling, hot-route serializer preloading, fallback behavior, manual editing UI, discourse-ai backfill/detection boundaries, plugin dependency constraints, and tests.
Use when creating, editing, or reviewing Discourse access-control-list features built on AccessControlList, AclTarget, Guardian ACL helpers, AccessControlListManager, mandatory_acl, banned_acl, Site access_control metadata, plugin ACL target registration, or the DAccessControl UI component.
Write and structure RSpec tests for Discourse core, plugins, themes, or theme components. Use when creating or modifying model specs, controller specs, service specs, job specs, system tests, or integration tests. Covers fabricators, page objects, test structure, and theme test setup.
| name | discourse-pr |
| description | Generate a Discourse-style commit message and PR description from current changes |
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).