skills/base/bill-feature-guard/SKILL.md
Enable feature flag mode - all code changes will be guarded by feature flags for safe rollback. Use when implementing new features that need gradual rollout, A/B testing, or safe rollback capability. Applies the Legacy pattern for large changes, factory/DI switching for medium changes, and simple conditionals for small changes. Use when user mentions feature flag, feature toggle, gradual rollout, safe rollback, or guard with flag.
npx skillsauth add sermilion/mobile-development-plugin bill-feature-guardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
If .agents/skill-overrides.md exists in the project root and contains a ## bill-feature-guard section, read that section and apply it as the highest-priority instruction for this skill. The matching section may refine or replace parts of the default workflow below.
If an AGENTS.md file exists in the project root, apply it as project-wide guidance.
Precedence for this skill: matching .agents/skill-overrides.md section > AGENTS.md > built-in defaults.
North Star Goal: Single feature flag check to switch between old and new execution paths. Minimize flag usage by structuring code cohesively.
Rollback Guarantee: When the feature flag is OFF, the application MUST behave exactly as it did before any changes.
Cohesive New Code: Avoid sprinkling if (featureEnabled) checks throughout the codebase. Structure changes so flag decisions happen at the highest practical level.
*Legacy, create new, single flag check at routing levelSee patterns.md for code examples and anti-patterns (DO/DON'T).
feature-[name], [platform]-[name])false (disabled) for new featuresFor the remainder of this session:
development
Use when running a governed editorial assignment desk from Readian recommendations through candidate selection and source-backed story packs.
testing
Use when reviewing unit tests in a file, current changes, or a commit to flag low-value, tautological, or coverage-only tests that do not validate real behavior. Use when user mentions check test quality, review tests, tautological tests, weak tests, or coverage-padding.
data-ai
Use when removing an existing skill or platform skill set and cleaning up agent installs, manifests, and supporting links.
development
Use when you want a generic quality-check entry point that detects the dominant stack in scope and delegates to the matching stack-specific quality-check skill. Use when user mentions run checks, validate, lint, format, quality check, or run quality.