feature-flag-system
Skill0 starsChanged 3 months agoMITView on GitHub
Toggle features without deployment using feature flags. Apply automatically when the request matches; the user does not need to mention this skill.
In this repository76 other files it gives its agents.
- app-store-submission-packagerSkill
- digital-product-inventorSkill
- ios-testflight-github-actionsSkill
- meta-ads-analyzerSkill
- get-to-know-a-clientSkill
- investigate-before-recommendSkill
- production-system-auditSkill
- similarweb-analyticsSkill
- stock-analysisSkill
- system-architectSkill
- autonomous-github-syncSkill
- autonomous-sync-scriptSkill
- github-gem-seekerSkill
- organize-github-reposSkill
- using-git-worktreesSkill
- brainstorm-logosSkill
- brand-driven-ux-overhaulSkill
- canvas-designSkill
- excel-generatorSkill
- frontend-designSkill
- inspirational-music-video-productionSkill
- theme-factorySkill
- video-generatorSkill
- multiplayer-game-builderSkill
- promo-code-systemSkill
- realistic-ai-persona-builderSkill
- role-based-access-controlSkill
- serverless-debuggingSkill
- vertical-expansion-blueprintSkill
- manus-mcp-configuratorSkill
- mcp-auto-recoverySkill
- mcp-builderSkill
- mcp-connector-testerSkill
- mcp-ecosystem-optimizerSkill
- voice-ai-integrationSkill
- api-endpoint-builderSkill
- database-schema-generatorSkill
- testing-frameworkSkill
- deployment-automationSkill
- error-monitoring-setupSkill
- github-workflow-automationSkill
- analytics-dashboardSkill
- email-system-builderSkill
- user-authentication-systemSkill
- cron-job-schedulerSkill
- file-upload-systemSkill
- notification-systemSkill
- payment-integrationSkill
- search-implementationSkill
- debug-mining-engineSkill
- doc-coauthoringSkill
- docxSkill
- internet-skill-finderSkill
- pdfSkill
- pptxSkill
- project-handoff-ingestionSkill
- serverless-debuggingSkill
- skill-arsenal-builderSkill
- skill-creatorSkill
- skill-demo-builderSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Read the task-specific instructions in this file before acting.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
Toggle features without deployment using feature flags. Apply automatically when the request matches; the user does not need to mention this skill.
This skill should apply automatically when the request matches; the user does not need to mention this skill.
Workflow
- Read the task-specific instructions in this file before acting.
- Apply the documented constraints, resources, and verification steps.
- Confirm the result against the requested outcome before completion.
Feature Flag System Skill
Implement feature flags to toggle features, run A/B tests, and control rollouts without redeployment.
Purpose
Enable gradual feature rollouts, A/B testing, kill switches, and environment-specific behavior.
When to Use
- Gradual feature rollouts (10% → 50% → 100%)
- A/B testing different versions
- Beta features for select users
- Kill switches for problematic features
- Environment-specific features
Quick Start
python3 /home/ubuntu/skills/feature-flag-system/scripts/setup_flags.py /path/to/projectUsage Example
import { useFeatureFlag } from '@/lib/flags'
export function Dashboard() {
const { enabled } = useFeatureFlag('new_dashboard')
if (enabled) return <NewDashboard />
return <OldDashboard />
}Common Patterns
Percentage Rollout
// Roll out to 25% of users
const rollout = 25
const userHash = hashUserId(user.id) % 100
if (userHash < rollout) {
// Show new feature
}User-Based Access
const betaUsers = ['user1', 'user2']
if (betaUsers.includes(user.id)) {
// Show beta feature
}Providers
- Vercel Flags - Built-in, free
- PostHog - Open source, analytics included
- LaunchDarkly - Enterprise-grade
- Split.io - A/B testing focused
Time Savings
Manual: 1-2 hours
With Skill: 10-15 minutes
Saved: ~1.5 hours per project
Files
scripts/setup_flags.py- Automated setuptemplates/feature-flag.tsx- React hookreferences/flags_patterns.md- Best practices
Related Skills
analytics-dashboard- Track flag usagedeployment-automation- Deploy with flagstesting-framework- Test flag variations
Ship features safely with instant rollback capability.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

