Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

enumeration-gap

스타3
포크1
업데이트2026년 5월 24일 19:28

Write the accept/reject shape table BEFORE writing any predicate, classifier, fingerprint, matcher, validator, or shared-resource operation — so the type rejects every illegal input by construction instead of leaking the gaps to a reviewer (or production). Use proactively whenever about to write an is-X / has-X / validate-X / match-X / canonical-X function, a "are these two things equal/equivalent" check, a name/format parser that mirrors a producer, or any operation that touches a resource with more than one producer. Also use when a reviewer keeps finding "you didn't handle the case where..." comments, when a predicate uses strings.Contains / substring / loose matching against a value that has an exact produced shape, or when a bool parameter silently selects between two behaviors. The failure mode is the "enumeration gap": code that matches the happy shape but fails to reject the wrong ones.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly