بنقرة واحدة
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.