跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/managedcode/PrompterOne/dotnet-stylecop-analyzers

Codex StyleCop Analyzer Configuration for C# Projects

Inspect .NET StyleCop settings, rule severities, and options specific to the analyzer.

中文

Install in Codex

Use the .NET SDK, a project with StyleCop.Analyzers, and its `.editorconfig` plus optional `stylecop.json`.

  1. Copy the pinned `.codex/skills/dotnet-stylecop-analyzers/` directory into `.agents/skills/dotnet-stylecop-analyzers/` in the project.
  2. Identify the `.csproj`, read the nearest `AGENTS.md`, and confirm the package reference and existing rules.

Example task

In a StyleCop-enabled `Demo.csproj`, inspect `SA1200` for placement of `using` directives. Build with `dotnet build Demo.csproj` and compare examples on each side of the namespace.

What to check

Build diagnostics match the configured placement rule and severity, with references to the relevant source and settings.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Where should I configure a rule's severity?

Set diagnostic severity in `.editorconfig` and keep StyleCop-specific behavior options in `stylecop.json`.

Related skills from this repository

  • Codex .NET Stylelint for wwwroot CSS and SCSS
  • Codex .NET ESLint for React and TypeScript Frontends
  • Codex .NET Format Verification with dotnet format
Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