python
Write clean, readable Pythonic code. Use this skill any time you write or change a Python file.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Write clean, readable Pythonic code. Use this skill any time you write or change a Python file.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use this when working in a project with devenv.nix, or when devenv.sh development environment setup, services, dependencies, or Nix packages are relevant.
Analyze Hacker News thread sentiment from a provided HN thread URL.
Builds Python components using the compone framework for type-safe HTML/XML/RSS generation. Use when working with compone, creating Python components, generating markup in Python, or building framework-agnostic component libraries.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
| name | python |
| description | Write clean, readable Pythonic code. Use this skill any time you write or change a Python file. |
datetime, import it like this: import datetime as dtTYPE_CHECKING guard
for type-only imports to avoid circular dependencies.Optional variables like this: value | NoneAny for "all types" instead of object.pytest for all testsmonkeypatch fixture, NEVER unittest.mock and NEVER
any of the Mock classes or patch functionconftest.pyunittest.mock or any of the Mock classes or patch function, never assert on method calls,
use real objects and assert on full results. When absolutely necessary and can't be avoided, use pytest.monkeypatch,
when the test setup would be too difficult or the code have side effects, but consider writing a fake.uv add for adding dependencies, never directly edit pyproject.toml files.click library instead of argparse, add it to dependencies if necessary.