Skip to content
Agentmart
Submit a tool

fix-python-quality

Fix Ruff formatting and lint errors in an explicit Python file or directory scope.

Skill by peoxin

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/peoxin-fix-python-quality

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Fix Ruff formatting and lint errors in an explicit Python file or directory scope. Use when a user asks to format, lint-fix, or repair Ruff quality failures in a uv project.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/fix-python-quality

What's inside

Skill name
fix-python-quality
Description
Fix Ruff formatting and lint errors in an explicit Python file or directory scope. Use when a user asks to format, lint-fix, or repair Ruff quality failures in a uv project.
License
MIT
Instructions
30 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Fix Python Quality

Repair Ruff formatting and lint failures inside one selected scope. Assume the project owns its configuration; do not configure tools, run tests, or change behavior to satisfy a style rule.

## Select The Scope

Require the caller to provide an explicit Python file or directory scope. If no scope is provided, stop and ask the user or calling skill to identify the files or directory.

## Require Ruff

Run `uv run ruff --version`. If the command fails, stop and report that Ruff is unavailable. Accept uv creating or synchronizing the environment and updating the lockfile during this command.

## Repair And Verify

Run these commands in order with the exact selected paths:

```text
uv run ruff check --fix <scope>
uv run ruff format <scope>
uv run ruff check <scope>
uv run ruff format --check <scope>
```

Continue through all four commands when Ruff reports lint or formatting failures. Stop immediately when a command cannot start, the scope is invalid, or Ruff cannot parse the project configuration.

If lint failures remain, repair the Ruff-reported problems manually inside the selected scope while preserving behavior and public interfaces, then rerun the complete command sequence. Stop and report the unresolved failures when a repair would change behavior or a public interface, touch files outside the scope, or require an uncertain suppression.

Report the selected scope, changed files, every command result, remaining failures, and any uv-created environment or lockfile changes.

From peoxin/skills, MIT.

More from peoxin/skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 20, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from peoxin

Cite this page

fix-python-quality skill. Agent Mart. https://agentmart.dev/skills/peoxin-fix-python-quality (last updated 2026-10-24)