一键导入
format-python
Format Python code with Black
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Format Python code with Black
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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
基于 SOC 职业分类
| 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
)/
'''