agentleFS
shinzoxDshinzoxD/knackbox/skills/coding/feature-flags/SKILL.md

feature-flags

Skill0 starsChanged 5 months agoApache-2.0View on GitHub

Design feature flag rollout plans with targeting, kill switches,

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use git-workflow.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    git-workflow

    Squad branching model: dev-first workflow with insiders preview channel

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 4

    Distinctive

    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
  1. Distinctive:

    Default (fail closed/open) and who is in the control path.

    line 23
  2. Distinctive:

    Never leave long-lived dead code paths without owners.

    line 46
  3. Distinctive:

    Document multi-flag dependencies (flag soup).

    line 48
  4. Distinctive:

    Do not invent flag platform APIs.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Feature Flags

Flags reduce blast radius when designed with defaults, targeting, and a removal plan. Permanent flags are architecture; temporary flags need expiry.

Workflow

  1. Purpose: release, experiment, ops kill switch, or entitlement.
  2. Default (fail closed/open) and who is in the control path.
  3. Targeting: user, tenant, percentage, ring.
  4. Consistency: sticky assignment where UX requires it.
  5. Observability: metrics by flag state; kill switch path tested.
  6. Cleanup: owner, removal criteria, ticket for deletion.

Output format

## Flag plan: <name>

**Type:** release | experiment | ops | entitlement
**Default:** …
**Targeting:** …
**Kill switch:** …
**Metrics:** …
**Cleanup:** owner, date/criteria
**Code touchpoints:** …

Rules

  1. Name flags clearly; avoid newThing2.
  2. Never leave long-lived dead code paths without owners.
  3. Server-authoritative for security-sensitive entitlements.
  4. Document multi-flag dependencies (flag soup).
  5. Experiments need hypothesis and success metrics.
  6. Do not invent flag platform APIs; describe capabilities generically.

Edge cases

  • Mobile: cached flag freshness and forced updates.
  • Migrations: dual-write flags with explicit phases.
  • B2B: tenant-level flags vs user-level.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.