// Code quality validation, formatting, linting, and pre-commit checks. Auto-activates on keywords quality, lint, format, precommit, naming, black, ruff, mypy, validation. Routes to specialized quality workflows.
| name | quality |
| description | Code quality validation, formatting, linting, and pre-commit checks. Auto-activates on keywords quality, lint, format, precommit, naming, black, ruff, mypy, validation. Routes to specialized quality workflows. |
| allowed-tools | Read, Bash(poetry:*, black:*, ruff:*, mypy:*, markdownlint:*, yamllint:*), Grep, Task |
Comprehensive code quality domain for formatting, linting, type checking, and pre-commit validation. Provides automated quality workflows with intelligent routing.
This skill activates automatically when you mention:
Based on user intent, routes to appropriate workflows:
Keywords: "format code", "black", "apply formatting"
→ Use /quality/format workflow
Keywords: "lint code", "ruff", "check linting"
→ Use /quality/lint workflow
Keywords: "validate before commit", "precommit check", "ready to commit"
→ Use /quality/precommit workflow
Keywords: "check naming", "naming conventions", "PEP 8"
→ Use /quality/naming workflow
# Format code
/quality/format [path]
# Lint code
/quality/lint [path]
# Pre-commit validation
/quality/precommit [--fix]
# Check naming conventions
/quality/naming [path]
For comprehensive code review, invoke the code-reviewer agent via Task tool.
/standards/linting.md/standards/python.md/standards/python.md (Black 88 chars, Ruff, MyPy)/standards/linting.md (configuration)Required for all Python projects:
Standard tools:
# Format
poetry run black src tests
# Lint
poetry run ruff check --fix src tests
# Type check
poetry run mypy src
# Full validation
poetry run pre-commit run --all-files
This skill consolidates 6 quality commands and 2 validation skills into a unified quality domain.