manage-flags

Manage feature flag lifecycle with idempotent creation, activation, deactivation, and cleanup.

6|Updated Aug 3, 2025
One-click install
npx skills add https://github.com/foomakers/pair --skill manage-flags
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: manage-flags
Source: https://github.com/foomakers/pair/tree/main/packages/knowledge-hub/dataset/.skills/capability/manage-flags
Command: npx skills add https://github.com/foomakers/pair --skill manage-flags

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the management of feature flags, ensuring they are created, activated, deactivated, and cleaned up according to best practices, reducing technical debt and improving code quality.

Core Features & Use Cases

  • Lifecycle Management: Create, activate, deactivate, and clean up feature flags.
  • Guideline Adherence: Follows established feature flag guidelines for types, implementation, and cleanup.
  • Idempotency: Detects existing flags and avoids re-creation, providing status updates.
  • Use Case: A developer needs to introduce a new feature behind a flag. This Skill can create the flag, add it to the codebase, and later help in deactivating and cleaning it up once the feature is fully rolled out.

Quick Start

Use the manage-flags skill to create a new feature flag named 'new-dashboard-ui'.

Frequently Asked Questions about manage-flags

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage the feature flag lifecycle to reduce technical debt?

To manage the feature flag lifecycle, you must create, activate, deactivate, and remove flags according to project guidelines. This process includes detecting existing flags to ensure idempotency and applying automated cleanup strategies to reduce technical debt.

What are the best practices for implementing different feature flag types?

Implementing feature flag types like Release, Experiment, Ops, and Permission requires following established project guidelines. Adhering to these specific implementation patterns ensures flags are created idempotently and cleaned up efficiently to maintain code quality.

How do I automate feature flag cleanup after a full rollout?

Automating feature flag cleanup after a full rollout requires applying automated cleanup strategies defined by project guidelines. This ensures flags are deactivated and removed systematically, mitigating technical debt and maintaining code quality.

Does feature flag management detect existing flags to avoid duplicate creation?

Yes, proper feature flag management detects existing flags to ensure idempotency and avoid duplicate creation. It provides status updates for flags already present in the system, preventing redundant code additions and maintaining project consistency.

Can I use feature flag management for both Ops and Permission flags?

Yes, you can manage Ops and Permission flags alongside Release and Experiment flags. The management process supports various flag types and their specific implementation patterns, ensuring all categories follow project guidelines for activation and cleanup.