/stack-patterns:python-best-practicesfrom stack-patterns
Enforces Python 3.13+ conventions for typed application and library boundaries: precise type contracts, boundary validation, explicit exports, and async resource ownership.
Ships in stack-patterns. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
[!IMPORTANT] Apply the
codebase-architecture:code-styleprinciples through modern Python mechanisms without annotation or packaging ceremony: favor inference, precise structural contracts, explicit runtime validation, side-effect-free imports, and context-managed resource ownership.
Read the linked guidance that governs the current task before writing or reviewing Python.
TypeVar declarations and needless generics.src layout.py.typed, reserving third-party stubs for dependencies that lack complete inline types instead of adding markers merely to silence diagnostics.LICENSE.txt (opens in a new tab)agents/openai.yaml (opens in a new tab)references/async-context-managers.md (opens in a new tab)references/async-pagination.md (opens in a new tab)references/boundary-validation.md (opens in a new tab)references/exception-handling.md (opens in a new tab)references/finite-state-exhaustiveness.md (opens in a new tab)references/inference-and-annotations.md (opens in a new tab)references/naming-and-src-layout.md (opens in a new tab)references/no-fabricated-defaults.md (opens in a new tab)references/no-import-path-mutation.md (opens in a new tab)references/no-runtime-asserts.md (opens in a new tab)references/optional-narrowing.md (opens in a new tab)references/pep-695-generics.md (opens in a new tab)references/project-metadata.md (opens in a new tab)references/protocols.md (opens in a new tab)references/public-exports.md (opens in a new tab)references/py-typed-and-stubs.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub casper-studios/casper-marketplace --plugin stack-patterns10 skills in this plugin
/better-all-best-practices`better-all` conventions for dependency-aware async task graphs. Use when defining `all` or `allSettled` graphs or converting staged async work with task dependencies./drizzle-orm-best-practicesDialect-aware Drizzle ORM conventions for safe query, mutation, and transaction boundaries. Use when writing or reviewing Drizzle schemas, queries, transactions, or raw SQL./open-telemetry-best-practicesLanguage-agnostic OpenTelemetry conventions for queryable signals and explicit operational outcomes. Use when adding or reviewing spans, structured logs, attributes, or exception recording./react-best-practicesReact component conventions for explicit state ownership and data flow. Use when creating or reviewing React components, hooks, effects, or forms./tanstack-react-query-best-practicesTanStack Query conventions for cache-backed React server state. Use when creating or reviewing React queries, mutations, query keys, or cache updates./tanstack-react-table-best-practicesTanStack Table v9 conventions for stable React table schemas and instance behavior. Use when creating or reviewing React tables, columns, metadata, or rendering.Other plugins' skills for the same job