By astral-sh
Manage Python projects with Astral's toolchain: lint and format code with Ruff, type-check with ty, and handle packages, scripts, and environments with uv.
Guide for using ruff, the extremely fast Python linter and formatter. Use this when linting, formatting, or fixing Python code.
Guide for using ty, the extremely fast Python type checker and language server. Use this when type checking Python code or setting up type checking in Python projects.
Guide for using uv, the Python package and project manager. Use this when working with Python projects, scripts, packages, or tools.
Add the Astral marketplace to Claude Code:
/plugin marketplace add astral-sh/claude-code-plugins
astral pluginAfter adding the marketplace:
/plugin install astral@astral-sh
Or browse and install interactively:
/plugin
For team-wide plugin usage, add to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"astral-sh": {
"source": {
"source": "github",
"repo": "astral-sh/claude-code-plugins"
}
}
},
"enabledPlugins": {
"astral@astral-sh": true
}
}
Team members will be prompted to install the plugin when they trust the repository.
The plugin provides skills for Astral tools.
Invoke skills with /astral:<skill>, e.g., /astral:uv.
Claude sometimes needs to be prompted to use skills. We recommend adding this
instruction to your CLAUDE.md:
When working with Python, invoke the relevant
/astral:<skill>foruv,ty, andruffto ensure best practices are followed.
The plugin also provides the ty LSP. It requires uvx to be available.
Licensed under either of:
at your option.
See CONTRIBUTING.md for development setup and guidelines.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub astral-sh/claude-code-plugins --plugin astralBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Python language server (Pyright) for type checking and code intelligence
Python language discipline: conventions, modern idioms, type system, packaging, testing, and LSP-powered code intelligence
Opinionated Python 3.11+ engineering system. Establishes strong defaults (SOLID, typing policy, testing standards, code smell detection) and routes to specialist skills for TDD, CLI, web, data/science, and constrained environments.
Python type-checker LSP multiplexer for Claude Code (pyright, ty, pyrefly)
Python development ecosystem - uv, ruff, pytest, packaging, type checking
Evidence-gated AI coding workflow: scan → analyze → plan → TDD → execute → fix → verify → review, powered by Codebase Memory MCP >= 0.9.0 with optional Serena LSP intelligence. Includes blast-radius planning, test/cycle gates, independent review, and Windows Git Bash hook auto-resolution.