Agent skill

Quality CI

by managedcode in managedcode/dotnet-skills

Set up or refine open-source .NET code-quality gates for CI: formatting, .editorconfig, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning.

MITAuto-check passedTesting & QA

Install Quality CI

skills CLI
$ npx skills add managedcode/dotnet-skills --skill quality-ci -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/dotnet-skills quality-ci --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/dotnet-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/catalog/Tools/Quality-CI/skills/quality-ci .claude/skills/quality-ci && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
quality-ci
GitHub stars
486
Token cost
~2.1k tokens
SKILL.md length
983 words
Files
6 (incl. references)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Set up or refine open-source .NET code-quality gates for CI: formatting, .editorconfig, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning.

  • Works in 3 steps: Read the nearest AGENTS.md and confirm… → Run this skill's Workflow through the… → Return the Required Result Format with…
  • : .NET quality gates in CI
  • SKILL.md covers Trigger On, Value, Do Not Use For and Inputs, plus 9 more sections
  • Calls dotnet

What it does

Quality CI is an agent skill from managedcode/dotnet-skills. Set up or refine open-source .NET code-quality gates for CI: formatting, .editorconfig, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning. USE FOR: .NET quality gates in CI; analyzer, coverage, mutation, and architecture-test choices; standardizing .editorconfig, dotnet format, and warning policy. DO NOT USE FOR: non-.NET repositories; generic CI/CD guidance with no .NET quality stack decisions. INVOKES: inspect the repository context, edit targeted files…

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `manifest.json`, `references/checklist.md` and `references/editorconfig-and-ci.md`). Compatibility notes: Requires a .NET solution or project; may update AGENTS.md, CI workflows, a repo-root .editorconfig, Directory.Build.props, or analyzer package references.

It sits in Testing & QA, covering Quality gates, Test coverage and Codebase knowledge for agents. It works with .NET. The repository describes itself as: Installable .NET skill catalog and CLI for Codex, Claude Code, GitHub Copilot, and Gemini. The licence is MIT.

When your agent uses it

  • : .NET quality gates in CI
  • Architecture-test choices
  • Standardizing .editorconfig
  • : non-.NET repositories

Example prompts

  • “/quality-ci”

Requirements

  • Compatibility (from SKILL.md): Requires a .NET solution or project; may update `AGENTS.md`, CI workflows, a repo-root `.editorconfig`, `Directory.Build.props`, or analyzer package references.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

What it can do on your machine

Read from SKILL.md and the folder at commit 535dd55. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dotnet

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires a .NET solution or project; may update `AGENTS.md`, CI workflows, a repo-root `.editorconfig`, `Directory.Build.props`, or analyzer package references.

    From compatibility in the SKILL.md frontmatter.

Context cost

Quality CI loads about 2.1k tokens when it runs, and up to ~8.9k if it reads all its reference files. Until then it costs about 154 tokens; SKILL.md has 983 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~154
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from managedcode/dotnet-skills at commit 535dd55, republished under its MIT licence (© managedcode). 983 words, ~2,109 tokens.

Download SKILL.mdSave it as .claude/skills/quality-ci/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
quality-ci
description
Set up or refine open-source .NET code-quality gates for CI: formatting, `.editorconfig`, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning. USE FOR: .NET quality gates in CI; analyzer, coverage, mutation, and architecture-test choices; standardizing `.editorconfig`, `dotnet format`, and warning policy. DO NOT USE FOR: non-.NET repositories; generic CI/CD guidance with no .NET quality stack decisions. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
compatibility
Requires a .NET solution or project; may update `AGENTS.md`, CI workflows, a repo-root `.editorconfig`, `Directory.Build.props`, or analyzer package references.

.NET Quality CI

Trigger On

  • adding or tightening .NET code-quality gates in CI
  • choosing analyzers, coverage, mutation, or architecture-test tooling for a .NET repo
  • standardizing .editorconfig, dotnet format, and warning policy

