This skill should be used when the user is working with Python code, configuring Python projects, writing Python tests, documenting Python code, designing Python APIs, reviewing Python code, or discussing Python development best practices.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
references/benchmarking.mdreferences/code-organization.mdreferences/code-style.mdreferences/dataclass-patterns.mdreferences/debugging.mdreferences/dependencies.mdreferences/error-handling.mdreferences/profiling.mdreferences/public-api-design.mdreferences/refactoring.mdreferences/security.mdreferences/testing-antipatterns.mdreferences/testing.mdreferences/tooling.mdreferences/typing.mdThis skill provides guidance for exploring, writing, reviewing, refactoring, testing, documenting, and maintaining Python code. It includes progressively-disclosed references on Python best practices, coding standards, testing frameworks, documentation tools, packaging and distribution methods, and common libraries.
Gather context - Run oaps skill orient python-practices to see available references and workflows
Identify relevant references - Review the references table from step 1 and select those matching your task
Load dynamic context and references - Run oaps skill context python-practices --references <names...>
Review loaded references and commands - Read through the guidance. The Allowed commands table at the end of the output is authoritative for what commands can be run.
Follow the workflow - Adhere to the selected workflow's steps for structuring, writing, reviewing, or improving the specification.