en un clic
format-python
Format Python code with Black
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Format Python code with Black
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Database migration management - Use Flyway and Atlas for version-controlled database schema migrations
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
Format JavaScript/TypeScript code with Prettier
Auto-generate project changelog
Smart Git commit message generation
| name | format-python |
| description | Format Python code with Black |
Use Black to automatically format Python code, an uncompromising code formatter:
| Tool | Min Version | Check Command | Installation |
|---|---|---|---|
| Python | 3.8+ | python --version | python.org |
| Black | 22.0+ | black --version | pip install black |
"Use format-python to format my code"
# Windows
.\.agent\skills\format-python\scripts\format.ps1
# Linux/Mac
./.agent/skills/format-python/scripts/format.sh
# Check without modifying (preview mode)
.\.agent\skills\format-python\scripts\format.ps1 -Check
# Specify directory
.\.agent\skills\format-python\scripts\format.ps1 -Path ".\src"
# pyproject.toml
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''