Not loaded · from fastmcp-engineering
Select the smallest justified architectural pattern for a concrete problem without cargo-culting design patterns.
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.
Choose an abstraction only when the requirement demonstrates a real boundary, variability, lifecycle concern, or dependency inversion need.
Scope / When to use: selecting an architectural pattern for a concrete problem without cargo-culting design patterns. Trigger: a requirement may warrant an abstraction, boundary, variability, lifecycle concern, or dependency inversion need. Upstream / Prerequisite: a concrete problem statement; the simplest direct solution considered mentally. Mission / Goal: choose an abstraction only when the requirement demonstrates a real boundary, variability, lifecycle concern, or dependency inversion need. Research / Evidence: check whether FastMCP already provides the relevant mechanism through Providers, Transforms, Middleware, Context, lifespan, tasks, authentication, authorization, pagination, versioning, proxy/composition, or Client testing. Decision / Selection rules: state the concrete problem, implement the simplest direct solution, identify why it becomes insufficient, list at least one viable simpler alternative, and select a pattern only if its benefit exceeds its complexity cost. Version / Compatibility: Привязан к целевому FastMCP/MCP/Python-релизу.
Deliverables / Artifacts: selected approach, problem, simpler alternative, reason the alternative is insufficient, complexity cost, testing impact, YAGNI decision, and rejected patterns with reasons. Verification / Testing: record the decision in the architecture decision contract. Failure / Stop conditions: reject pattern cargo culting and abstractions whose complexity cost exceeds their demonstrated benefit. Positive scenario: a pattern is selected only when its benefit exceeds its complexity cost and the decision is recorded in the architecture decision contract. Negative scenario: an abstraction is introduced without a demonstrated change boundary or variability need, purely because the pattern is conventional.
| Pattern | Justify when | Reject when |
|---|---|---|
| Repository | persistence is an explicit application boundary | it only wraps one trivial ORM call without a boundary need |
| Adapter | an external API/model must be isolated | the wrapper merely renames methods |
| Strategy | algorithms are genuinely interchangeable | there is only one algorithm and no real variability |
| Factory | creation has meaningful selection/lifecycle rules | construction is a one-line constructor call |
| Facade | a subsystem is genuinely complex for callers | it hides one simple dependency |
| Observer/Event bus | asynchronous decoupled subscribers are required | it replaces a direct function call without a concrete need |
| CQRS | read/write models or scaling/consistency needs justify separation | CRUD complexity is low |
Before introducing a custom pattern, check whether FastMCP already provides the relevant mechanism through Providers, Transforms, Middleware, Context, lifespan, tasks, authentication, authorization, pagination, versioning, proxy/composition, or Client testing.
Return:
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