What problem does it solve?
Teams struggle to decide whether they need a backend-for-frontend, how many to run, and what each BFF is allowed to own, often ending up with bloated shared APIs, business logic leaking into BFFs, or confused-deputy identity forwarding to upstream services.
Core Features & Use Cases
- Adoption and Granularity Decisions: Apply explicit adoption signals, the one-experience-one-BFF rule, frontend-team ownership, and honest cost accounting including modular-monolith versus per-service shapes.
- Aggregation and Resilience Guidance: Fan out in parallel with propagated deadlines, one retry owner per edge, per-section partial-failure contracts, identity-keyed caching, and streaming composition rules.
- Upstream Identity Mediation: Prevent confused-deputy attacks with per-upstream token exchange (RFC 8693), audience narrowing, sender-constraining tiers, and logout/revocation propagation.
- Use Case: When a second client type (mobile app) arrives and frontend teams queue behind a general-purpose API team, use this Skill to decide the BFF topology, define degradation contracts, and design token exchange toward upstream services.
Quick Start
Ask the AI to evaluate whether your system needs a BFF, how many, and what each one may own, given your client types and team structure.