Skip to content
Back to skills

Code Quality

ASecurity

Enforce code quality standards, test coverage, and static analysis. Use when working with code coverage thresholds, mutation testing, linting, code formatting, or quality gates. Maintains high code quality standards through automation.

  • 45 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added December 19, 2025
code-qualitytestingsecurityperformance

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add RicherTunes/Brainarr --skill code-quality --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Quality?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Quality
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richertunes-code-quality/badge)](https://www.skillsdirectory.com/skills/richertunes-code-quality)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-quality
description: Enforce code quality standards, test coverage, and static analysis. Use when working with code coverage thresholds, mutation testing, linting, code formatting, or quality gates. Maintains high code quality standards through automation.
---

# Code Quality Enforcer

## Current Quality Infrastructure
- ✅ **Test Coverage**: Collected with Coverlet (31% baseline)
- ✅ **Mutation Testing**: Stryker.NET weekly runs
- ✅ **Code Formatting**: .NET format enforcement in CI
- ✅ **Static Analysis**: .NET analyzers enabled
- ✅ **Pre-commit Hooks**: Format and lint checks

## Expertise Areas

### 1. Coverage Enforcement
- Set minimum coverage thresholds
- Fail builds on coverage regression
- Track coverage trends over time
- Identify uncovered critical paths

### 2. Mutation Testing
- Validate test effectiveness with Stryker.NET
- Identify weak tests that pass but don't validate logic
- Improve test quality through mutation analysis
- Weekly automated mutation test runs

### 3. Static Analysis
- CodeQL security scanning
- .NET analyzers and Roslyn
- Custom analyzer rules
- Complexity metrics tracking

### 4. Code Formatting
- Consistent style with .NET format
- EditorConfig enforcement
- Pre-commit format validation
- CI format verification

### 5. Quality Gates
- Fail builds on quality regression
- Enforce coverage thresholds
- Block PRs with quality issues
- Quality trend dashboards

## Enhancement Opportunities
1. **Increase Coverage**: From 31% baseline to 50%+
2. **SonarCloud Integration**: Code smells and tech debt
3. **Complexity Metrics**: Track cyclomatic complexity
4. **Performance Regression**: Detect performance degradation
5. **Quality Dashboards**: Visualize quality trends

## Related Skills
- `security-compliance` - Security is quality
- `integration-testing` - Quality through testing

## Examples

### Example 1: Enforce Coverage Threshold
**User**: "Fail builds if coverage drops below 31%"
**Action**: Add coverage enforcement to test workflow, fail on regression

### Example 2: Run Mutation Tests
**User**: "Run Stryker mutation testing"
**Action**: Execute Stryker, review mutation score, identify weak tests, improve coverage

### Example 3: Quality Dashboard
**User**: "Create quality metrics dashboard"
**Action**: Integrate CodeCov, add badges to README, visualize trends

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…