init-python
Installation
SKILL.md
init-python
Generate Python tooling configuration files for a new project. This skill is used by the init-project skill but can also be used standalone.
Files to Generate
pyproject.toml
[project]
name = "<project-or-subdirectory-name>"
version = "0.1.0"
description = ""
requires-python = ">=3.13"
[dependency-groups]
dev = ["ruff>=0.15.0", "ty>=0.0.15"]
[build-system]
requires = ["uv_build>=0.10.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP", "ANN", "PTH", "RET", "SIM", "TID", "RUF"]
ignore = ["E501", "B008", "C901", "RET504", "ANN401"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ty.rules]
division-by-zero = "error"
deprecated = "error"
unused-ignore-comment = "error"
possibly-unresolved-reference = "error"
Related skills
More from kstonekuan/init-project-skill
init-project
Scaffold a new project with opinionated tooling configs for TypeScript, Rust, Python, Docker, and/or Shell
6init-typescript
Generate opinionated TypeScript project config files (package.json, tsconfig.json, biome.json) for use with init-project
3init-rust
Generate opinionated Rust project config files (Cargo.toml with pedantic clippy lints) for use with init-project
3