Patterns

Detailed implementation guidance for core microservice patterns. Each pattern section covers intent, when to use it, how it works, and implementation notes. No

EmailCRO
bySamuelca63991,886 words

What is Patterns?

What this skill does

The Patterns skill provides detailed, practical guidance on implementing core microservice design patterns such as CQRS, Event Sourcing, Circuit Breaker, Bulkhead, Sidecar, and Ambassador. Each pattern explanation covers its intent, operational mechanics, when to apply it, and important implementation considerations. This skill helps practitioners build scalable, resilient microservices by understanding trade-offs like eventual consistency, operational complexity, and performance impacts.

Who it's for

This skill is tailored for backend engineers, platform architects, and technical growth leads responsible for designing and maintaining scalable service architectures. It serves those working in environments with complex read-write workloads, high availability requirements, or multiple downstream dependencies. Agencies advising clients on digital platform scalability or reliability will also find this resource valuable for guiding technical strategy and risk mitigation.

Key workflows

Practitioners typically start by assessing the read-write workload to decide if a pattern like CQRS fits, separating command and query responsibilities to optimize performance. Next, they implement event sourcing to capture domain state changes as event streams, enabling auditability and state reconstruction. To enhance system resilience, they configure circuit breakers with appropriate failure thresholds and fallback strategies to prevent cascading failures. Finally, they isolate resource usage via bulkheads or offload cross-cutting concerns to sidecars or ambassador proxies, ensuring service stability under load and simplifying operational complexity.

Common questions

How do I decide between logical and physical CQRS? Start with logical CQRS in a single datastore and only move to physical separation when read and write workloads diverge significantly. What fallback strategy should I use with circuit breakers? Prefer returning cached or degraded responses before failing fast to maintain user experience. When is bulkhead isolation necessary? Use bulkheads when multiple downstream services risk saturating shared resources, preventing one slow service from affecting others.

How to use in Metaflow

Attach the Patterns skill to your Metaflow agent task to receive actionable microservice pattern guidance tailored to your implementation context. Expect clear, scenario-driven explanations that help you choose and configure patterns like CQRS or Circuit Breaker based on your service characteristics. This skill integrates smoothly with other infrastructure and reliability-focused skills, empowering you to build robust systems.

For broader context, see our roundup of claude marketing skills, and read Claude Code workflows for marketing agencies for related setup guidance.

Related skills

Paywall & Upgrade Flow Optimization

When the user wants to create or optimize in-app paywalls, upgrade screens, upsell modals, or feature gates. Also use when the user mentions "paywall," "upgrade screen," "upgrade modal," "upsell," "feature gate," "convert free to paid," "freemium conversion," "trial expiration screen," "limit reached screen," "plan upgrade prompt," "in-app pricing," "free users won't upgrade," "trial to paid conversion," or "how do I get users to pay." Use this for any in-product moment where you're asking users

View →

User Onboarding & Activation Optimization

When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," "new user experience," "users aren't activating," "nobody completes setup," "low activation rate," "users sign up but don't use the product," "time to value," or "first session experience." Use this whenever users are si

View →

Signup Flow Optimization

When the user wants to optimize signup, registration, account creation, or trial activation flows. Also use when the user mentions "signup conversions," "registration friction," "signup form optimization," "free trial signup," "reduce signup dropoff," "account creation flow," "people aren't signing up," "signup abandonment," "trial conversion rate," "nobody completes registration," "too many steps to sign up," or "simplify our signup." Use this whenever the user has a signup or registration flow

View →

Landing Page Conversion Optimization

When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing pages, pricing pages, feature pages, or blog posts. Also use when the user says "CRO," "conversion rate optimization," "this page isn't converting," "improve conversions," "why isn't this page working," "my landing page sucks," "nobody's converting," "low conversion rate," "bounce rate is too high," "people leave without signing up," or "this page needs work." Use this even if th

View →

Popup & Modal Conversion Optimization

When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see form-cro. For general page

View →

Help Center Architecture

Detailed patterns for designing help center information architecture across common complexity scenarios: multi-product, multi-role, multilingual, and high-scale

View →