thalarch-pythonlisted
Install: claude install-skill LUC4N3X/antigravity-thalarch
# Thalarch Python
Use the runtime, package manager, frameworks, typing policy, and quality tools already declared
by the repository. Do not force `uv`, Poetry, Ruff, Pyright, FastAPI, Pydantic, or any other
modern tool merely because it is popular.
## Preflight
Identify:
- supported Python versions;
- `pyproject.toml`, setup/config files, lockfiles and environment manager;
- runtime/framework dependencies;
- formatter/linter/type checker configuration;
- test runner/plugins;
- packaging/distribution contract.
Use the repository's existing environment and commands when available.
## Idiomatic Python
Prefer clear Python-native constructs:
- comprehensions/generator expressions for simple transformations;
- `enumerate`, `zip`, `collections`, `itertools`, `pathlib`, context managers, and other
standard-library primitives where they clarify intent;
- dataclasses/value types when the repository and problem benefit from them;
- precise function/type contracts rather than type noise on obvious locals;
- EAFP only where the exception is the real boundary signal and failure cost is acceptable.
Do not compress complex business logic into clever expressions. A readable loop is better than
a dense comprehension with hidden state or difficult branching.
Never use mutable default arguments unintentionally.
## Typing
Follow the project's configured type checker and Python floor.
- Preserve generics and protocols where they encode useful contracts.
- Prefer `unknown`-equivalent