Tenzir Python coding standards and tooling setup. Use when writing python code, running ruff/mypy/pytest, encountering pyproject.toml/uv.lock, or setting up a new Python project.
Applies Tenzir Python coding standards and tooling when writing or reviewing Python code.
npx claudepluginhub tenzir/claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
coverage.mddev-dependencies.mdmypy.mdproject-structure.mdpyproject.mdpytest.mdruff.mdupgrading-dependencies.mdCoding standards for Python projects at Tenzir.
All projects use:
Prefer to use these libraries to ensure uniform codebase across Tenzir repositories:
Run before committing or releasing:
uv run ruff check \
&& uv run ruff format --check \
&& uv run mypy \
&& uv run pytest \
&& uv build
The chain fails fast on the first error.
Target Python 3.12+. Use modern syntax and stdlib features freely—no backwards-compatibility with older versions.
Any; fix warnings rather than ignoring them__init__.py files empty. They are only used to mark a directory as
importable but do not contain any content, let alone non-trivial code.from this_package.foo import bar instead of from .foo import bar.| Element | Convention | Example |
|---|---|---|
| Modules | snake_case | my_module.py |
| Functions | snake_case | calculate_total() |
| Variables | snake_case | user_count |
| Classes | PascalCase | DataProcessor |
| Constants | CONSTANT_CASE | MAX_RETRIES |
--output-file, not --output_fileconfig.pypytest as testing frameworkCliRunner for end-to-end CLI testingtmp_path for filesystem testsOnly read the specific file you need when setting up a new project or modifying that tool's configuration:
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.