LogoClawIndex
CasesSkillsAbout
LogoClawIndex

python-linter - Ruff Python Linter Issue Fixes

Guide coding agents to fix specific Python linter issues from Ruff.

Tags

Updated: 2026-06-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • identify ruff rule codes
  • resolve E402 module imports
  • fix B007 loop variables
  • correct B008 default arguments
  • replace hardcoded temp paths
  • move imports to top level
  • migrate to modern numpy API
  • replace insecure random usage
  • apply context-specific fixes
  • verify linter issue resolution

Inputs

  • Python source code
  • Ruff linter error codes
  • linter rule code
  • code context

Outputs

  • fixed Python code
  • modified import statements
  • replaced random functions
  • applied code fixes

Requirements

  • Ruff 0.12.0+
  • Python 3.8+
  • Typer CLI support
  • pytest support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
python
linter
ruff
code-quality
code-fix
identify ruff rule codes
resolve E402 module imports
fix B007 loop variables
correct B008 default arguments
Python source code
Ruff linter error codes
linter rule code
fixed Python code
modified import statements
replaced random functions