Favicon of feature-flags

feature-flags Skill

AI Agent SkillJavaScriptOpen source

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React. Published by react in react.

What is feature-flags Skill?

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React. Published by react in react. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
100/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Testing
  • Testing use cases

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use feature-flags Skill

  • Use it for testing.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

  • Creator: react
  • Repository: react/react
  • Skill file: .claude/skills/feature-flags/SKILL.md

What it does

Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.

Skill instructions

React Feature Flags Flag Files | File | Purpose | |------|---------| | packages/shared/ReactFeatureFlags.js | Default flags (canary), EXPERIMENTAL overrides | | packages/shared/forks/ReactFeatureFlags.www.js | www channel, VARIANT overrides | | packages/shared/forks/ReactFeatureFlags.native-fb.js | React Native, VARIANT overrides | | packages/shared/forks/ReactFeatureFlags.test-renderer.js | Test renderer | Gating Tests @gate pragma (test-level) Use when the feature is completely unavailable without the flag: javascript // @gate enableViewTransition it('supports view transitions', () = { // This test only runs when enableViewTransition is true // and is SKIPPED (not failed) when false }); gate() inline (assertion-level) Use when the feature exists but behavior differs based on flag: javascript it('renders component', async () = { await act(() = root.render(<App /)); if (gate(flags = flags.enableNewBehavior)) { expect(container.textContent).toBe('new output'); } else { expect(container.

Explore related resources

Frequently asked questions

What is feature-flags?

feature-flags is a open-source AI agent skill with Copy skill directory. Use when feature flag tests fail, flags need updating, understanding @gate pragmas, debugging channel-specific test failures, or adding new flags to React.

Who is feature-flags best for?

feature-flags is best for reusing agent instructions, scripts, and references, testing workflows.

How do I install feature-flags?

Install or run feature-flags using Copy skill directory. Check feature-flags for the latest setup command.

Is feature-flags actively maintained?

feature-flags may need a closer maintenance check before production use.

Share:

Stars
246,462
Forks
51,206
Last commit
13 days ago
Repository age
13 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to feature-flags