Ensure Python code follows best practices with automated linting, formatting, and type checking using ruff and mypy.
From pythonicnpx claudepluginhub jwplatta/agent-cubicle --plugin pythonicThis skill uses the workspace's default tool permissions.
mypy-configuration.mdruff-configuration.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Executes pre-written implementation plans: critically reviews, follows bite-sized steps exactly, runs verifications, tracks progress with checkpoints, uses git worktrees, stops on blockers.
Ensure Python code follows best practices with automated linting, formatting, and type checking using ruff and mypy.
Use this skill when:
Linting with Ruff
Code Formatting
Type Checking with Mypy
Code Quality Metrics
This skill references the following context files in this directory:
ruff-configuration.md - Ruff linting and formatting rulesmypy-configuration.md - Type checking configurationcommon-issues.md - Common Python code quality issues and fixesbest-practices.md - Python coding best practices# Linting
ruff check . # Check for issues
ruff check --fix . # Auto-fix issues
ruff check --watch . # Watch mode
# Formatting
ruff format . # Format all files
ruff format --check . # Check if formatting needed
# Type checking
mypy src # Check types
mypy --strict src # Strict mode
ruff check --fix . && ruff format . && mypy src
ruff check . # Fail if unfixed issues
ruff format --check . # Fail if unformatted
mypy src # Fail on type errors
After using this skill:
python-project-setup for initial configurationpython-testing for comprehensive quality assurancepython-project-setup agent for automated checks