skills/.deprecated/fusion-framework-feature-toggling/SKILL.md
Guides developers using Fusion Framework feature flags with MCP-backed framework retrieval first and bundled public-source fallback assets when MCP is unavailable. USE FOR: helping with `enableFeatureFlag`, `enableFeatureFlagging`, `useFeature`, rollout/cleanup guidance, and finding Fusion Framework feature-flag examples. DO NOT USE FOR: generic SaaS flag platforms, backend-only rollout systems, or inventing framework APIs.
npx skillsauth add equinor/fusion-skills fusion-framework-feature-togglingInstall 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.
Deprecated — This skill has been merged into
fusion-app-react-dev. Usefusion-app-react-devand its referencereferences/using-feature-flags.mdfor all Fusion Framework feature-flag guidance. This skill is retained for historical context only and will be removed in a future release.
Use this skill when a developer needs grounded help with feature toggling in Fusion Framework.
Typical triggers:
Do not use this skill for:
Collect before responding:
If important inputs are missing, ask only the smallest question needed to choose the right framework surface.
Confirm the request is really about Fusion Framework feature toggling.
Use Fusion MCP first when it is available.
mcp_fusion_search_framework with the user's wording plus feature-toggle terms such as feature flag, feature toggling, useFeature, enableFeatureFlag, or enableFeatureFlagging.mcp_fusion_search_docs only when broader product guidance is needed beyond framework implementation details.If Fusion MCP is unavailable or inconclusive, say so clearly and switch to the bundled fallback.
Identify which help shape the user needs.
useFeature, toggle behavior, and value handling.Prefer the currently evidenced Fusion Framework entry points.
enableFeatureFlag(appConfigurator, [...]) from @equinor/fusion-framework-react-app/feature-flag.enableFeatureFlagging(config, builder => ...) from @equinor/fusion-framework-module-feature-flag.createLocalStoragePlugin and createUrlPlugin.useFeature(key) in the app package, or the provider-based useFeature(provider, key) variant in the framework package.Call out public-source ambiguity instead of guessing.
readonly and readOnly; tell the user to verify the local type before finalizing code.Give practical guidance, not just API names.
title and description when the flag is surfaced to users or reviewers.value only when behavior needs configuration in addition to on/off state.Return a concise, evidence-backed answer.
Return:
Never:
Always:
tools
Use Fusion DevTools CLI (fdev) for API testing, token acquisition, service discovery, and person lookup during development. USE FOR: calling Fusion REST APIs, getting access tokens as JSON, discovering services and environments, resolving persons, PIM role activation. DO NOT USE FOR: modifying backend service code, deploying services, infrastructure changes, CI/CD pipeline configuration, or Service Bus operations.
testing
Main Copilot skill gate for the Fusion ecosystem — cross-domain router. USE FOR: routing between different Fusion domains (skills, issues, PRs, reviews) when the right domain skill is unclear; getting install guidance for missing skills. DO NOT USE FOR: skill lifecycle operations (use fusion-skills directly), tasks where a specific Fusion skill is already active.
tools
Entrypoint for all Fusion skill lifecycle operations. USE FOR: finding, installing, updating, syncing, or greenkeeping skills; setting up skill automation; creating or authoring a new skill; reporting a bug with a skill. DO NOT USE FOR: resolving GitHub issues, reviewing PRs, planning task breakdowns, or authoring GitHub issues — those are handled by other Fusion skills.
tools
Creates or modernizes repository skills with clear activation cues, purposeful support files, and practical review loops. USE FOR: creating a new skill, tightening an existing skill, improving discovery wording, and structuring references/assets/optional helper agents when they genuinely add value. DO NOT USE FOR: product-code changes, routine copy edits outside skills/, or documentation that should not become an installable skill.