flowglad-feature-gating
OfficialGate premium features with reliable checks.
Authorflowglad
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a robust pattern to gate premium features behind Flowglad entitlements, ensuring users only access what their subscription allows.
Core Features & Use Cases
- Client-side gating using a billing hook and checkFeatureAccess to show or hide UI based on entitlement.
- Server-side enforcement for API routes and sensitive actions to prevent bypassing UI checks.
- Reusable patterns: a FeatureGate component and a withFeatureAccess HOC to reduce boilerplate and maintain consistent behavior.
- Slug-based feature identifiers to ensure environment-agnostic gating.
Quick Start
Show me how to gate a 'premium' feature in a Flowglad-enabled app using the FeatureGate component and server-side checks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: flowglad-feature-gating Download link: https://github.com/flowglad/skills/archive/main.zip#flowglad-feature-gating Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.