add-a-feature
Installation
SKILL.md
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).