rufflinter
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 "rufflinter" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-208765369df8676a7bd706f9b96620d5fb705c5b2b229c243f5f859de1342fcc. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/ruff-linter-configuration-architect 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
Configure and optimize the Ruff Python linter using the ruff CLI and pyproject.toml patterns. Migrate configurations from Flake8, isort, and Black and perform automatic rule mapping.
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
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Ruff Linter 配置架构"
slug: "ruff-linter-configuration-architect"
version: "1.0.0"
displayName: "Ruff Linter 配置架构"
summary: "使用 ruff CLI 和 pyproject.toml 模式配置和优化 Ruff Python linter 设置。从 Flake8、isort 和 Black 配置迁移,并进行自动规则映射。"
license: "MIT"
description: "使用 ruff CLI 和 pyproject.toml 模式配置和优化 Ruff Python linter 设置。从 Flake8、isort 和 Black 配置迁移,并进行自动规则映射。"
github_stars: 47162
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Code Quality & Review"
framework: "ChatGPT Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 47162Ruff Linter 配置架构
Configures and optimizes Ruff Python linter settings using the ruff CLI and pyproject.toml schema. Migrates from Flake8, isort, and Black configurations with automatic rule mapping.
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
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
功能描述可进一步聚焦 Reported severity: Minor
当前描述较为宽泛,可补充具体的使用场景和痛点解决说明。
Recommendation: 建议在 description 中增加典型使用场景,如“将现有项目的 Flake8 配置一键迁移至 Ruff”等。
Highlights
- 提供 Ruff linter 配置与优化能力,具有明确的代码质量提升价值
- 支持从主流工具(Flake8/isort/Black)迁移,降低用户切换成本
Areas to improve
-
触发词不够具体 Reported severity: Minor
description 缺少明确的触发关键词,可能导致用户难以准确匹配需求。
Recommendation: 建议在 description 开头添加如“配置 ruff”、“迁移 flake8 到 ruff”、“优化 pyproject.toml 中的 ruff 设置”等触发词。
Highlights
- description 涵盖了核心功能和使用方式
Areas to improve
-
缺少步骤划分与示例 Reported severity: Minor
文档缺少清晰的 Phase/步骤划分和端到端示例,用户难以快速上手。
Recommendation: 建议增加“配置步骤”、“迁移流程”等章节,并提供完整的 pyproject.toml 配置示例。
-
缺少 When to Use 章节 Reported severity: Minor
未明确说明何时使用此 Skill,用户难以判断适用性。
Recommendation: 建议增加“When to Use”章节,说明适用场景(如新项目初始化、旧项目迁移等)。
Highlights
- frontmatter 完整,信息清晰
- 提供了多种安装方式,便于用户选择
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未提及常见异常(如网络失败、权限问题、版本冲突)的处理方式。
Recommendation: 建议补充异常处理说明,如“若安装失败,请检查网络连接或尝试使用 pip 替代 uv”。
Highlights
- 工具来源明确(PyPI/GitHub),参数正确
- 提供了多种安装路径,适配不同环境
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 27, 29
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.
Not specified in the source documentation.
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.