/rider-skills:ue-test-authoringfrom rider-skills
Writes and modifies Unreal Engine automated tests (Automation, CQTest, Functional, Gauntlet, Catch2) using file tools and JetBrains Rider MCP tools for symbol lookup and diagnostics.
Ships in rider-skills. 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.
Write Unreal Engine automated tests in the project's own style. Author the test with your own file tools, audit it against the behavior the user actually asked to be covered, and use Rider for what an IDE knows and grep does not: the resolved API under test, registration and include diagnostics, solution code style, and builds.
Glob for *.uproject at the root. If there is none, stop and say the task must run from the UE project root..uproject, the test module's Build.cs, one nearby test that already uses the same framework, and the declaration of the API under test.| Job | Use |
|---|---|
| Find test files or modules by name or glob | Glob |
| Find text on disk (test macros, helper names, tag strings) | Grep |
| Read a file, or a range of it | Read (with offset/limit) |
| Create or change test source | Write / Edit |
| Resolve the API under test when the IDE index knows it (engine headers, generated/reflected code, other modules) | Rider search_symbol |
| Confirm a contract at a known position (nullable return, editor-only, preconditions) | Rider get_symbol_info |
| Registration, include, and reflection diagnostics; formatting; build | Rider get_file_problems, lint_files, reformat_file, build_solution_* |
Do not shell out through Bash for rg, find, sed, cat, head, or tail — the dedicated tools are cheaper and give clickable results. Keep Bash for git and for toolchain commands the task genuinely requires.
Use TodoWrite only when the work spans three or more files or has ordered dependencies; a single new test file does not need a checklist. For wide discovery in an unfamiliar test suite ("which framework does this project use", "where do PIE network tests live"), one Explore subagent is worth it — but keep the test authoring, the coverage audit, and the diagnostics in the main thread where you can see the source.
Rider is reached through a router tool — execute_tool(command="<tool> --flag value ...") — and, on configurations that expose them, through the individual tools directly.
In Claude Code the tool name is namespaced by the MCP server key from the environment's config: mcp__<key>__execute_tool. The key is not knowable in advance — rider in a local IDE, ide-headless-mcp in a headless eval container, jetbrains or ide elsewhere, and it may contain hyphens. Never type a prefix from memory. Resolve it once, by bare name:
ToolSearch(query="+execute_tool", max_results=5)
+<bare_name> requires that substring in the tool name and ignores the prefix, so one call returns the exact namespaced name and its schema. Call that name back verbatim and reuse the prefix for the rest of the session. If several servers match, take the one whose description names the IDE. The same search resolves anything else in this skill — +lint_files, +get_file_problems, +search_symbol — and where the individual tools are exposed, a direct typed call beats hand-serializing flags into the router. If nothing matches at all, there is no Rider: keep writing correct test source and state plainly that Rider diagnostics were skipped.
Every Rider tool also takes rootFolder. Pass the solution root whenever it is not the current working directory — otherwise the call fails with doesn't correspond to any open project and lists the projects that are actually open. Take the path from that list and reuse it.
| Need | Command |
|---|---|
| Find existing tests for a framework or feature | search_text --q IMPLEMENT_SIMPLE_AUTOMATION_TEST (or TEST_CLASS, DEFINE_SPEC) |
| Find test files | search_file --q '*Tests*.cpp' |
| Find the API under test | search_symbol --q <name> |
| Confirm a contract after reading the file | get_symbol_info --filePath <path> --line <n> --column <n> |
| Trace what the method under test calls or needs | analyze_calls --symbolFqn <FullyQualifiedCallable> --analysisKind OUTGOING_CALLS |
| Check one changed test file | get_file_problems --filePath <path> |
| Check several changed files | lint_files --files '["Source/FooTests/Private/FooTests.cpp"]' |
| Build through Rider, for broad changes only | build_solution_start, then poll build_solution_state until state is not Running |
| Project-wide problems after a successful build | get_project_problems |
| Reformat changed files | reformat_file --files '["Source/FooTests/Private/FooTests.cpp"]' |
Command syntax:
--flag takes a value — bare flags are not supported. Booleans need an explicit true/false.--files '["Source/FooTests/Private/FooTests.cpp"]'.search_text, search_regex, search_file, and search_symbol all take --q — not --query. search_symbol finds project symbols only; add --include_external true for an engine or SDK symbol, which is common when the API under test is engine-side.analyze_calls is name-based: --symbolFqn plus --analysisKind, never a path/line/column. get_symbol_info is the position-based one.get_file_problems returns errors only by default; add --errorsOnly false when warnings or style suggestions matter.lint_files defaults to --min_severity warning (includes suggestions and hints); --min_severity error is the strict gate.Missing required parameters: … and Tool '<x>' not found are input mistakes, not tool failures — correct the flag or the name and retry once. Fall back to source-only work only if no router or tool is available at all, or a call actually ran and failed in a way no input change fixes.Grep, git diff, or build just to confirm a clean diagnostic, lint, format, or build.Independent calls belong in one message — get_file_problems for two changed files, or a search_symbol plus a search_text, as parallel calls rather than one round trip each.
Pick the minimal framework that covers the requested test. Read reference/ue-test-patterns.md when choosing a framework or writing its boilerplate.
| Need | Preferred framework |
|---|---|
| Pure C++ logic, no UObject | LowLevelTestsRunner / Catch2 |
| Simple one-off C++ assertion | Automation IMPLEMENT_SIMPLE_AUTOMATION_TEST or CQTest TEST |
| C++ class or subsystem with setup/teardown | CQTest TEST_CLASS |
| Grouped BDD-style behavior | Automation DEFINE_SPEC |
| Multi-frame async behavior | CQTest TestCommandBuilder |
| Server/client replication in PIE | CQTest PIENetworkComponent |
| Actor behavior in a real level | Functional Test |
| Full game startup, stability, or performance CI | Gauntlet |
Match the framework the project already uses unless the user asks for a different one. A heavier framework than the behavior needs — a map, PIE, or Gauntlet for logic that is testable in-process — is a defect, not thoroughness.
Edit/Write.get_file_problems per file, in parallel;Build.cs change → a single lint_files call.After Edit/Write there is nothing to save: Rider refreshes each file from disk before it analyzes, formats, or refactors it. Two consequences — reformat_file rewrites files on disk, so run it last and Read a file again before editing it further; and if this project installs Rider's PostToolUse quality-check hook, the hook output you already got after an edit is the analysis (it blocks on errors, reports warnings, and skips reformatting for C/C++ while still inspecting it) — fix what it reports instead of re-running the same check.
Use the full quality path only when creating a new test module, adding a framework, changing Build.cs, changing module/plugin/target files, or touching several files:
get_file_problems / lint_files on changed files → fix errors and relevant warnings.reformat_file is clean, or a build has already compiled that file successfully.build_solution_start; poll build_solution_state; fix build errors.get_project_problems after a successful build, filtered to changed files.reformat_file on the changed files.In a containerized eval workspace, do not run build_solution_start for a source-only single-test-file change when no .Build.cs, module, plugin, target, or framework dependency changed. The verifier performs the authoritative clean build and automation run. Do not go hunting for engine scripts or hand-run UBT either — spend the turn on correct test source, focused diagnostics, and an honest report of what could not be verified.
Before any build-only validation and before your final message, turn the requested behavior into a short list of what the test must actually prove, and compare it to the test you wrote. Clean diagnostics and a green build show the test compiles and registers; they show nothing about whether it exercises the requested behavior.
Check every item that applies:
Editor or Test module, uses the framework's exact registration macro, and carries a valid context flag plus a product/engine filter. A test that never registers silently passes CI.Build.cs dependencies that satisfy them, added to the test module..Until(), FDoneDelegate, the latent command's done callback), never immediately after queuing.If an item is uncertain, Read the relevant declaration or a narrow range around it. Do not infer coverage from a green build. Do not run git diff/git status unless a .git directory exists in or above the workspace.
RunTest returns bool — return true only after setup and assertions have actually completed..Until() or the equivalent completion hook.#define protected public around only the tested header include. Do not escalate to maps, PIE, Functional Tests, Blueprint tests, or Gauntlet unless the behavior truly needs them.lint_files weak warnings about that narrow #define protected public shim are acceptable when the protected hook is the API under test. Do not rewrite the test into an indirect path that stops exercising the hook just to silence them.UAttributeSet or its attribute-change hooks.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jetbrains/rider-skills --plugin rider-skills6 skills in this plugin
/debugging-codeUse for debugger-driven runtime root-cause analysis in Rider-supported solutions and projects, including .NET/C#, F#, VB, C++, Unity, Unreal Engine, and other GameDev or mixed-language projects. Trigger when runtime state or control-flow evidence is needed — actual values, branch taken, call order, thread context, whether execution reaches a chosen line — and cannot be derived confidently from source or logs; when pinning the relevant path would otherwise mean reading many files or tracing a deep call chain; or on an explicit request to debug, set breakpoints, step, or inspect runtime values. Do not use for compile-time or syntax errors, source-obvious bugs, failures already pinpointed by logs/tests, or code merely named debug/Debugger./finding-testsLocates existing tests for a given C# class and method using the test coverage data supplied by IDE. Triggers ONLY for C# production code (`.cs` files in a Rider .NET solution) when generating new tests, adding test coverage, finding existing tests, or when the user mentions uncovered lines, test files, or test suites. Must be used before writing or editing C# test code when finding already existing tests is necessary. Do NOT invoke for non-C# languages — the underlying tool only understands C# symbols and will not return useful results./refactoring-codeUse for any refactoring in a solution open in Rider (.NET/C#, F#, VB, C++, Unity, Unreal Engine, XAML, Razor, GameDev and mixed-language projects) — rename a type, member or namespace (including fixing a typo in one), rename a property together with related parameters, change a method signature, move a type to another namespace, delete unused or obsolete types and members (dead-code cleanup, even whole files), extract an interface, base class or method, or reorganize namespaces. Use it even when the change looks like a one-file edit: the IDE tool applies it, and every reference, in one call. Read this SKILL.md in a command of its own (nothing chained after it) before the first `execute_tool` call: it holds the command syntax. Do not use for file-only moves, config keys, string literals, comment text, generated output, or logic changes with unchanged names/signatures./ue-code-authoringUse when writing or modifying Unreal Engine C++ — classes, actors, components, subsystems, interfaces, ability-system (GAS) code, module dependencies, reflected UPROPERTY/UFUNCTION API, native gameplay tags, and testable gameplay behavior — in a project open in JetBrains Rider. Source changes go through Read/Grep/Glob/Edit/Write; Rider supplies symbol search, code analysis, formatting, and builds through its MCP execute_tool. Do not use for Blueprint-only tasks or editor automation with no C++ authoring./ue-live-debuggingUse when debugging UE C++ crashes, runtime bugs, or unexpected behavior with Rider MCP available. Value over bash/grep: analyze_calls traces C++ call hierarchies (ReSharper backend); get_file_problems surfaces IDE-detected issues; get_symbol_info confirms API contracts; xdebug_set_breakpoints sets live breakpoints; ue_execute_python queries live PIE state. DO NOT TRIGGER for: pure build errors with no runtime component, net-new feature work, Blueprint-only work. When Rider MCP is unavailable, runs in reduced mode — Bash/Grep only, IDE diagnostics skipped.Other plugins' skills for the same job