add-a-feature
БесплатноБез исполняемых скриптовНе проверенDecide whether work needs a feature flag (any change to product behavior users can see does), then declare it, roll it out (per organization, for everyone…
от different-ai★ 24 642 звезды на GitHubОб этом скилле
Skill: Add a feature
Default: flag what users see. Any change to product behavior that users can see ships behind a feature, so it can be turned off without a deploy. Work users won't notice as a behavior change ships directly and is reverted with a normal revert if needed.
When a flag is warranted, it is a feature in the registry, declared before any feature code, off.
Registry: packages/features/src/flags/ (package @openwork/features), one
file per feature. Adding that file is the only edit that declares a feature;
no shared list is edited by hand, so two PRs that each add a feature do not
conflict. The rules live in
resolve.ts and are tested in resolve.test.ts
(pnpm --filter @openwork/features test).
The model: one rollout, several dimensions
A feature is rolled out, and reverted, along these dimensions, resolved in
this order by one function (resolveFeature) everywhere it is checked:
- Deployments: products it exists on (
cloud,self_hosted). Fixed in code. - Kill switch: off everywhere at once, outranking everything below. This is the revert; no deploy.
- Operator lock: a self-hosted operator forces it on or off for the whole install (Helm
config.features.<key>). - Member override: platform admins turn it on or off for one active organization member from the organization’s Members page in
/admin. No override inherits the organization setting. - Organization override: platform admins turn it on or off for one organization in
/admin. - Everyone: on or off for everyone on the deployment, changed in
/adminwithout a deploy.
Steps 2, 5 and 6 are set per deployment in /admin (Features page and each
organization's row) or with the admin MCP tools den_list_features,
den_set_feature_rollout and den_set_org_capability.
Every change made in /admin or by those tools (on, off, reset, kill switch,
restore) is appended to the feature_change table with who made it and when.
/admin shows the latest one on each row, e.g. "Last change: On for this
organization by Omar McAdam · 26 Oct 2026, 14:03". Deploy-time operator locks
(DEN_FEATURE_*) are not changes and are not recorded.
Member overrides are scoped to a membership, never a user globally. Pass { userId } for caller-specific checks; organization-owned background policy without a person intentionally uses only organization state. The member editor supports true/false and null to restore inheritance.
Does this need a feature?
Yes, whenever the change alters product behavior that users can see, in the desktop app, Den (including organization admin screens), MCP Apps or the gateway:
- New or changed flows, steps, screens, tabs, options, settings or tools.
- Changed defaults, or something users relied on that now works differently or is removed.
- New product areas, engines or workers, and rewrites of core flows (sign-in, chat runs, sync, billing, access control).
These ship without a flag:
- Platform
/admin: the pages we use to run the deployment (Features, organizations, grants, plans, sandboxes, recovery) and the admin MCP tools. Platform admin access already gates them. - Bug fixes that restore intended behavior.
- Polish that doesn't change what people can do: spacing, density, icons, wording.
- Refactors, internal tooling, dev/eval/CI scripts.
Not a feature either: something that only keeps older clients working
(compat shim with a removal condition), something worked out from what is
configured (derive it in code), or a setting that changes how something
works rather than whether people get it (put it in env.ts / Helm config.<area>).
If you are unsure, add a flag. When you ship without one, say in the PR why users won't see a behavior change.
1. Declare it, off
Create packages/features/src/flags/new-thing.ts. The file name is the key
in kebab-case: new-thing.ts declares newThing.
import { defineFeature } from "@openwork/features/define"
export default defineFeature({
label: "New thing",
description: "What a person gets, in words they see in the product.",
category: "workbot",
added: "2026-10-26",
since: "2026-10",
author: "your-github-handle",
docs: "docs/features/new-thing/README.md",
deployments: ["cloud", "self_hosted"],
default: false,
})
- Key: lowerCamelCase, no consecutive capitals. Permanent: also the Helm key,
DEN_FEATURE_NEW_THING, the API field and stored rows. - category: the group
/adminlists it under, one ofFEATURE_CATEGORIESinpackages/features/src/define.ts. Pick the one a platform admin would look under; add a group there only when none fits. - added: the day you add the flag,
YYYY-MM-DD. It never changes (sincemoves when the entry changes). Shown in/adminas "Added 26 Oct 2026". - Deployments: leave one out on purpose (e.g.
["cloud"]for a cloud-only feature). - default: false for new work. A fresh deployment, and a client that canno
Установить add-a-feature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл add-a-feature?
Decide whether work needs a feature flag (any change to product behavior users can see does), then declare it, roll it out (per organization, for everyone, cloud or self-hosted), revert or kill it. Use for any user-visible behavior change, and when finishing or removing a rollout.
Как установить скилл add-a-feature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-a-feature запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic