AGENT SKILL

black

Use this skill when the user wants to format Python code, auto-format Python files, enforce consistent Python style, or fix code formatting.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
black
description
Use this skill when the user wants to format Python code, auto-format Python files, enforce consistent Python style, or fix code formatting.

03 SKILL.md 正文

black Plugin

Uncompromising Python code formatter.

Commands

Format

  • black format run — Format Python files (dry run with diff)
  • black format write — Format Python files in-place

Usage Examples

  • "Format this Python file"
  • "Check if my Python code is formatted correctly"
  • "Auto-format all Python files in the project"
  • "Show what would change without applying"

Installation

pip install black

Examples

# Format files in-place
black .

# Check formatting
black --check .

# Show diff
black --diff .

# Specific line length
black --line-length 100 .

# Fast mode (skip regex)
black --fast .

04 同仓库更多 Skills