pair-capability-manage-flags — ai-assistant pair-capability-manage-flags, community, ai-assistant, ide skills, development-process, enterprise-solutions, vibe-engineering, Claude Code, Cursor, Windsurf

v0.4.1
GitHub

About this Skill

Perfect for Development Agents needing streamlined feature flag management capabilities. pair is the process layer for AI-assisted development. It gives your AI assistant the context, guidelines, and skills to work the way your team works.

# Core Topics

foomakers foomakers
[0]
[0]
Updated: 2/28/2026

Agent Capability Analysis

The pair-capability-manage-flags skill by foomakers is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for ai-assistant, development-process, enterprise-solutions.

Ideal Agent Persona

Perfect for Development Agents needing streamlined feature flag management capabilities.

Core Value

Empowers agents to manage feature flags throughout their lifecycle, including creation, activation, deactivation, and cleanup, following established feature flags guidelines and technical standards.

Capabilities Granted for pair-capability-manage-flags

Automating feature flag creation and activation
Debugging feature flag implementation patterns
Cleaning up deprecated feature flags

! Prerequisites & Limits

  • Requires adherence to feature flags guidelines
  • Limited to managing feature flags within the pair process layer
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

pair-capability-manage-flags

Install pair-capability-manage-flags, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly

/pair-capability-manage-flags — Feature Flag Lifecycle Manager

Manage feature flags throughout their lifecycle: creation, activation, deactivation, and cleanup. Follows the feature flags guidelines for flag types, implementation patterns, and cleanup strategies.

Arguments

ArgumentRequiredDescription
$flagNoFlag name to manage. If omitted, scans for all flags and presents status.
$actionNoLifecycle action: create, activate, deactivate, cleanup, status. Default: status.

Algorithm

Step 1: Read Feature Flag Guidelines

  1. Act: Read feature-flags.md for:
    • Flag types (Release, Experiment, Ops, Permission)
    • Implementation patterns (boolean, percentage-based, conditional)
    • Lifecycle management and cleanup strategies
  2. Verify: Guidelines loaded. If not found, use framework-agnostic defaults.

Step 2: Detect Existing Flags

  1. Check: Scan the codebase for feature flag patterns:
    • Flag configuration files (e.g., feature-flags.json, flags.yml, environment variables)
    • Flag SDK usage (e.g., isEnabled('flag-name'), useFeatureFlag())
    • Flag service configuration (LaunchDarkly, Unleash, Split, or custom)
  2. Act: Build a flag inventory with current state per flag:
    • Name, type, status (active/inactive/stale), creation date (if trackable)
    • Files referencing the flag
  3. Verify: Inventory built.

Step 3: Route by Action

Action: status (default)

  1. Act: Present the flag inventory:

    Feature Flag Status:

    FlagTypeStatusReferencesAge
    [name][type][active/inactive/stale][N files][days/weeks]

    Stale flags (inactive > 30 days) should be cleaned up.

  2. Verify: Status reported. No modifications.

Action: create

  1. Check: Does $flag already exist?
  2. Skip: If exists → show current state, offer lifecycle actions instead. Do not re-create.
  3. Act: Ask developer for flag details:
    • Flag name (validate naming conventions from guidelines)
    • Flag type (Release, Experiment, Ops, Permission)
    • Default value (on/off)
    • Scope (global, per-user, percentage-based)
  4. Act: Generate flag implementation:
    • Add flag to configuration
    • Create wrapper/utility for flag checks (following adopted patterns)
    • Add cleanup reminder comment with expected removal date
  5. Verify: Flag created and accessible in code.

Action: activate

  1. Check: Does $flag exist and is currently inactive?
  2. Skip: If already active → confirm current state.
  3. Act: Activate the flag (update configuration to enabled).
  4. Verify: Flag is active.

Action: deactivate

  1. Check: Does $flag exist and is currently active?
  2. Skip: If already inactive → confirm current state.
  3. Act: Deactivate the flag (update configuration to disabled).
  4. Verify: Flag is inactive.

Action: cleanup

  1. Check: Does $flag exist? Is it safe to remove (inactive, no active references in critical paths)?

  2. Act: Present cleanup plan:

    Cleanup plan for $flag:

    • Remove flag from configuration
    • Remove flag checks from [N files]
    • Keep the winning code path (flag-on or flag-off behavior)

    Proceed with cleanup?

  3. Act: If developer confirms:

    • Remove flag from configuration
    • Remove flag conditionals, keeping the appropriate code path
    • Remove unused imports/utilities related to the flag
  4. Verify: Flag fully removed. No orphaned references.

Output Format

text
1FLAG MANAGEMENT COMPLETE: 2├── Flag: [$flag | inventory scan] 3├── Action: [status | create | activate | deactivate | cleanup] 4├── Status: [active | inactive | removed | inventory shown] 5├── Files: [N files modified | 0 (status only)] 6└── Result: [Complete | Confirmed existing | Cleaned up]

Composition Interface

When composed by /pair-process-implement:

  • Input: /pair-process-implement may invoke /pair-capability-manage-flags with $action=create when a task requires feature-flagged code.
  • Output: Returns flag creation summary. /pair-process-implement continues with the flag available.

When invoked independently:

  • Full interactive flow. Developer manages flags through the lifecycle.

Graceful Degradation

  • If feature-flags.md is not found, provide framework-agnostic patterns: simple boolean flags with environment variables.
  • If no feature flag tool is configured, use code-level flags (constants, config files) rather than a flag service.
  • If no existing flags are found in the codebase, report empty inventory and offer to create the first flag.
  • If cleanup would break active code paths, warn and require explicit developer confirmation.

Notes

  • This skill modifies files — it creates, activates, deactivates, and removes feature flag code and configuration.
  • Idempotent: invoking create on an existing flag shows its current state instead of re-creating. Invoking activate on an active flag confirms the state. Invoking cleanup always requires explicit confirmation.
  • Stale flag detection: flags inactive for more than 30 days are flagged as stale. Cleanup is recommended but not forced.
  • Flag naming conventions should follow the project's adopted coding standards (e.g., SCREAMING_SNAKE_CASE for env vars, camelCase for code constants).
  • Cleanup is the most critical lifecycle phase — leftover flags create technical debt. The status action helps identify cleanup candidates.

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is pair-capability-manage-flags?

Perfect for Development Agents needing streamlined feature flag management capabilities. pair is the process layer for AI-assisted development. It gives your AI assistant the context, guidelines, and skills to work the way your team works.

How do I install pair-capability-manage-flags?

Run the command: npx killer-skills add foomakers/pair/pair-capability-manage-flags. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for pair-capability-manage-flags?

Key use cases include: Automating feature flag creation and activation, Debugging feature flag implementation patterns, Cleaning up deprecated feature flags.

Which IDEs are compatible with pair-capability-manage-flags?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for pair-capability-manage-flags?

Requires adherence to feature flags guidelines. Limited to managing feature flags within the pair process layer.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add foomakers/pair/pair-capability-manage-flags. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use pair-capability-manage-flags immediately in the current project.

Related Skills

Looking for an alternative to pair-capability-manage-flags or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI