QL

Analyzes and formats code using the qlty CLI tool.

Install

mkdir -p .claude/skills/qlty-check && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1108" && unzip -o skill.zip -d .claude/skills/qlty-check && rm skill.zip

Installs to .claude/skills/qlty-check

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Code quality checks, formatting, and metrics via qlty CLI
57 charsno explicit “when” trigger
Beginner

Key capabilities

  • Run linting across 40+ languages
  • Auto-fix formatting and style issues
  • Calculate code complexity and duplication metrics
  • Identify code smells
  • Initialize qlty configuration in repositories

How it works

The tool wraps 70+ linters via the qlty CLI to perform static analysis and formatting based on a repository-specific configuration file.

Inputs & outputs

You give it
Source code files or directories
You get back
Formatted code, complexity metrics, or code smell reports

When to use qlty-check

  • Linting code before commit
  • Auto-fixing style issues
  • Generating code complexity metrics

About this skill

Qlty Code Quality

Universal code quality tool supporting 70+ linters for 40+ languages via qlty CLI.

When to Use

  • Check code for linting issues before commit/handoff
  • Auto-fix formatting and style issues
  • Calculate code metrics (complexity, duplication)
  • Find code smells

Quick Reference

# Check changed files with auto-fix
uv run python -m runtime.harness scripts/qlty_check.py --fix

# Check all files
uv run python -m runtime.harness scripts/qlty_check.py --all

# Format files
uv run python -m runtime.harness scripts/qlty_check.py --fmt

# Get metrics
uv run python -m runtime.harness scripts/qlty_check.py --metrics

# Find code smells
uv run python -m runtime.harness scripts/qlty_check.py --smells

Parameters

ParameterDescription
--checkRun linters (default)
--fixAuto-fix issues
--allProcess all files, not just changed
--fmtFormat files instead
--metricsCalculate code metrics
--smellsFind code smells
--pathsSpecific files/directories
--levelMin issue level: note/low/medium/high
--cwdWorking directory
--initInitialize qlty in a repo
--pluginsList available plugins

Common Workflows

After Implementation

# Auto-fix what's possible, see what remains
uv run python -m runtime.harness scripts/qlty_check.py --fix

Quality Report

# Get metrics for changed code
uv run python -m runtime.harness scripts/qlty_check.py --metrics

# Find complexity hotspots
uv run python -m runtime.harness scripts/qlty_check.py --smells

Initialize in New Repo

uv run python -m runtime.harness scripts/qlty_check.py --init --cwd /path/to/repo

Direct CLI (if qlty installed)

# Check changed files
qlty check

# Auto-fix
qlty check --fix

# JSON output
qlty check --json

# Format
qlty fmt

Requirements

vs Other Tools

ToolUse Case
qltyUnified linting, formatting, metrics for any language
ast-grepStructural code patterns and refactoring
morphFast text search

When not to use it

  • When performing structural code refactoring
  • When conducting fast text-based searches

Prerequisites

qlty CLI installedMCP server configured.qlty/qlty.toml configuration file

Limitations

  • Requires repository initialization before use
  • Limited to the 40+ supported languages

How it compares

Unlike structural refactoring tools or simple text searchers, this provides a unified interface for linting, formatting, and metrics across diverse languages.

Compared to similar skills

qlty-check side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
qlty-check (this skill)57moReviewBeginner
solid56moNo flagsAdvanced
code-refactor37moReviewIntermediate
improvement17moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

solid

ramziddin

Use this skill when writing code, implementing features, refactoring, planning architecture, designing systems, reviewing code, or debugging. This skill transforms junior-level code into senior-engineer quality software through SOLID principles, TDD, clean code practices, and professional software design.

516

code-refactor

luongnv89

Systematic code refactoring based on Martin Fowler's methodology. Use when users ask to refactor code, improve code structure, reduce technical debt, clean up legacy code, eliminate code smells, or improve code maintainability. This skill guides through a phased approach with research, planning, and safe incremental implementation.

37

improvement

tddworks

Guide for making improvements to existing ClaudeBar functionality using TDD. Use this skill when: (1) Enhancing existing features (not adding new ones) (2) Improving UX, performance, or code quality (3) User asks "improve X", "make Y better", or "enhance Z" (4) Small enhancements that don't require full architecture design For NEW features, use implement-feature skill instead.

14

tdd-workflows-tdd-refactor

sickn33

Use when working with tdd workflows tdd refactor

11

moai-workflow-ddd

modu-ai

Domain-Driven Development workflow specialist using ANALYZE-PRESERVE-IMPROVE cycle for behavior-preserving code transformation

10

tdd-orchestrator

sickn33

Master TDD orchestrator specializing in red-green-refactor discipline, multi-agent workflow coordination, and comprehensive test-driven development practices. Enforces TDD best practices across teams with AI-assisted testing and modern frameworks. Use PROACTIVELY for TDD implementation and governance.

10

Search skills

Search the agent skills registry