onfire7777/universal-ai-skills-library/pre-pr
Claude Code and agent skill by onfire7777/universal-ai-skills-library
- community
Checking that the SKILL.md file is still in the repository.
Run mandatory pre-PR quality checks for .NET projects before creating a pull request. Use before creating any PR, or when the user says "prepare for PR", "pre-PR checks", or "quality gate".
Install
npx vskill@latest install onfire7777/universal-ai-skills-library/pre-prSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/pre-pr.
Prerequisites
Check that required tools are available:
If roslynator is not found:
If quickdup is not found:
- Pinned source install:
go install github.com/asynkron/Asynkron.QuickDup/cmd/quickdup@v0.5.2
About
This is a mandatory quality gate to run before creating any pull request in a .NET project. It ensures code is analyzed, compiles cleanly, tests pass, duplication is checked, and code is formatted — in that order.
Do NOT skip any steps. Do NOT create a PR if any step fails. Iterate until all checks pass.
Determine Paths
If $ARGUMENTS is provided, use it as the project/solution path. Otherwise, look for a .sln or .csproj in the current directory.
Also determine the source directory for quickdup scanning (typically src/ or the project root).
Step 1: Roslynator Fix
Run static analysis and auto-fix code issues:
Then verify compilation:
If build fails: Fix the issues and rerun roslynator before proceeding.
Step 2: Run Tests
Handle failures:
- Flaky tests: Rerun to confirm
- Broken tests: Fix before proceeding
- All tests MUST pass before moving to step 3
Step 3: Check for Code Duplication
If new duplications are found:
- Refactor to eliminate duplications (see
/quickdupfor refactoring patterns) - Go back to Step 1 (roslynator fix)
- Repeat until no new duplications
Step 4: Format Code
Step 5: Final Verification
Confirm all checks passed:
- [ ] Roslynator fix applied
- [ ] Code compiles cleanly
- [ ] All tests pass
- [ ] No new code duplications
- [ ] Code formatted
Step 6: Create PR
Only after ALL checks pass, create the pull request.
Important
- Do NOT skip any steps
- Do NOT create PR if any step fails
- Steps are ordered intentionally — roslynator before build, build before test, duplication check may loop back to step 1
- Iterate until all checks pass
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 repositoryCheckingskills/pre-pr/SKILL.md
Popularity
- Repository stars
- 16
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Nov 2026, 13 days ago.
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/onfire7777/universal-ai-skills-library/pre-pr)