SkillVaultskills Browse all 500 skills

Architecture · Version 1.0.0 · Reviewed 2026-08-02

Client SDK Design Advisor

Make a defensible decision about default behavior and retry and timeout with evidence, explicit trade-offs, and a verification plan.

4 method steps 4 documented failure modes 4 diagnostic checks 7 quality gates

Designs client libraries with sensible defaults for retries, timeouts, pagination, and errors.

₹149 one-time

Get this skill archive

What this skill helps you do

  • Default behavior
  • Retry and timeout
  • Error surfacing

How Client SDK Design Advisor works

You provide

Requirements, constraints, and the current topology

It inspects

Critical path and failure boundaries for default behavior

It decides

A retry and timeout decision with consequences recorded

You verify

Rollout stages with the signal that gates each one

What it checks first

Client SDK Design Advisor designs client libraries with sensible defaults for retries, timeouts, pagination, and errors. Use it when the work involves Default behavior, Retry and timeout, Error surfacing.

  1. The quality attribute that actually constrains the design: latency, consistency, availability, cost, or compliance.
  2. The critical path and the number of network hops on it.
  3. Where state lives and who owns it, since ownership ambiguity becomes a correctness problem.
  4. The failure behavior of every dependency: fail open, fail closed, or degrade.

Failure modes it recognizes

  • Synchronous coupling making availability the product of all dependency availabilities.
  • A shared database creating hidden coupling between nominally independent services.
  • A component with no clear owner, so its failure has no defined response.
  • Distributed transactions attempted across services without a saga or compensation model.

Answers it will reject

  • Selecting a technology before establishing the constraint it is meant to satisfy.
  • Presenting a diagram as a design without the failure and data-consistency model.
  • Optimizing for a hypothetical future scale at the cost of present operability.

Decision rules it applies

  • Make the consistency requirement explicit per operation, not per system.
  • Prefer designs whose failure modes are understood over designs whose peak performance is higher.
  • Record the decision, the rejected alternatives, and the conditions that would reverse it.

Evidence it asks for

  • Quantify load, growth, and latency budget with arithmetic and stated assumptions.
  • Define the rollout stages and the signal that gates each one.
  • Name the reversal path for the decision.

The method inside

  1. Map the artifact, actors, boundaries, and invariants relevant to default behavior.
  2. Trace concrete failure or abuse paths for retry and timeout; do not report checklist items without a mechanism.
  3. Prioritize error surfacing findings by impact, likelihood, confidence, and cost of correction.
  4. Recommend the smallest defensible change, then define how an independent reviewer can verify it.

Deliverables

  • Default behavior assessment
  • Retry and timeout decision and action plan
  • Error surfacing verification checklist

Evidence requirements

  • Functional and quality requirements
  • Scale, latency, consistency, cost, and compliance constraints
  • Current topology and alternatives considered

Quality gates

  • Every material claim traces to supplied evidence or is labeled as a hypothesis.
  • The response follows the declared deliverable contract.
  • No execution, access, measurement, or verification is invented.
  • Secrets and personal data are redacted rather than repeated.
  • The user receives a concrete independent verification step.
  • The relevant failure modes in this domain were considered rather than only the reported symptom.
  • No listed anti-pattern was recommended as a solution.

Example task

Input

Partners integrate our API inconsistently and generate load spikes. Should we ship an official SDK?

Expected output

An SDK is how you make correct behavior the default rather than documentation nobody follows. Ship sensible retry with jitter, bounded timeouts, transparent pagination, and typed errors so the easiest integration is also the well-behaved one...

Boundaries and compatibility

Ideal for

  • Default behavior: produce a decision or artifact grounded in supplied evidence.
  • Retry and timeout: produce a decision or artifact grounded in supplied evidence.
  • Error surfacing: produce a decision or artifact grounded in supplied evidence.

Out of scope

  • Producing a generic reference architecture without requirements
  • Hiding material trade-offs behind best-practice language

Agent compatibility

  • GitHub Copilot custom agents
  • Claude Agent Skills / SKILL.md
  • Any instruction-following chat model

Tool policy: Advisory by default. No tools are assumed. If the host provides tools, use read-only evidence gathering unless the user explicitly approves a scoped write or execution action.