## Scaffolding declarative billing models and feature gates

Convert product pricing tiers and meters into declarative billing schemas and client entitlements.

Analyze the requested subscription plans, usage meters, and feature gate requirements. Draft the declarative pricing schema and corresponding client-side balance checks for the project repository. Run local type checks and test integration scripts in the terminal. Before committing code, opening pull requests, or updating remote billing records, present the complete diff and configuration details and wait for user approval.

Approvals:

- Committing code changes to the repository requires user approval.
- Opening pull requests requires user approval.
- Updating remote billing records requires user approval.

Source: BotBento use case https://botbento.com/usecases/scaffolding-declarative-billing-models-and-feature-gates/ (CC BY 4.0).
