
Description
python-code-style is an agent skill from the wshobson/agents collection that covers the style, linting, formatting and documentation standards for Python code. Its premise is that consistent style makes a codebase easier to maintain and work on together, and that the best way to end debates about formatting is to let tools handle it, configured once and enforced automatically. The skill covers modern Python tooling, including ruff for linting and formatting, and the type checkers mypy and pyright, along with naming conventions and documentation standards such as docstrings. Its core concepts start with automated formatting, so the agent sets up formatters rather than reformatting code by hand. It applies when setting up linting and formatting for a new project, writing or reviewing docstrings, establishing team coding standards, configuring ruff, mypy or pyright, reviewing code for style consistency, and creating project documentation. Because style rules are a matter of team preference as well as technical fit, the agent proposes a configuration that the team can adjust, and the rules should be agreed before they are enforced across an existing codebase. The skill is installed with the skills CLI from the wshobson/agents repository. Its skills.sh page showed about 16.1K installs and passing results from three security audits at the time of the scan.…
Highlights
- Automated formatting and linting setup
- ruff, mypy and pyright configuration
- Naming conventions
- Docstring and documentation standards
- Style review for consistency
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate python-code-style.
People also visit
python-code-style FAQ
What tools does it cover?
Ruff for linting and formatting, and mypy and pyright for type checking.
What does it cover beyond formatting?
Naming conventions and documentation standards, including docstrings.
Does it enforce style automatically?
The skill sets up tools that enforce style once configured, so formatting is not a manual review task.
Are the rules fixed?
The configuration is a starting point. Teams should agree on the rules before applying them to an existing codebase.
How do I install it?
Run npx skills add https://github.com/wshobson/agents --skill python-code-style.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best python-code-style alternatives?
Popular alternatives to python-code-style include ruff-recursive-fix, plankton-code-quality and airflow-dag-patterns. See all python-code-style alternatives

