Flag Cleanup banner
wanlugu wanlugu

Flag Cleanup

Productivity community

Description

--- description: Run the quarterly feature-flag cleanup workflow on the current repo --- # /flag-cleanup Run the full feature-flag cleanup workflow: 1. Scan for stale flags (older than 90 days, used in ≤2 places) 2. For each candidate, identify the introducing PR/issue and current owner 3. Generate a removal plan grouped by owner 4. Run kill-switch audit against the flag-doc registry 5. Output a markdown report ready to share with the team ## Usage ``` /flag-cleanup /flag-cleanup --max-age-

Installation

Installs to ~/.claude/skills/wanlugu-my-claude-skills-flag-cleanup/SKILL.md

Terminal
mkdir -p ~/.claude/skills/wanlugu-my-claude-skills-flag-cleanup && curl -fsSL https://raw.githubusercontent.com/wanlugu/my-claude-skills/HEAD/commands/flag-cleanup.md -o ~/.claude/skills/wanlugu-my-claude-skills-flag-cleanup/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository