scan-quality

Identify code duplication, complexity, and pattern drift in a codebase.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/sncollective/snc-platform --skill scan-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scan-quality
Source: https://github.com/sncollective/snc-platform/tree/main/.claude/skills/scan-quality
Command: npx skills add https://github.com/sncollective/snc-platform --skill scan-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers need consistent guidelines to spot hidden quality issues such as duplicated logic, overly complex code, and deviations from established patterns across a large codebase.

Core Features & Use Cases

  • Defines four quality categories (duplication, complexity, pattern compliance, import correctness) with clear criteria and reference documentation.
  • Provides confidence mappings that help prioritize findings into Fix, Analyze, or Backlog lanes.
  • Integrated as a rule library for the refactor-scan tool, enabling automated scans during code reviews or continuous integration.

Quick Start

Use the refactor-scan command with the scan-quality skill to evaluate code quality.

Frequently Asked Questions about scan-quality

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

FAQPage Schema
How do I detect code duplication and complexity across a large codebase?

Code pattern drift is identified by scanning source files to find deviations from established patterns. The evaluation checks pattern compliance alongside duplication and complexity, providing clear criteria to guide refactoring improvements.

How do I prioritize code quality issues found during a refactor scan?

To scan code quality, run the refactor-scan command integrated with the quality evaluation skill. This requires read access to source files and utilizes glob and grep tools to evaluate the codebase against quality guidelines.

Does this code quality scanner require specific tools or access to run?

Yes, the scanner requires read access to source files and allows the use of glob and grep tools to analyze the codebase. It functions as an integrated rule library for the refactor-scan tool during code reviews or continuous integration.

What is the best way to automate pattern compliance checks during code reviews?

The best way to automate pattern compliance checks is by using an integrated rule library within the refactor-scan tool. This enables automated scans during code reviews or continuous integration to spot deviations from established patterns.