用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/meleantonio/ChernyCode --skill code-style命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Simplify and clean up code after changes are complete. Reduces complexity, improves readability, and ensures consistency.
Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.
Find and fix technical debt including duplicated code, dead code, outdated patterns, and code smells. Run at the end of sessions to clean up.
基于 SOC 职业分类
正在显示 SKILL.md
| name | code-style |
| description | Python code style and formatting standards using Ruff. Use when writing or reviewing Python code. |
ruff format .)snake_casePascalCaseUPPER_SNAKE_CASE_leading_underscoresnake_case.pyOptional[T] or T | None for nullable typeslist[T], dict[K, V] (lowercase) for Python 3.10+Example:
def calculate_total(items: list[Item], discount: float = 0.0) -> float:
"""Calculate the total price of items with optional discount.
Args:
items: List of items to calculate total for.
discount: Discount percentage to apply (0.0 to 1.0).
Returns:
The total price after discount.
Raises:
ValueError: If discount is not between 0 and 1.
"""
from x import *)ruff format .ruff check .ruff check --fix .