flag-list
This skill should be used to read and audit all runtime feature flags before a promotion or delete decision: Flagsmith state, server.ts code-wiring, live…
от jikig-ai★ 21 звезда на GitHub
Установить flag-list в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name":space:*::space:*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.
Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.
flag-list
Reads every runtime feature flag across all three sources of truth and shows
them side by side — the Read verb of the flag CRUD set. Use it to audit
active flags before a promotion (flag-set-role) or a delete (flag-delete).
When to use
- Auditing active flags before promoting one dev→prd, or before deleting one.
- Detecting drift: a Flagsmith feature with no
RUNTIME_FLAGSentry, or a code-wired flag missing from Flagsmith. - Seeing a flag's blast radius (which segments/roles/orgs it targets) before a destructive change.
When NOT to use
- Creating a flag →
soleur:flag-create. - Toggling a flag per role/org →
soleur:flag-set-role. - Removing a flag → the operator types
soleur:flag-delete(user-invoked, ADR-236: the model cannot run it, so hand over the exact command, rendered performatSkillInvocation).
When to use this skill vs other flag skills
The flag CRUD set: soleur:flag-create (Create), soleur:flag-set-role
(Update — per-role/per-org), soleur:flag-list (Read — this),
soleur:flag-delete (Delete). Initial wiring is the ${CLAUDE_PLUGIN_ROOT}/skills/flag-bootstrap/SETUP.md
runbook (operator documentation, not an invocable skill).
Arguments
#$ARGUMENTS
Optional: --json (emit a JSON array instead of the formatted table).
Prerequisites
- Doppler authed with access to
soleurconfigsdev,prd,cli_ops. - Worktree of the soleur repo (the script reads
server.ts). curl+python3on PATH.
Procedure
bash "${CLAUDE_PLUGIN_ROOT}/skills/flag-list/scripts/list.sh" [--json]
The script (full in scripts/list.sh):
- Fetch Flagsmith features —
GET /api/v1/projects/39082/features/(paginated whilenextis present). - Parse code-wiring — extract
RUNTIME_FLAGS(andENV_FLAGS) keys fromapps/web-platform/lib/feature-flags/server.ts. - Read live Doppler values — a single targeted
FLAG_<X>read per flag in bothsoleur/devandsoleur/prd(neverdoppler secrets download/doppler secrets, which dump the whole config). Always on — the dev→prd value comparison is the audit's headline data, not an optional extra. - Enumerate segment overrides — per flag, per env, resolve which segments
(
role-dev,<flag>-orgs, …) carry an ON/OFF override (mirrorsflag-set-role's feature-state read shape). - Flag drift — Flagsmith-only features and code-only flags are surfaced distinctly.
- Render — formatted table, or
--jsonarray with fieldsname,env_var,flagsmith_id,default_enabled,code_wired,doppler_dev,doppler_prd,segments.
ENV_FLAGS (build-time DCE flags like dev-signin) are listed under a
separate heading — they are not runtime/Flagsmith flags.
Exit codes
0— success.2— prerequisite missing (token / binaries /server.ts).3— Flagsmith API error.
Sharp edges
- Read-only. No mutations, no WORM audit append, no
--dry-runn
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- scripts/list.sh
FAQ
Что делает скилл flag-list?
This skill should be used to read and audit all runtime feature flags before a promotion or delete decision: Flagsmith state, server.ts code-wiring, live Doppler dev/prd values, and per-segment overrides, with drift detection.
Как установить скилл flag-list?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flag-list запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…