Skip to content
Back to skills

Flag Discipline

ASecurity

Plan a controlled rollout for a risky behavior change when a runtime switch can meaningfully limit its effects.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agents

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add sujith011/agentic-pro-skills --skill flag-discipline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flag Discipline?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flag Discipline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sujith011-flag-discipline/badge)](https://www.skillsdirectory.com/skills/sujith011-flag-discipline)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flag-discipline
description: "Plan a controlled rollout for a risky behavior change when a runtime switch can meaningfully limit its effects."
---

# Flag Discipline
A flag controls execution; it does not undo writes or external effects.

## Process
1. Identify the blast radius and whether disabling the path actually mitigates failure.
2. Define owner, safe default, audience selection, expiry/removal condition, and access to the switch.
3. Verify both enabled and disabled behavior, including unavailable flag-service fallback.
4. Keep authorization server-side; a UI flag is not an access-control boundary.
5. Roll out to a limited cohort and expand only with measured evidence.
6. Remove the flag and obsolete path once the removal condition is met and removal is within scope.

## Example
Flagging a new billing calculation requires reconciling already-issued invoices separately; turning the flag off cannot reverse them.

## Stop conditions
Do not use a flag as the rollback plan for an irreversible migration or payment side effect.

## Evidence
- [ ] Both paths and fallback are tested.
- [ ] Switch access, owner, and expiry are recorded.
- [ ] Persistent effects have a separate recovery plan.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.