Agent skill

Python Linting

by rhesis-ai in rhesis-ai/rhesis

Runs Ruff linting and formatting on Python files. An agent skill from rhesis-ai/rhesis.

Custom licenceAuto-check passedDevelopment

Install Python Linting

skills CLI
$ npx skills add rhesis-ai/rhesis --skill python-linting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rhesis-ai/rhesis python-linting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rhesis-ai/rhesis.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/python-linting .claude/skills/python-linting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
python-linting
GitHub stars
396
Token cost
~158 tokens
SKILL.md length
49 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

Runs Ruff linting and formatting on Python files. An agent skill from rhesis-ai/rhesis.

  • Works in 4 steps: Check for linting issues → Auto-format the code → Check again to verify → …
  • Tasks that involve Linting and formatting
  • SKILL.md covers Workflow and When to apply
  • Calls uvx and git

What it does

Python Linting is an agent skill from rhesis-ai/rhesis. Runs Ruff linting and formatting on Python files. Use only before pushing changes (e.g. before git push or creating a PR).

Its SKILL.md is about 160 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting. It works with Python, Ruff and Git. The repository describes itself as: The collaboration layer for AI teams: domain experts annotate and review agent behavior, engineers improve the agent from what they find.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “/python-linting”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Check for linting issues
  2. Auto-format the code
  3. Check again to verify
  4. Fix remaining issues

What it can do on your machine

Read from SKILL.md and the folder at commit bb3d0df. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uvx
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uvx and git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Python Linting loads about 158 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 49 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~158

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 49 words (~158 tokens).

“Review any issues not fixed by the auto-formatter and fix them manually.”

— opening of SKILL.md by rhesis-ai, Custom licence
name
python-linting

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/python-linting of rhesis-ai/rhesis.

Open the folder on GitHubat commit bb3d0df

Compare with similar skills

Python Linting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Python Linting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Python Linting this skillrhesis-ai/rhesis396—~158Automated safety check: PassCustom licence
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
Update Dependenciesalorence/django-modern-rpc111—~1.3kAutomated safety check: PassMIT
Tilelang Reviewtile-ai/tilelang-ascend400—~2.8kAutomated safety check: NotesMIT
Kedro Babysitkedro-org/kedro11k—~4kAutomated safety check: PassCustom licence
Qt6 QML Code Reviewerx-tools-author/x-tools1.1k1 repos~3.6kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Update Dependencies

    alorence/django-modern-rpc

    Routine update of all project dependencies — uv itself, uv.lock (all groups), tool versions pinned in GitHub workflows and .pre-commit-config.yaml (uv, ruff, mypy...), and SHA-pinned GitHub Actions.

    111 GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Tilelang Review

    tile-ai/tilelang-ascend

    检查代码格式是否符合 CI 规则。自动检测并安装缺失工具(ruff、clang-format),先运行检查生成报告,使用醒目方式询问用户后,仅在用户同意时执行修复。工作流程:检测环境→自动安装缺失工具→运行检查→生成报告→醒目询问→用户确认→执行修复。使用此技能当:用户要求"格式检查"、"格式化代码"、"代码格式化"、"检查代码格式"、"代码…

    400 GitHub stars~2.8k tokensUpdated 7 days ago
    DevelopmentAuto-check: notes
  • Kedro Babysit

    kedro-org/kedro

    Run Kedro's local lint / format / type-check / tests on changed files (uses the project's pre-commit hooks, ruff, mypy, pytest, lint-imports, detect-secrets, Make targets — in the right venv), or…

    11k GitHub stars~4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Qt6 QML Code Reviewer

    x-tools-author/x-tools

    Runs a 47-rule deterministic QML linter, then six parallel deep-analysis passes over bindings, layout, loaders, delegates, states, and performance.

    1.1k GitHub starsUsed in 1 repo~3.6k tokens
    DevelopmentAuto-check passed
  • Adk Setup

    google/adk-python

    Official

    Sets up a local ADK Python development environment in a git clone of the open-source adk-python repository: a uv virtual environment, all dependency extras, pre-commit hooks, and a first unit-test…

    22k GitHub stars~993 tokensUpdated today
    DevelopmentAuto-check: notes

More from rhesis-ai/rhesis

All 12 skills in this repo
  • Rhesis

    rhesis-ai/rhesis

    Design, run, and analyze AI test suites on Rhesis — explore endpoints, build test foundations from a spec, create requirements and metrics, execute tests, and analyze results.

    396 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Worktree

    rhesis-ai/rhesis

    Manage git worktrees with their own dev ports, symlinked .env files, playground, and simulations.

    396 GitHub stars~627 tokensUpdated today
    Auto-check: notes
  • Update Branch

    rhesis-ai/rhesis

    Rebase a feature branch onto main and force-push it safely. An agent skill from rhesis-ai/rhesis.

    396 GitHub stars~269 tokensUpdated today
    Auto-check passed
  • Docs Design Tokens

    rhesis-ai/rhesis

    Colour, font and design-token rules for the docs site — when hex is banned, when it is correct, and which surfaces ignore the theme.

    396 GitHub stars~658 tokensUpdated today
    Auto-check passed
  • Backend Testing

    rhesis-ai/rhesis

    Run the backend test suite correctly — working directory, Docker requirement, single-test vs full-suite commands.

    396 GitHub stars~400 tokensUpdated today
    Auto-check passed
  • Pull Request

    rhesis-ai/rhesis

    Open a pull request in this repo — branch naming, title format, and the required description sections.

    396 GitHub stars~371 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Python Linting

What does Python Linting do?

Runs Ruff linting and formatting on Python files. An agent skill from rhesis-ai/rhesis. Python Linting is an agent skill from rhesis-ai/rhesis. Runs Ruff linting and formatting on Python files.

When should I use Python Linting?

Python Linting fits situations like: tasks that involve Linting and formatting.

How do I install Python Linting in Claude Code?

Run `npx skills add rhesis-ai/rhesis --skill python-linting -a claude-code`. Or copy the skill folder (.agents/skills/python-linting in rhesis-ai/rhesis) into .claude/skills/python-linting in your project. Claude Code loads it when a task matches its description.

How do I install Python Linting in Codex?

Run `npx skills add rhesis-ai/rhesis --skill python-linting -a codex`. Or copy the skill folder (.agents/skills/python-linting in rhesis-ai/rhesis) into .agents/skills/python-linting in your project. Codex loads it when a task matches its description.

Can I use Python Linting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rhesis-ai/rhesis --skill python-linting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/python-linting, .gemini/skills/python-linting, .github/skills/python-linting and .opencode/skills/python-linting in your project.

What does Python Linting need to run?

Going by SKILL.md and its folder, Python Linting needs the command-line tools its instructions call (uvx and git). Our summary lists: Python 3.

Does Python Linting access the network?

SKILL.md contains no URLs. Its commands use uvx and git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Python Linting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Python Linting use?

Python Linting has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Python Linting use?

About 158 tokens (SKILL.md is roughly 632 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Python Linting?

Skills that share tags, products or a category with Python Linting: Saleor Commit Workflow (saleor/saleor, 23k stars), Update Dependencies (alorence/django-modern-rpc, 111 stars), Tilelang Review (tile-ai/tilelang-ascend, 400 stars) and Kedro Babysit (kedro-org/kedro, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Python Linting?

rhesis-ai (a GitHub organization) maintains it in rhesis-ai/rhesis, which has 396 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: rhesis-ai/rhesis on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.