with one click
format-python
Format Python code with Black
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Format Python code with Black
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
AI Agent code quality check - Use Ruff to check code standards for LangChain, AutoGen, and other AI Agent projects
Dockerfile best practices check - Use hadolint to validate Dockerfile security, performance, and compliance
Structure, validate, and locally manage evolution assets (Gene, Capsule, EvolutionEvent). Use when the user wants to record a solution, document a bug fix, create a Gene or Capsule, capture an evolution process, or compute an asset_id locally. No network connection required. Trigger keywords: Gene, Capsule, EvolutionEvent, evolution asset, asset_id, record solution, save fix, document repair.
Format JavaScript/TypeScript code with Prettier
Kubernetes YAML validation - Use kube-linter and kubeconform to check K8s config security and best practices
Check JavaScript/TypeScript code quality with ESLint
| 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
.\.agents\skills\format-python\scripts\format.ps1
# Linux/Mac
./.agents/skills/format-python/scripts/format.sh
# Check without modifying (preview mode)
.\.agents\skills\format-python\scripts\format.ps1 -Check
# Specify directory
.\.agents\skills\format-python\scripts\format.ps1 -Path ".\src"
Safety Gate: By default, this skill skips protected folders (
.agents/,bmad/).
# pyproject.toml
[tool.black]
line-length = 88
target-version = ['py38']
include = '\.pyi?$'
extend-exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''