mit einem Klick
format-python
Format Python code with Black
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Menü
Format Python code with Black
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Basierend auf der SOC-Berufsklassifikation
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
)/
'''