agent-launcher-orchest…
Use when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an…
Use before adding, rolling out or retiring a feature flag or kill switch, or when flag debt piles up. Plans the rollout with rollout_planner.py, finds stale flags with flag_debt_scanner.py and audits kill switches with kill_switch_audit.py.
Claude Code
$ npx -y skills add alirezarezvani/claude-skills --skill feature-flags-architect --agent claude-code
Codex
$ npx skills add alirezarezvani/claude-skills --skill feature-flags-architect -a codex -y
Cursor
$ npx skills add alirezarezvani/claude-skills --skill feature-flags-architect -a cursor -y
Gemini CLI
$ npx skills add alirezarezvani/claude-skills --skill feature-flags-architect -a gemini-cli -y
GitHub Copilot
$ npx skills add alirezarezvani/claude-skills --skill feature-flags-architect -a github-copilot -y
OpenCode
$ npx skills add alirezarezvani/claude-skills --skill feature-flags-architect -a opencode -y
Windsurf
$ npx skills add alirezarezvani/claude-skills --skill feature-flags-architect -a windsurf -y
name: feature-flags-architect description: "Use before adding, rolling out or retiring a feature flag or kill switch, or when flag debt piles up. Plans the rollout with rollout_planner.py, finds stale flags with flag_debt_scanner.py and audits kill switches with kill_switch_audit.py." context: fork license: MIT metadata: version: 2.9.0 author: claude-code-skills tags: [feature-flags, progressive-delivery, rollout, kill-switch, launchdarkly, growthbook, statsig, unleash, flipt, release-engineering] compatible_tools: [claude-code, codex-cli, cursor, antigravity, opencode, gemini-cli]
End-to-end discipline for feature flags: classify them, ship them, ramp them, and retire them. Most teams treat flags as throwaway `if`-statements; this skill treats them as a controlled lifecycle with measurable debt.
request → design → ship → ramp → cleanup → archive
Flags that skip cleanup become debt: dead branches, stale defaults, untested code paths, unbounded blast radius. The three scripts in this skill enforce the lifecycle.
# 1. Audit the repo for flag debt python scripts/flag_debt_scanner.py --repo . --max-age-days 90 # 2. Plan a progressive rollout for a new flag python scripts/rollout_planner.py --population 100000 --target-percent 100 --duration-days 14 --strategy ring # 3. Verify every flag has a documented kill switch python scripts/kill_switch_audit.py --repo . --flag-doc docs/feature-flags.md
Different flag types have different lifespans and ownership. Misclassifying creates debt.
| Type | Purpose | Typical lifespan | Owner | Cleanup trigger | |---|---|---|---|---| | **Release** | Hide unfinished features in production | days–weeks | Eng | 100% rollout reached | | **Experiment** | A/B test variants | weeks | Product/Marketing | Test concluded; winner picked | | **Operational** | Circuit breakers, perf toggles, kill switches | months–years | Eng/SRE | Replaced by autoscaling/feature retirement | | **Permission** | Entitlements per user/account/plan | years (permanent) | Product | Plan/role removed |
Only Release and Experiment flags should be on a debt-scanner watchlist. Operational and Permission flags are by design long-lived. See `references/flag_taxonomy.md` for decision tree.
All three are stdlib-only. Run with `--help`.
Finds flags older than `--max-age-days` with low usage, suggesting candidates for cleanup.
python scripts/flag_debt_scanner.py --repo . --max-age-days 90 --format text python scripts/flag_debt_scanner.py --repo . --max-age-days 60 --format json > debt.json
**Detection heuristic:** 1. Walk `--repo` for code references matching common flag-call patterns:
2. For each unique flag identifier, find the oldest commit that introduced it (`git log --diff-filter=A -S <name>`). 3. Flag as DEBT if introduced > `--max-age-days` ago AND used in ≤`--min-uses` places.
Outputs flag name, age in days, file references, suggested action. JSON mode is CI-friendly.
Generates a phased rollout schedule from population size, target percent, duration, and strategy.
python scripts/rollout_planner.py --population 100000 --target-percent 100 --duration-days 14 --strategy ring python scripts/rollout_planner.py --population 50000 --target-percent 25 --duration-days 7 --strategy linear python scripts/rollout_planner.py --population 1000000 --target-percent 100 --duration-days 30 --strategy log
**Strategies:**
Outputs a markdown table with date, percent, expected user count, abort criteria, and verification step per phase.
Cross-references code-discovered flags against documentation to verify each has a kill switch path written down.
python scripts/kill_switch_audit.py --repo . --flag-doc docs/feature-flags.md python scripts/kill_switch_audit.py --repo . --flag-doc runbooks/flags.md --format json
**What it checks:** 1. Every code-discovered flag has an entry in `--flag-doc` 2. Each entry declares: owner, type, kill-switch trigger, monitoring dashboard 3. Reports flags missing documentation (FAIL) or missing fields (WARN)
Use as a pre-merge gate before any new flag ships.
| Provider | Best for | Pricing model | Lock-in risk | OSS option | |---|---|---|---|---| | **LaunchDarkly** | Enterprise, complex targeting, audit/compliance | Per-MAU, expensive | High | No | | **GrowthBook** | Mid-market, A/B testing focused, OSS-friendly | Per-MAU + OSS | Low | Yes (self-host) | | **Statsig** | Growth/product teams, advanced experimentation | Free tier + per-MAU | Medium | No | | **Unleash** | OSS-first, self-hosted, dev-friendly | OSS + Enterprise | Low | Yes | | **Flipt** | Lightweight, k8s-native, simple needs | OSS-only | None | Yes | | **DIY** | <100 flags, no targeting, full control | None | None | N/A |
Decision rules:
411 production-ready skills for Claude Code and 12 other coding agents, covering engineering, product, marketing, compliance, finance and the C-suite. We test whether each skill loads when you ask in plain words, and publish the results.
Use when someone wants to build, launch, grade or schedule a Claude Managed Agent in their own Anthropic account ('build me an…
Use when a launched managed agent needs grading against a rubric and improving ('grade my agent', 'is it good enough'). Builds…
Use when someone has an agent idea to scope before launch ('help me scope an agent'). Interviews them about the one job and…
Use when a graded managed agent should run on a schedule, on an event trigger or on demand ('run it every morning'). Validates…
Use when a managed-agent build sheet is ready to launch ('launch it', 'deploy the agent'). Generates and validates API payloads…
Use when closing out a launched managed agent ('wrap up', 'what do I own now'). Inventories primitives with…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…