stylecop

Analyze C# source code for style violations using a clean-architecture rule profile.

3|2|Updated Aug 1, 2025
One-click install
npx skills add https://github.com/ClearMeasureLabs/bootcamp-palermo-workorders --skill stylecop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stylecop
Source: https://github.com/ClearMeasureLabs/bootcamp-palermo-workorders/tree/main/.claude/skills/stylecop
Command: npx skills add https://github.com/ClearMeasureLabs/bootcamp-palermo-workorders --skill stylecop

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides consistent, clean-architecture-focused C# code style feedback without requiring external NuGet analyzer packages or complex build-time dependencies.

Core Features & Use Cases

  • Pragmatic Linting: Enforces modern C# conventions like file-scoped namespaces and underscore-prefixed private fields while ignoring outdated boilerplate requirements.
  • Targeted Reviews: Analyze specific files, folders, or only the changes in your current branch to maintain code quality before PR submission.
  • Use Case: Use this skill to perform a style review on your current branch to identify layout, ordering, and documentation issues before opening a pull request.

Quick Start

Use the stylecop skill to review all C# files changed in the current branch.

Frequently Asked Questions about stylecop

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

FAQPage Schema
How do I lint C# code for clean architecture style violations without adding NuGet packages?

Lint C# code for clean architecture style violations without external NuGet packages by running static analysis directly on your source files. This approach evaluates layout, element ordering, and documentation requirements, generating a structured report of warnings and suggestions.

Can I check C# style violations on only the files changed in my current git branch?

Yes, you can check C# style violations on specific files, folders, or only the changes in your current git diff. This targeted review identifies layout, ordering, and documentation issues before you open a pull request.

What modern C# conventions does a pragmatic clean-architecture style review enforce?

A pragmatic clean-architecture style review enforces modern C# conventions like file-scoped namespaces and underscore-prefixed private fields. It identifies style violations while ignoring outdated boilerplate requirements to maintain relevant code quality.

Does static code analysis for C# modify my codebase during a style review?

No, static code analysis for C# does not modify your codebase. It performs a read-only review of your project files or git diffs and generates a structured report of warnings and suggestions without altering the source code.

Do I need external analyzer dependencies to perform a C# code style review?

No, you do not need external analyzer dependencies to perform a C# code style review. The analysis runs independently without requiring complex build-time dependencies or external analyzer packages to generate feedback.