Not loaded · from fastmcp-engineering
Evidence-first reliability engineering for FastMCP, PydanticAI, database and external-service workflows, covering deadlines, retries, idempotency, concurrency, backpressure, degradation and recovery.
Claude Code won't load this skill
It ships in fastmcp-engineering at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Design explicit failure boundaries so transient failures do not become duplicated side effects, resource exhaustion, cascading failures or silent data corruption.
Scope / When to use: reliability engineering for FastMCP, PydanticAI, database and external-service workflows, covering deadlines, retries, idempotency, concurrency, backpressure, degradation and recovery. Trigger: designing or changing deadlines, retries, idempotency, concurrency, backpressure, degradation, or recovery behavior. Upstream / Prerequisite: repository architecture, security, testing and configuration contracts read; identified exact versions; evidence, failure assumptions and unresolved questions recorded. Mission / Goal: design explicit failure boundaries so transient failures do not become duplicated side effects, resource exhaustion, cascading failures or silent data corruption. Research / Evidence: read official documentation for timeout/deadline, cancellation, connection pooling, retry and concurrency semantics of every relevant dependency; read FastMCP/FastMCP Client transport and lifecycle documentation for the exact version; read PydanticAI model/tool retry, usage-limit and cancellation semantics; read database/driver transaction and pooling documentation; inspect official examples/source/tests for ambiguous behavior. Decision / Selection rules: for every external boundary define deadline/timeout, cancellation, retryability, retry budget, backoff/jitter, idempotency strategy, concurrency limit, resource limit, error classification, observability, fallback/degradation and recovery; treat each failure domain distinctly; prefer end-to-end deadlines propagated through request-scoped context; retry only transient failures with bounded attempts and a clear retry owner/budget; define replay semantics for any side-effecting operation; bound concurrency; define overload behavior; introduce circuit breakers only where justified; classify capabilities as critical, optional and best-effort and degrade explicitly. Version / Compatibility: identify exact versions of Python, FastMCP, PydanticAI, HTTP/DB clients and runtime infrastructure.
Deliverables / Artifacts: failure-domain map, deadline budget, retry matrix, idempotency model, concurrency/resource budget, overload policy, degradation strategy, recovery model, failure-injection tests, implementation and verification report. Verification / Testing: test each failure mode deterministically — timeout, cancellation, transient failure, permanent failure, retry exhaustion, duplicate delivery, concurrent contention, pool exhaustion, overload, partial dependency failure and recovery; use fault injection/fakes at boundaries and real integration tests for DB/transport semantics where mocks cannot prove behavior. Failure / Stop conditions: reject if timeouts are absent at external boundaries, retries are unbounded or duplicated across layers, side effects lack replay semantics, concurrency is unbounded, queues can grow without bound, transactions span unrelated remote calls, failures are swallowed, or degradation returns misleading success. Positive scenario: transient failures are contained at explicit boundaries without duplicated side effects or resource exhaustion. Negative scenario: unbounded retries across layers duplicate non-idempotent side effects.
Before implementation:
Never add generic retries without mapping the actual failure domain and side-effect semantics.
For every external boundary define:
Treat MCP transport, remote MCP server, LLM provider, HTTP API, database, queue and local process as distinct failure domains. A failure in one must not automatically exhaust unrelated resources.
Prefer end-to-end deadlines propagated through request-scoped context over unrelated nested timeouts. Every network/DB/model operation must have an intentional bound unless the API explicitly requires another lifecycle. Cancellation must reach underlying operations and release resources.
Retry only transient failures with bounded attempts/time/budget and exponential backoff plus jitter where appropriate. Do not retry validation errors, authorization failures, deterministic business rejections or non-idempotent side effects unless an explicit idempotency mechanism makes replay safe.
Avoid retry multiplication across layers. One logical operation should have a clear retry owner/budget.
Any operation that can produce an external or persistent side effect must define replay semantics. Use idempotency keys, unique constraints, state machines or transactional outbox/inbox patterns where justified. Never claim exactly-once execution when the infrastructure only provides at-least-once behavior.
Bound concurrent model calls, MCP calls, HTTP calls, DB work and expensive CPU operations. Use semaphores/pools/queues only with documented ownership and metrics. Avoid unbounded task creation. Keep DB sessions request/task scoped.
Define behavior when capacity is exhausted: queue, reject, shed optional work or degrade. Do not hide overload behind unbounded queues. Preserve critical operations over optional enrichment.
Introduce circuit breakers or bulkheads only where the failure mode and traffic pattern justify their state complexity. Define open/half-open/closed semantics, probe limits and recovery. Do not implement a circuit breaker as decorative retry logic.
Classify capabilities as critical, optional and best-effort. Degrade explicitly and observably. Never return apparently successful authoritative data after silently dropping a critical operation.
Respect transport lifecycle, cancellation and client/server ownership. Remote MCP calls are untrusted external dependencies and may fail, hang, return malformed data or change availability. Bound their execution and isolate their resources. Do not let remote tool failures bypass application authorization.
Bound model calls, tool calls and usage. Ensure model/tool retries cannot duplicate side effects. Use deterministic application-level idempotency rather than relying on the LLM to remember that an operation already happened.
Transactions must have bounded scope. Never hold DB transactions open while waiting for an LLM, remote MCP server or unrelated network operation unless explicitly justified. Handle deadlocks/serialization conflicts according to the database/driver's documented retry semantics.
Define startup recovery, shutdown behavior, in-flight operation cancellation, retry exhaustion, partial failure and replay. Durable state transitions must be explicit.
Test each failure mode deterministically: timeout, cancellation, transient failure, permanent failure, retry exhaustion, duplicate delivery, concurrent contention, pool exhaustion, overload, partial dependency failure and recovery. Use fault injection/fakes at boundaries and real integration tests for DB/transport semantics where mocks cannot prove behavior.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (evgenygurin/fastmcp-engineering) — no native marketplace selected
npx claudepluginhub p/evgenygurin-fastmcp-engineering58 skills in this plugin
/pydantic-ai-agent-integrationEngineer PydanticAI agents behind explicit application boundaries and integrate them with FastMCP without leaking agent state, prompts, model concerns, or provider details into domain logic./api-contract-schema-engineeringEvidence-first API and MCP contract engineering with Pydantic v2 and JSON Schema./api-lifecycle-versioningEvidence-first API lifecycle, schema evolution and compatibility engineering for FastMCP/MCP servers.Other plugins' skills for the same job