Value

  • produce a concrete project delta: code, docs, config, tests, CI, or review artifact
  • reduce ambiguity through explicit planning, verification, and final validation skills
  • leave reusable project context so future tasks are faster and safer

Do Not Use For

  • non-.NET repositories
  • generic CI/CD guidance with no .NET quality stack decisions
  • framework-specific test authoring with no quality-gate change

Inputs

  • the nearest AGENTS.md
  • the current repo-root .editorconfig and MSBuild props
  • the current CI workflow and package references
  • the active test runner model: VSTest or Microsoft.Testing.Platform

Quick Start

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

Workflow

  1. Start with the repo-native baseline:
    • repo-root .editorconfig
    • dotnet format --verify-no-changes
    • SDK analyzers with explicit EnableNETAnalyzers, AnalysisLevel, and warning policy
  2. Add third-party analyzers only where they close a real gap:
    • StyleCopAnalyzers
    • Roslynator
    • Meziantou.Analyzer
    • framework analyzers such as xUnit, MSTest, or TUnit analyzers
  3. Separate quality gates by purpose:
    • formatting and style
    • correctness and static analysis
    • coverage and reports
    • architecture rules
    • security scanning
    • mutation testing
  4. For complexity, use a composite approach:
    • CA1502 thresholding
    • maintainability limits in AGENTS.md
    • architecture tests
    • coverage and mutation where risk justifies it
  5. Make ownership explicit in AGENTS.md and CI:
    • which command formats
    • which command analyzes
    • which command measures coverage
    • which runner model the tests use
  6. After any .NET code change, the repo's quality pass must be runnable by agents:
    • format
    • build
    • analyze
    • focused tests
    • broader tests
    • coverage and report generation when configured
    • extra configured gates only when the repo actually enabled them
  7. Route tool-specific setup through dedicated skills where possible:
    • format
    • code-analysis
    • analyzer-config
    • analyzer-pack skills such as stylecop-analyzers, roslynator, and meziantou-analyzer
    • frontend asset quality skills in mixed .NET plus Node repos such as eslint, stylelint, htmlhint, webhint, biome, sonarjs, metalint, and chous
    • coverage/reporting skills such as coverlet and reportgenerator
    • architecture/security skills such as netarchtest, archunitnet, and codeql
  8. Avoid overlapping tools with conflicting ownership. If you add an opinionated formatter, define whether it replaces or complements dotnet format.

Test Output Budget

  • Keep native runner progress and ANSI enabled (--progress on --ansi on for supported MTP/TUnit runners); use a PTY locally. Do not replay progress redraws into model context. Use the detected runner's flags, not MTP switches on VSTest.
  • Show warnings and errors plus one final summary (counts, duration, exit code). Configure test-owned console logging at Warning; keep Information/Debug/Trace, successful-test output, and expected negative-test noise out of context. Quiet build verbosity alone does not filter application logs.
  • On failure, crash, startup error, or timeout, show the failing test/resource, root exception, and relevant stack frames. Deduplicate; cap each diagnostic tool response at 80 lines / 8 KiB, whichever comes first. Never automatically dump stdout/stderr, host logs, browser console history, DOM/HTML, TRX, or crash artifacts.
  • Keep necessary diagnostics in size-bounded or rotating artifacts and link them. Search by exact failure/correlation; read bounded excerpts, never whole logs. Capture/filter noisy output before tool delivery, preserve the real exit code, and disclose truncation. Monitor actual activity; silence alone does not prove a hang.
Show full SKILL.md (437 more words)Show less

Bootstrap When Missing

If a quality gate is requested but not configured, use this activation path:

  1. Detect current state in .csproj, Directory.Build.*, .editorconfig, tool manifests, and CI workflow files.
  2. Choose exactly one owner command per gate category (format, analyze, test, coverage, architecture, security, mutation).
  3. Install the minimal required package or tool and commit checked-in config files.
  4. Wire the gate into both AGENTS.md and CI with explicit commands.
  5. Run a first verify pass, fix actionable failures, and rerun.
  6. Return status: configured if newly enabled and passing, or status: improved if issues remain but baseline improved.
  7. Return status: not_applicable only when the gate is explicitly out of scope for this repo.

