What problem does it solve?
This Skill ensures every app in the Business Suite bundle stops reinventing authentication, entitlements, and credit metering so subscribers receive consistent gating, shared credits, and authenticated downloads from LPBS.
Core Features & Use Cases
- JWT Authentication Middleware: Validates LPBS-issued tokens via Authorization header or access_token cookie, checks issuer, expiry, and signing secret, then sets user context without storing credentials.
- Entitlements & Credit Consumption: Calls the LPBS entitlements endpoint with short caching, handles authorized/forbidden responses, consumes credits before expensive work, includes scenario metadata, and maps errors to the standard LPBS shape.
- LPBS Registration & Audit: Registers the app and platform assets in download_apps/download_assets with requires_entitlement flags, documents integration findings, and uses visited-tracker plus internal docs to keep the bundle auditable.
Quick Start
Use the bundle integration steer to audit the scenario, confirm JWT middleware, entitlement checks, and LPBS registration before releasing the app.