
python-code-quality
Python code quality with ruff and ty. Use when the user mentions ruff, ty, linting, formatting, type checking, or Python code style.
- Installs
- 1K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/laurigates/claude-plugins --skill python-code-quality- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads python-code-quality automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Python Code Quality
Orchestration index for the Python quality stack. This skill routes to the focused skills that own each tool — it does not restate their commands. Reach for it when setting up or reasoning about the whole stack (lint + format + type-check + tests) at once; reach for a focused skill when tuning one tool.
When to Use This Skill
| Use this skill when... | Use a focused sibling instead when... |
|---|---|
| Standing up a complete quality stack for a new project | Tuning only ruff lint rule selection — use ruff-linting |
| Reasoning about how the tools fit together / comparing them | Configuring only ruff formatter quirks — use ruff-formatting |
| Wiring lint + type-check into pre-commit and CI together | Configuring strict type-checker rules — use ty-type-checking or basedpyright-type-checking |
Routing Table
| Concern | Focused skill |
|---|---|
| Lint rules, rule selection, auto-fix | python-plugin:ruff-linting |
| Code formatting (quote style, line length) | python-plugin:ruff-formatting |
| Editor / pre-commit / CI / Docker wiring for ruff | python-plugin:ruff-linting → its REFERENCE.md |
| Type checking with ty | python-plugin:ty-type-checking |
| Type checking with basedpyright | python-plugin:basedpyright-type-checking |
| Dead-code detection | python-plugin:vulture-dead-code |
| Test quality / coverage | python-plugin:python-testing, python-plugin:pytest-advanced |
| Modern type-hint syntax and idioms | python-plugin:python-development |
| Adding the tools to a project | python-plugin:uv-project-management |
Full Stack at a Glance
The one thing this index owns: the tools running together in pre-commit. For each tool's flags and config, follow the routing table above.
# .pre-commit-config.yaml — ruff (lint + format) and ty together
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.0
hooks:
- id: ruff-check
args: [--fix]
- id: ruff-format
- repo: https://github.com/astral-sh/ty
rev: v0.0.10
hooks:
- id: ty
A typical CI quality gate runs the same three steps: ruff check,
ruff format --check, ty check. See ruff-linting § CI/CD Integration and
ty-type-checking for the runnable forms.
References
FAQ
What does the python-code-quality skill do?
Python code quality with ruff and ty. Use when the user mentions ruff, ty, linting, formatting, type checking, or Python code style.
How do I install python-code-quality?
Run npx skills add https://github.com/laurigates/claude-plugins --skill python-code-quality in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/python-code-quality/ (personal) or .claude/skills/python-code-quality/ (project).
Which AI agents can use python-code-quality?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is python-code-quality safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains python-code-quality?
It is published by laurigates in laurigates/claude-plugins. It has 1,032 recorded installs.
More from laurigates/claude-plugins
python-testing
laurigates/claude-plugins
Open the skill to read its SKILL.md instructions.
pytest-advanced
laurigates/claude-plugins
Open the skill to read its SKILL.md instructions.
basedpyright-type-checking
laurigates/claude-plugins
Open the skill to read its SKILL.md instructions.
uv-project-management
laurigates/claude-plugins
Open the skill to read its SKILL.md instructions.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.