Skip to main content
Create a feature flag class and its test file in a module. The class goes under the module’s src/flags directory and a matching test spec under tests/feature-flag. The flag key is pre-filled in kebab-case from the name, and the @talosjs/feature-flag package is installed if it is missing.

Usage

Examples

Options

AI Skill

This command ships a matching flag:create skill. It generates the feature flag class and its test file, then guides your AI agent through completing a flag that implements the IFeatureFlag interface from @talosjs/feature-flag.