formatting
SKILL.md
formatting
Opinionated formatting for Python codebases using Black or Ruff Format.
Overview
Pick a single formatter for the entire project. Black is the classic choice; Ruff Format is faster and integrates with Ruff.
When to Use
- Standardizing style across a team
- Reducing review noise
- Enforcing format checks in CI
Quick Start
uv pip install black
black .
or
uv pip install ruff
ruff format .
Configuration (Black)
[tool.black]
line-length = 88
target-version = ["py310", "py311"]
include = "\\.pyi?$"
extend-exclude = """
/(\.venv|dist|build)/
"""
Configuration (Ruff Format)
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
Best Practices
- One formatter only: avoid tool fights.
- Run locally: do not rely only on CI.
- Pre-commit integration: catch format issues early.
- Dedicated formatting commits: reduce review noise.
Troubleshooting
- Conflicts: remove other formatters.
- Line length churn: align line length across tools.
References
Weekly Installs
2
Repository
jiatastic/open-…n-skillsGitHub Stars
2
First Seen
Jan 24, 2026
Installed on
claude-code2
github-copilot1