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.
Use when adding a new upcoming change feature flag to Discourse - handles site settings, translations, images, and code access patterns
MUST load before writing or reviewing any database migration (db/migrate, db/post_migrate, plugin migrations)
Use when modifying, debugging, or extending the upcoming changes framework code and system itself.
Capture screenshots of the local Discourse site across the two core themes (Foundation, Horizon) and color modes (light, dark). Use when the user asks for "screenshots of themes", "light/dark mode shots", or similar.
Use when refreshing the default LLM presets shipped with Discourse AI — model versions, pricing, context windows, vision flags, and the matching `model_description` i18n keys.
Generate a Discourse-style commit message and PR description from current changes
Use when creating, editing, or reviewing Discourse service objects that include Service::Base - covers contracts, models, policies, steps, transactions, controller integration, and service specs