code-review

Automate pre-commit quality validation for .NET projects in git workflows.

1|Updated Jul 21, 2025
One-click install
npx skills add https://github.com/dpalfery/motorcycle-rag-system --skill code-review-dpalfery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/dpalfery/motorcycle-rag-system/tree/main/.factory/skills/code-review
Command: npx skills add https://github.com/dpalfery/motorcycle-rag-system --skill code-review-dpalfery

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents unverified code from being submitted by enforcing automated quality checks and reviewer validation before commits or PRs.

Core Features & Use Cases

  • Pre-commit quality validation with Roslyn analyzer and Snyk/SonarLint checks to catch issues early.
  • Orchestrates a code-review workflow by invoking a dedicated code-reviewer sub-agent and requiring reviewer approval before finalizing tasks.
  • Applies to .NET/C# projects within git workflows, ensuring builds are clean and policies are enforced prior to merging.

Quick Start

Run the analyzer checks and ensure the build is clean before finalizing any task.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce pre-commit code quality validation for .NET projects?

Pre-commit code quality validation for .NET projects is enforced by running Roslyn analyzers and SonarLint checks to ensure builds are clean and prevent unverified code from being submitted. This automated quality validation runs during git workflows.

What is the best way to automate code review approval before a git commit or pull request?

Automating code review approval before a git commit or pull request requires orchestrating a workflow that invokes a dedicated code-reviewer sub-agent. This sub-agent enforces reviewer validation and requires explicit approval before finalizing tasks.

Does this code review workflow support C# projects using SonarLint and Roslyn analyzers?

Yes, this code review workflow supports C# projects by applying Roslyn analyzer and SonarLint checks. It ensures .NET builds pass with no analyzer warnings before allowing commits or pull requests to be finalized.

How do I prevent unverified code from being submitted through CI-CD pipelines?

Preventing unverified code from being submitted through CI-CD pipelines involves enforcing automated analyzer checks and reviewer validation. The build must pass with no analyzer warnings, and sub-agent reviewer approval is required before finalizing.

Can I require sub-agent reviewer approval before finalizing git pull requests?

Yes, you can require sub-agent reviewer approval before finalizing git pull requests. The workflow coordinates analyzer checks and mandates invoking the code-reviewer sub-agent to complete the review and grant approval.