add-plan-based-features

Implement a 3-layer feature system with plan-specific limits and flags.

8|2|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/brabos-ai/code-addiction --skill add-plan-based-features
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-plan-based-features
Source: https://github.com/brabos-ai/code-addiction/tree/main/framwork/.codeadd/skills/add-plan-based-features
Command: npx skills add https://github.com/brabos-ai/code-addiction --skill add-plan-based-features

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing subscription plan features, ensuring consistent application of limits and flags across your application.

Core Features & Use Cases

  • Feature Flag Management: Easily add or modify boolean feature flags gated by subscription plans.
  • Limit Enforcement: Implement and update quantitative limits (e.g., users, projects) based on plan tiers.
  • Use Case: When introducing a new premium feature, use this Skill to define its availability for different subscription tiers (Free, Starter, Professional) and ensure it's correctly validated in the backend.

Quick Start

Use the add-plan-based-features skill to add a new feature flag called 'newDashboard' to the PROFESSIONAL plan.

Frequently Asked Questions about add-plan-based-features

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce subscription plan limits for quantitative features like users or projects?

Subscription plan limits are enforced by integrating a 3-layer feature system with IPlanService to validate quantitative constraints within controllers and services, ensuring counts like users or projects are correctly checked against plan tiers.

What is the best way to add a boolean feature flag gated by subscription tiers?

Adding boolean feature flags gated by subscription tiers is handled by defining availability for plans like Free, Starter, or Professional, with dynamic updates supported via Manager app or database migrations.

How does IPlanService validate feature access for different subscription plans?

IPlanService validates feature access by checking boolean flags and quantitative constraints within controllers and services, using a 3-layer feature system to ensure consistent application of limits across subscription tiers.

Can I dynamically update plan features without redeploying the application?

Yes, plan features support dynamic updates without redeployment via the Manager app or database migrations, allowing modification of subscription plan-specific limits and flags while maintaining consistent validation.

Do I need database migrations to introduce new premium features across subscription tiers?

Database migrations are one supported method to introduce new premium features, but dynamic updates can also be applied via the Manager app, with both approaches integrating into the 3-layer system to define availability across tiers.