Deliver

  • a documented .NET quality baseline
  • CI commands that are explicit and reproducible
  • analyzer and coverage choices that match the repo's runner model
  • a documented post-change quality pass for agents and CI
  • tool selection that stays open-source and free by default, with caveats called out explicitly

Validate

  • repo-root .editorconfig is the default source of truth for per-rule severity
  • formatting, analyzer, and coverage commands are runner-compatible
  • added tools cover distinct gaps instead of duplicating each other
  • complexity and architecture policy are explicit, not implied
  • .NET code changes are expected to pass more than tests alone when quality gates are configured
  • any licensing or hosting caveat is documented before the tool becomes a default gate

Ralph Loop

Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.

  1. Plan first (mandatory):
    • analyze current state
    • define target outcome, constraints, and risks
    • write a detailed execution plan
    • list final validation skills to run at the end, with order and reason
  2. Execute one planned step and produce a concrete delta.
  3. Review the result and capture findings with actionable next fixes.
  4. Apply fixes in small batches and rerun the relevant checks or review steps.
  5. Update the plan after each iteration.
  6. Repeat until outcomes are acceptable or only explicit exceptions remain.
  7. If a dependency is missing, bootstrap it or return status: not_applicable with explicit reason and fallback path.
Required Result Format
  • status: complete | clean | improved | configured | not_applicable | blocked
  • plan: concise plan and current iteration step
  • actions_taken: concrete changes made
  • validation_skills: final skills run, or skipped with reasons
  • verification: commands, checks, or review evidence summary
  • remaining: top unresolved items or none

For setup-only requests with no execution, return status: configured and exact next commands.

Load References

Example Requests

  • "Define the best OSS CI stack for this .NET repo."
  • "Add .NET analyzers, coverage, and mutation testing guidance."
  • "Make .editorconfig and CI agree in our .NET solution."

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in catalog/Tools/Quality-CI/skills/quality-ci of managedcode/dotnet-skills.

  • SKILL.md
  • manifest.json
  • references/checklist.md
  • references/editorconfig-and-ci.md
  • references/quality-toolchain.md
  • references/workflows.md

Open the folder on GitHubat commit 535dd55

Compare with similar skills

Quality CI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Quality CI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Quality CI this skillmanagedcode/dotnet-skills486—~2.1kAutomated safety check: PassMIT
Dev ReviewFHIR/fhir-codegen154—~5kAutomated safety check: PassMIT
Coverage Analysis for .NETdotnet/skills5.6k1 repos~2.8kAutomated safety check: PassMIT
Sonarcloud APIaehrc/pathling137—~1.2kAutomated safety check: PassApache-2.0
Mcaf Dotnet Quality CImanagedcode/Storage138—~1.7kAutomated safety check: PassMIT
Code Quality Crapmacalbert/envilder138—~468Automated safety check: PassMIT

Similar skills

  • Dev Review

    FHIR/fhir-codegen

    Performs a two-track code-quality and QA review in the roles of a staff-level Engineering Lead and QA Lead, then synthesizes both critiques into a single analysis.md.

    154 GitHub stars~5k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Official

    Interprets .NET coverage reports to explain line and branch gaps, target arithmetic and, on request, CRAP-based risk hotspots, without rerunning tests.

    5.6k GitHub starsUsed in 1 repo~2.8k tokens
    Testing & QAAuto-check passed
  • Sonarcloud API

    aehrc/pathling

    Expert guidance for using the SonarCloud API to interact with code quality analysis, projects, issues, quality gates, and metrics.

    137 GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Mcaf Dotnet Quality CI

    managedcode/Storage

    Set up or refine open-source .NET code-quality gates for CI: formatting, .editorconfig, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning.

    138 GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed
  • Code Quality Crap

    macalbert/envilder

    CRAP score quality gate for code complexity and test coverage.

    138 GitHub stars~468 tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Constraint-Driven Development

    addyosmani/agent-skills

    Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.

    102k GitHub starsUsed in 2 repos~5.2k tokens
    DevelopmentAuto-check passed

