rufflinterformatter
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "rufflinterformatter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1e2e3bb702ad6e564eec0d97966aed63cf26cd4d465e7ed08a21901a1679a0e6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/ruff-linter-formatter-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Perform ultra-fast Python linting and formatting using the Ruff CLI and pyproject.toml configuration. Supports autofix, import sorting (compatible with isort), and selecting from over 800 built-in rules.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Python
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Ruff Linter 和 Formatter"
slug: "ruff-linter-formatter-agent"
version: "1.0.0"
displayName: "Ruff Linter 和 Formatter"
summary: "使用 Ruff CLI 和 pyproject.toml 配置进行超快速 Python 语法检查和格式化。支持自动修复、导入排序(兼容 isort)以及从 800 多个内置规则中选择规则。"
license: "MIT"
description: "使用 Ruff CLI 和 pyproject.toml 配置进行超快速 Python 语法检查和格式化。支持自动修复、导入排序(兼容 isort)以及从 800 多个内置规则中选择规则。"
github_stars: 47173
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 47173Ruff Linter 和 Formatter
Ultra-fast Python linting and formatting using Ruff CLI with pyproject.toml configuration. Supports auto-fix, import sorting (isort-compatible), and rule selection from 800+ built-in rules.
Prerequisites
Python
Installation
Use the upstream install or setup path that matches your environment:
- uv tool install ruff@latest # Install Ruff globally.
- uv add --dev ruff # Or add Ruff to your project.
- pip install ruff
- pipx install ruff
Requirements and caveats from upstream:
Basic usage or getting-started notes:
-
For more, see the documentation.
-
Ruff is available as ruff on PyPI.
-
Extracted from upstream docs: https://raw.githubusercontent.com/astral-sh/ruff/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向开发者的实用代码质量工具
- 解决明确的 Python 代码规范与格式化需求
- 支持自动修复和导入排序等高级功能
Highlights
- 触发词精准完整,包含 Ruff CLI、Python 语法检查、格式化等关键词
- description 位置正确且内容完整
- 边界清晰,不易与其他 Skill 混淆
Areas to improve
-
缺少 When to Use 使用场景说明 Reported severity: Minor
文档中缺少明确的使用场景和使用时机说明
Recommendation: 建议添加 When to Use 章节,说明何时以及如何使用此 Skill
-
缺少具体执行步骤和命令示例 Reported severity: Minor
虽然有安装说明,但缺少具体的 lint 和 format 命令使用示例
Recommendation: 建议添加具体的命令示例,如 'ruff check .' 和 'ruff format .' 等
-
缺少端到端执行示例 Reported severity: Minor
缺少完整的使用流程示例,用户难以理解完整执行过程
Recommendation: 建议添加从安装到使用的完整示例流程
Areas to improve
-
缺少异常处理和参数指导 Reported severity: Minor
未提供常见错误的处理方法和参数使用指导
Recommendation: 建议添加常见错误处理说明和参数使用指南
-
缺少不可逆操作的确认机制说明 Reported severity: Minor
格式化操作会修改文件,但未说明如何确认或备份
Recommendation: 建议添加关于文件备份和操作确认的说明
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 31, 33
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- docs.astral.sh
- github.com
- img.shields.io
- pypi.org
- pypi.python.org
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.