From xonovex-skill-python
Use when writing or editing Python 3.12+ for APIs, data processing, scripting, or tooling. Triggers on `.py` files and prompts about async functions, type hints, dataclasses, pathlib, pytest, generators, context managers, f-strings, even when the user doesn't say 'Python'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-python:python-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Python ≥ 3.12; pytest ≥ 8.
evals.jsonreferences/async-await-patterns.mdreferences/caching-functions.mdreferences/dataclasses-type-hints.mdreferences/exception-handling.mdreferences/generators-comprehensions.mdreferences/pathlib-file-ops.mdreferences/resource-management.mdreferences/string-formatting.mdreferences/type-checking.md@cache, see references/caching-functions.mddef f(x=[]):) share state across calls — use None and assign insidemultiprocessing or compiled extensionsis checks identity, not equality — small-int caching means a is b works for 1 but fails for 300__init__.py is no longer required for packages (PEP 420), but mixing namespace and regular packages causes silent import-shadowing bugsasync/sync mixing without asyncio.to_thread blocks the event loop — a single requests.get() in an async handler kills concurrencyGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub xonovex/platform --plugin xonovex-skill-python