More from managedcode/dotnet-skills

All 81 skills in this repo
  • Analyzer Config

    managedcode/dotnet-skills

    Use a repo-root .editorconfig to configure free .NET analyzer and style rules.

    486 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Archunitnet

    managedcode/dotnet-skills

    Use the open-source free ArchUnitNET library for architecture rules in .NET tests.

    486 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Aspire

    managedcode/dotnet-skills

    Build, upgrade, and operate Aspire 13.5.x C or TypeScript application hosts with the current CLI, AppHost, ServiceDefaults, integrations, dashboard, testing, MCP, and deployment patterns for…

    486 GitHub stars~3.6k tokensUpdated today
    Auto-check passed
  • Aspnet Core

    managedcode/dotnet-skills

    Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET.

    486 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Asynkron Profiler

    managedcode/dotnet-skills

    Use the open-source free Asynkron.Profiler dotnet tool for CLI-first CPU, allocation, exception, contention, and heap profiling of .NET commands or existing trace artifacts.

    486 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Azure Functions

    managedcode/dotnet-skills

    Build, review, or migrate Azure Functions in .NET with correct execution model, isolated worker setup, bindings, DI, and Durable Functions patterns.

    486 GitHub stars~2.6k tokensUpdated today
    Auto-check passed

Works with

Questions about Quality CI

What does Quality CI do?

Set up or refine open-source .NET code-quality gates for CI: formatting, .editorconfig, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning. Quality CI is an agent skill from managedcode/dotnet-skills.editorconfig, SDK analyzers, third-party analyzers, coverage, mutation testing, architecture tests, and security scanning.

When should I use Quality CI?

Quality CI fits situations like: : .NET quality gates in CI; architecture-test choices; standardizing .editorconfig; : non-.NET repositories.

How do I install Quality CI in Claude Code?

Run `npx skills add managedcode/dotnet-skills --skill quality-ci -a claude-code`. Or copy the skill folder (catalog/Tools/Quality-CI/skills/quality-ci in managedcode/dotnet-skills) into .claude/skills/quality-ci in your project. Claude Code loads it when a task matches its description.

How do I install Quality CI in Codex?

Run `npx skills add managedcode/dotnet-skills --skill quality-ci -a codex`. Or copy the skill folder (catalog/Tools/Quality-CI/skills/quality-ci in managedcode/dotnet-skills) into .agents/skills/quality-ci in your project. Codex loads it when a task matches its description.

Can I use Quality CI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/dotnet-skills --skill quality-ci -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/quality-ci, .gemini/skills/quality-ci, .github/skills/quality-ci and .opencode/skills/quality-ci in your project.

What does Quality CI need to run?

Going by SKILL.md and its folder, Quality CI needs the command-line tools its instructions call (dotnet). Compatibility (from SKILL.md): Requires a .NET solution or project; may update `AGENTS.md`, CI workflows, a repo-root `.editorconfig`, `Directory.Build.props`, or analyzer package references..

Does Quality CI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Quality CI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Quality CI use?

Quality CI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Quality CI use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.8k tokens, read only when the agent opens those files.

What are the alternatives to Quality CI?

Skills that share tags, products or a category with Quality CI: Dev Review (FHIR/fhir-codegen, 154 stars), Coverage Analysis for .NET (dotnet/skills, 5.6k stars), Sonarcloud API (aehrc/pathling, 137 stars) and Mcaf Dotnet Quality CI (managedcode/Storage, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Quality CI?

managedcode (a GitHub organization) maintains it in managedcode/dotnet-skills, which has 486 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/dotnet-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.