By mvolkov83
Python observability best practices using OpenTelemetry — SDK bootstrap with off-switch contract and idempotency guard, auto-instrumentation (gRPC / SQLAlchemy / FastAPI / Logging), the LoggingInstrumentor + structlog correlation pattern with custom log hook and CleanLoggingHandler, two-tier log field taxonomy, span attribute conventions with <service>.<key> prefix for cross-service Tempo search, sensitive-field redaction at the serialization boundary, status taxonomy, metrics cardinality control, tail-based sampling, and Sentry-with-OTel integration
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin marketplace bundling production-tested best-practices skills for an async-first Python backend stack — SQLAlchemy 2.0, FastAPI, pytest, gRPC (
grpc.aio), git workflow, and OpenTelemetry observability.
If you're using Claude Code on Python projects with this stack, these skills make Claude consistent with conventions the team has already converged on, without bloating your context. Each skill lazy-loads only when relevant — no cost on conversations where it doesn't apply.
6 standalone skills. Install only what you need:
| Plugin | Triggers on | Adds guidance for |
|---|---|---|
sqlalchemy-best-practices | imports of sqlalchemy / sqlalchemy.ext.asyncio, AsyncSession, Mapped[T], select(), selectinload, ORM models, MissingGreenlet errors | SQLAlchemy 2.0 async — engine/pool defaults, Mapped[T] model design, relationship loading strategies, async session lifecycle, FastAPI DI |
fastapi-best-practices | imports of fastapi / pydantic_settings, APIRouter, Depends, BackgroundTasks, BaseSettings, Pydantic v2 schemas | FastAPI production — domain-organized structure, async correctness, DI patterns with per-request caching, split request/response models, Settings v2 with lru_cache, async testing |
pytest-best-practices | code under tests/, @pytest.fixture, @pytest.mark.asyncio, parametrize, imports of pytest_asyncio / factory / faker / respx / freezegun / hypothesis | pytest async-first — fixture scope discipline, pytest-asyncio with asyncio_mode=auto, factory_boy + faker test data, respx HTTP mocks, real-DB integration via testcontainers, flush() pattern, pytest-xdist parallelism |
grpc-python-best-practices | grpc.aio.*, *_pb2.py / *_pb2_grpc.py files, .proto files, ServerInterceptor, UnaryUnaryClientInterceptor | gRPC grpc.aio Kubernetes-native — server bootstrap with health-drain, shared channel factory, decorator pattern (@grpc_logger + @grpc_error_handler), max_connection_age_* for HPA rebalancing, client-side LB via dns:/// + round_robin, ERROR_MAP with rich google.rpc.Status |
git-workflow-best-practices | git commit, git push, gh pr create, branch creation, PR review prep, commit message writing | Git Flow branches, Conventional Commits, atomic commits with imperative mood, pre-commit hygiene, pull --rebase, force-push scope, ~400 LOC PR target, squash on merge |
observability-best-practices | imports of opentelemetry.*, setup_telemetry() calls, tracer.start_as_current_span(), LoggingInstrumentor, span attribute setting, structlog with trace_id binding, OTLP exporter config, Loki / Tempo / Grafana / Sentry integration | Python OpenTelemetry — SDK bootstrap with off-switch + idempotency guard, auto-instrumentation (gRPC / SQLAlchemy / FastAPI / Logging), LoggingInstrumentor + structlog correlation, two-tier log field taxonomy, <service>.<key> span attributes, sensitive-field redaction, metrics cardinality control, tail-based sampling, Sentry-with-OTel |
Each skill is depersonalized — generic placeholder names (MyService, MyServiceClient, MyServiceError) instead of project-specific symbols. Patterns are anchored in real production code but written to apply across any project that follows the same stack.
In any Claude Code session:
/plugin marketplace add mvolkov83/skills
/plugin install sqlalchemy-best-practices@mvolkov-skills
/plugin install fastapi-best-practices@mvolkov-skills
/plugin install pytest-best-practices@mvolkov-skills
/plugin install grpc-python-best-practices@mvolkov-skills
/plugin install git-workflow-best-practices@mvolkov-skills
/plugin install observability-best-practices@mvolkov-skills
/reload-plugins
That's it. Run a SQLAlchemy / FastAPI / pytest / gRPC / OTel question and the relevant skill auto-triggers.
Heads up on the alias: the install alias (
@mvolkov-skills) is thenamefield from.claude-plugin/marketplace.json— not the basename of the repo URL. Claude Code reports the actual alias after/plugin marketplace add("Successfully added marketplace:<alias>"); use exactly that. If you see "marketplace not found" on install, double-check the alias from that line.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimnpx claudepluginhub mvolkov83/skills --plugin observability-best-practicespytest async-first testing best practices — test layer structure, fixture design, async testing with pytest-asyncio, test data with factory_boy + faker, HTTP mocking with respx, time mocking with freezegun, property-based testing with hypothesis, DB transaction-rollback isolation, flush() pattern for chained fixtures, pytest-xdist parallelism
SQLAlchemy 2.0 async-first best practices — engine and pool config, Mapped[T] models, relationship loading strategies (selectin/select/write_only), query optimization, async sessions and transactions, FastAPI dependency injection
FastAPI production best practices — domain-organized project structure, async correctness, DI patterns with per-request caching and chaining, Pydantic v2 split create/update/response models, Pydantic Settings v2, async testing with httpx.AsyncClient
Python gRPC async-first Kubernetes-native best practices using grpc.aio — server bootstrap with graceful shutdown, shared per-process channel factory, canonical decorator pattern for cross-cutting concerns, max_connection_age_* for HPA rebalancing, client-side LB via dns:/// + round_robin over a headless Service (no service mesh), ERROR_MAP + rich google.rpc.Status error model, client-side translation hierarchy
Git workflow best practices — Git Flow branch prefixes, Conventional Commits format, atomic commits with imperative mood, pre-commit hygiene, pull --rebase before push, no force-push to shared branches, max ~400 LOC per PR, squash on merge for clean main history
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Payload Development plugin - covers collections, fields, hooks, access control, plugins, and database adapters.