Source profileQuality 93/100

arbazkhan971/godmode/skills/feature/SKILL.md

feature

Feature flag design, gradual rollouts, A/B testing, kill switches. LaunchDarkly, Unleash, Flagsmith. Triggers on: /godmode:feature, "feature flag", "gradual rollout", "kill switch", "A/B test".

Source repository stars
26
Declared platforms
0
Static risk flags
0
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Feature flag design, gradual rollouts, A/B testing, kill switches. LaunchDarkly, Unleash, Flagsmith.

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/arbazkhan971/godmode --skill "skills/feature"
    Safe inspection promptEditorial

    Inspect the Agent Skill "feature" from https://github.com/arbazkhan971/godmode/blob/18bfc31d669804856ba232f04cdbd172afbdc379/skills/feature/SKILL.md at commit 18bfc31d669804856ba232f04cdbd172afbdc379. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      Workflow

      Review the “Workflow” section in the pinned source before continuing.

      Review and apply the “Workflow” source section.
    2. 02

      Step 1: Flag Strategy Assessment

      Review the “Step 1: Flag Strategy Assessment” section in the pinned source before continuing.

      Review and apply the “Step 1: Flag Strategy Assessment” source section.
    3. 03

      Find existing flag usage

      grep -rn "featureFlag\|isEnabled\|isFeatureEnabled" \ src/ --include=".ts" --include=".py" 2/dev/null | wc -l

      grep -rn "featureFlag\|isEnabled\|isFeatureEnabled" \ src/ --include=".ts" --include=".py" 2/dev/null | wc -l
    4. 04

      Step 2: Flag Types

      Review the “Step 2: Flag Types” section in the pinned source before continuing.

      Review and apply the “Step 2: Flag Types” source section.
    5. 05

      Step 3: Targeting & Gradual Rollout

      Review the “Step 3: Targeting & Gradual Rollout” section in the pinned source before continuing.

      Review and apply the “Step 3: Targeting & Gradual Rollout” source section.

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score93/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars26SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    arbazkhan971/godmode
    Skill path
    skills/feature/SKILL.md
    Commit
    18bfc31d669804856ba232f04cdbd172afbdc379
    License
    MIT
    Collected
    2026-08-28
    Default branch
    master
    View the original SKILL.md

    Feature — Feature Flags & Progressive Delivery

    Activate When

    • User invokes /godmode:feature
    • User says "feature flag", "gradual rollout"
    • User says "kill switch", "A/B test"
    • Deploying needs safer rollout or deploy/release decoupling

    Workflow

    Step 1: Flag Strategy Assessment

    # Detect existing flag infrastructure
    grep -r "launchdarkly\|unleash\|flagsmith\|split\|statsig" \
      package.json pyproject.toml 2>/dev/null
    
    # Find existing flag usage
    grep -rn "featureFlag\|isEnabled\|isFeatureEnabled" \
      src/ --include="*.ts" --include="*.py" 2>/dev/null | wc -l
    
    # Check for stale flags (not evaluated in 30+ days)
    grep -rn "featureFlag\|isEnabled" src/ \
      --include="*.ts" 2>/dev/null | head -20
    
    FLAG STRATEGY:
      Current: None | Homegrown | LaunchDarkly | Unleash
      Flag needs: Release | Experiment | Ops | Permission
      Environments: Dev | Staging | Prod | Mobile
    
    IF < 5 flags: Homegrown or Flagsmith OSS
    IF 5-50 flags: Unleash or Flagsmith
    IF 50+ flags with experiments: LaunchDarkly
    IF strict data residency: self-hosted
    

    Step 2: Flag Types

    | Type       | Lifecycle   | Default | Duration  |
    |------------|-------------|---------|-----------|
    | Release    | Short-lived | OFF     | < 2 weeks |
    | Experiment | Short-lived | CONTROL | < 4 weeks |
    | Ops/Kill   | Permanent   | ON      | Forever   |
    | Permission | Permanent   | OFF     | Forever   |
    
    RELEASE RAMP:
      CREATE → INTERNAL → CANARY 1% → 5% → 25%
        → 50% → 100% → CLEANUP (within 2 weeks)
    
    EXPERIMENT RAMP:
      CREATE → CONFIGURE → RUN → SIGNIFICANCE
        → PICK WINNER → CLEANUP (within 1 week)
    

    Step 3: Targeting & Gradual Rollout

    RULE PRIORITY (top to bottom):
      1. Individual overrides
      2. Employee targeting
      3. Beta segment
      4. Percentage rollout
      5. Default OFF
    
    ROLLOUT STAGES:
      Internal (0.1%) 1d → Canary (1%) 1-2d
        → Early (5%) 2-3d → Expanding (25%) 3-5d
        → Majority (50%) 3-5d → Full (100%)
    
    GATE CRITERIA (advance only if all pass):
      Error rate < baseline + 0.1%
      P95 latency < baseline + 10%
      Conversion > baseline - 2%
      Support tickets < baseline + 5%
    
    STICKY BUCKETING:
      hash(flagKey:userId) % 10000 / 100
      Same user always sees same variant
      Increasing % adds users, never flips existing
    

    Step 4: Kill Switches

    REQUIREMENTS:
      Effect in < 30 seconds, no deploy needed
      Dashboard/CLI accessible, audit trail
      Hierarchy: Global → Service → Feature → Region
    
    AUTO-TRIGGERS:
      IF error rate > 5% for 2min: disable flag
      IF P99 > 3x baseline for 5min: disable flag
    
    FALLBACK:
      Locally cached values (5min TTL)
      Then hardcoded defaults
      Never crash because flag service is down
    

    Step 5: Lifecycle Management

    NAMING CONVENTION:
      enable_<feature> (release)
      exp_<name> (experiment)
      disable_<feature> (ops kill switch)
    
    STALE FLAG DETECTION:
      Release at 100% for > 2 weeks: STALE
      Experiment concluded > 1 week: STALE
      Not evaluated in > 30 days: STALE
      > 90 days without cleanup date: STALE
    
    THRESHOLDS:
      Max flags per service: 50 (audit if more)
      Evaluation latency: < 5ms (in-memory cache)
      Cache refresh interval: 30 seconds
      Cleanup deadline: 2 weeks after 100%
    

    Step 6: A/B Testing Integration

    PROCESS:
      1. Define hypothesis + primary metric
      2. Set guardrail metrics (must not regress)
      3. Calculate sample size for power 0.80
      4. Configure sticky bucketing variants
      5. Wait for significance (p < 0.05)
    
    THRESHOLDS:
      Minimum duration: 7 days (full business cycle)
      Alpha: 0.05, Power: 0.80
      Never peek before minimum sample reached
      Correct for multiple testing if > 2 variants
    

    Step 7: Validation

    Check: types categorized, naming enforced, owner assigned, cleanup dates set, kill switches defined, sticky bucketing, fallback behavior, audit trail, evaluation < 5ms.

    Commit: "feature: <flag_name> — <type> at <pct>%"

    Key Behaviors

    Never ask to continue. Loop autonomously until done.

    1. Flags are temporary by default. Cleanup required.
    2. Decouple deploy from release. Ship dark.
    3. Kill switches are not optional.
    4. Clean up flags. Max 2 weeks at 100%.
    5. Sticky bucketing is mandatory.
    6. Test both paths. On, off, and transition.
    7. Default to off, fail to off.

    HARD RULES

    1. Never leave release flags at 100% for > 2 weeks.
    2. Never nest flag checks. Keep flags independent.
    3. Never use flags as permanent config.
    4. Always test both flag-on AND flag-off paths.
    5. Never evaluate flags in hot loops. Once per request.
    6. Never expose server-side targeting rules to clients.
    7. Never call experiment winner without sample size.
    8. Always maintain an audit trail for flag changes.

    Auto-Detection

    grep -r "launchdarkly\|unleash\|flagsmith" package.json
    grep -rl "featureFlag\|isEnabled" src/ --include="*.ts"
    

    Output Format

    Print: Feature: {flag} at {pct}% rollout. Error={err}%, latency_p99={lat}ms. Kill switch: {tested|untested}. Status: {status}.

    TSV Logging

    step	flag_name	flag_type	platform	status	details
    

    Keep/Discard Discipline

    KEEP if: metrics within guardrails AND no error spike
      AND kill switch tested
    DISCARD if: error > baseline+0.1% OR latency > +10%
      OR conversion drops > 2%
    On discard: roll back to previous percentage.
    

    Stop Conditions

    STOP when ALL of:
      - Flag at 100% with stable metrics for 7 days
      - Kill switch tested and verified
      - Cleanup scheduled (within 2 weeks)
    

    Error Recovery

    • SDK init fails: check API key, implement fallbacks.
    • Flag not evaluating: check context (user.id passed?).
    • Rollout errors: set to 0%, check logs, resume at 1%.
    • Stale flags: run audit, remove code, delete branches.
    • Conflicting flags: map deps, encode as prerequisites.

    Frequently asked questions

    What to verify before installation and use

    What does the feature source document cover?

    Feature flag design, gradual rollouts, A/B testing, kill switches. LaunchDarkly, Unleash, Flagsmith.

    How do I install feature?

    The source record exposes this install command: npx skills add https://github.com/arbazkhan971/godmode --skill "skills/feature". Inspect the command and pinned source before running it.

    Alternatives

    Compare before choosing

    Computed 9425

    Borda/AI-Rig

    feature

    TDD-first feature development — crystallise API as a demo test, drive implementation to pass it, run quality stack and progressive review loop. TRIGGER when: user asks to build new functionality, add a capability, or implement a feature in a Python project; phrases: "add X", "implement Y", "build Z feature", "create a new module for". SKIP when: bug fixes (use `/develop:fix`); refactoring without new behaviour (use `/develop:refactor`); non-Python projects; `.claude/` config changes (use `/found

    Computed 9982

    vasilyu1983/AI-Agents-public

    qa-testing-ios

    Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.

    Computed 975,277

    dotnet/skills

    writing-mstest-tests

    Fix, modernize, review, or explain supplied MSTest code and MSTest-specific configuration while honoring installed versions and project style. ALWAYS USE for direct corrections: expected/actual order; generic/manual assertions; exception, hard-cast, or object[] patterns; TestContext/lifecycle; timeout/cancellation; condition/retry/cleanup; parallelization; MSTest.Sdk setup; or MSTESTxxxx. Use for "review" only when corrected code or edits are wanted. DO NOT USE for new test-case design (code-tes

    Computed 97224

    yonatangross/orchestkit

    verify

    Grade work that already exists and decide whether it can merge. Runs the project's current unit, integration, and E2E suites plus security scanning and type checking, scores every dimension 0-10, and returns a merge verdict with a VERIFIED-vs-CLAIMED evidence manifest. Writes no test files and edits no source. Use when verifying changes are ready to merge. Use /ork:cover instead when the tests still have to be written.