一键导入
ocaml-opam-tinyflags-rollout-review
Review TinyFlags flag definitions and call sites for safe OCaml rollouts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review TinyFlags flag definitions and call sites for safe OCaml rollouts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a TinyFlags flag to an OCaml project with implementation, tests, and rollout notes.
Remove a stale TinyFlags flag and simplify OCaml call sites.
| name | ocaml-opam-tinyflags-rollout-review |
| description | Review TinyFlags flag definitions and call sites for safe OCaml rollouts. |
Use this skill before increasing rollout percentages or shipping a new TinyFlags-backed behavior in an OCaml package.
~default argument.int values in 0..100.Tinyflags.Context.t with a
meaningful id (user, session, or account identity).match arm assumes rollout bucketing is random per request.Check that flag construction is centralized — a single
Tinyflags.make_exn [ ... ] call inside the project's flags module is the
target of review. Scattered registries make rollouts hard to reason about.
let flags =
Tinyflags.make_exn
[
("checkout-redesign",
Boolean (Tinyflags.Bool.make_exn ~default:false ~rollout:10 ()));
]
Build evaluation contexts at the request boundary, not at every call site:
let context = Tinyflags.Context.make ~id:request.user_id ()
Rollout changes should be small and reviewable. If a rollout moves from 0 to 100, confirm the disabled branch can be deleted or document why the flag remains temporary.