home/roleplay/scope-clamp-min-bound

Scope Clamp Min Bound

GPTClaudeGemini··360 copies·updated 2026-07-14
scope-clamp-min-bound.prompt
clamp in src/clamp.js returns the wrong bound for values below the minimum — clamp(-5, 0, 10) returns 10 instead of 0. Fix it.

when to use it

Community prompt sourced from the open-source GitHub repo elon-choo/fablever (MIT). A "Scope Clamp Min Bound" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

elon-choo/fablever · MIT