Skip to content
F

feature-flags

Feature flag tests fail, flags need updating, understanding @gate pragmas

by reactFree

Launch
#452in AI Skills
0In stores

Description

feature-flags is an agent skill from the React core repository, listed on skills.sh. It helps contributors work with React's feature flags.…

Highlights

  • Flag files for each React channel
  • @gate pragma for tests
  • Channel-specific failure debugging
  • Adding new flags

Ratings & Reviews

No ratings yet

Be the first to rate feature-flags.

People also visit

T

test

Run tests for React core

AI Skills
Launch
R

react-testing

React component testing with React Testing Library, Vitest/Jest

AI Skills
Launch
E

extract-errors

Adding new error messages to React, or seeing "unknown error code" warnings

AI Skills
Launch
W

webapp-testing

Test local web applications using Playwright for UI verification and debugging

AI Skills
Launch
M

migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn

AI Skills
Launch
T

tdd

Test-driven development with vertical slices, behavior-focused tests

AI Skills
Launch

feature-flags FAQ

What does the feature-flags skill do?

It guides contributors through React's feature flag files, the @gate test pragma and channel-specific test failures.

What is the @gate pragma?

A test-level marker used when a feature is entirely unavailable without its flag.

Which channels does it cover?

Canary defaults, www, React Native and the test renderer, through their flag files.

How do I install it?

Run: npx skills add https://github.com/react/react --skill feature-flags

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best feature-flags alternatives?

Popular alternatives to feature-flags include test, react-testing and extract-errors. See all feature-flags alternatives

Developer Stuff

Badges