vsadov/satori/jit-regression-test
Claude Code and agent skill by vsadov/satori
- community
Checking that the SKILL.md file is still in the repository.
Extract a standalone JIT regression test case from a given GitHub issue and save it under the JitBlue folder. USE FOR: creating JIT regression tests, extracting repro code from dotnet/runtime issues, "write a test for this JIT bug", "create a regression test for issue #NNNNN", converting issue repro to xunit test. DO NOT USE FOR: non-JIT tests (use standard test patterns), debugging JIT issues without a known repro, performance benchmarks (use performance-benchmark skill).
Install
npx vskill@latest install vsadov/satori/jit-regression-testSKILL.md
JIT Regression Test Extraction
🚨 Do NOT create a test when: the issue has no reproducible code and you cannot compose a minimal repro, the issue is a duplicate of an existing test underJitBlue/, or the bug is in libraries/runtime rather than the JIT compiler itself.
Extract a JIT regression test case from a GitHub issue into a properly structured test under src/tests/JIT/Regression/JitBlue/.
Step 1: Gather Information from the GitHub Issue
From the GitHub issue, extract:
- Issue number → folder/file name (e.g., #99391 →
Runtime_99391) - Reproduction code — if none provided, compose a minimal repro yourself
- Environment variables — any
DOTNET_*vars needed to reproduce - Expected behavior — correct output/behavior
Step 2: Create the Test Directory
Create a new folder under src/tests/JIT/Regression/JitBlue/:
Step 3: Create the Test File
Create a Runtime_<issue_number>.cs file following these conventions:
Example:
Key Conventions
- License header: Always include the standard .NET Foundation license header
- Class name: Match the file name exactly (
Runtime_<issue_number>) - Test method:
[Fact]attribute, namedTestEntryPoint() - Minimize the reproduction: Strip to the minimal case that triggers the bug
- Use `[MethodImpl(MethodImplOptions.NoInlining)]` when preventing inlining is needed to reproduce
Example: Simple Test (from Runtime_99391)
Step 4: Create a .csproj File or add to the existing Regression_*.csproj
A custom .csproj file is only required when:
- Environment variables are needed to reproduce the bug (such as
DOTNET_JitStressModeNames) - Special compilation settings are required
Otherwise, register the test file in the existing src/tests/JIT/Regression/Regression_*.csproj (Regression_ro_2.csproj is a good default) file and skip creating a new .csproj.
If a custom .csproj file is needed, it should be located next to the test source file with the following name: Runtime_<issue_number>.csproj. Example:
Tips
- No .csproj needed for simple tests — register the
.csfile inRegression_ro_2.csprojinstead. - Look at recent tests under
src/tests/JIT/Regression/JitBlue/Runtime_*when in doubt about current conventions.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/jit-regression-test/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vsadov/satori/jit-regression-test)