Vm short circuit

From FuRongJun-1999/dsh-memory · View interactive version

Vm short circuit is an AI agent skill from the GitHub repository FuRongJun-1999/dsh-memory. 短路求值 / VM-短路求值 / 逻辑表达式 / 与=左假不求右 / 返回 。用户提到这些词时使用本技能。 场景:对照:逻辑表达式(v0.2 短路跳转字节码)的 VM 执行端——与/或短路,右侧仅必要时求值。 【不适用】Not for 以下场景:left 为空/非法时;op 非 {且, 或} 时

How to use this skill

Skill file

VM-短路求值(vm-short-circuit)

When to use

任务「短路求值」;对照:逻辑表达式(v0.2 短路跳转字节码)的 VM 执行端——与/或短路,右侧仅必要时求值。

克制条款(不适用条件)

left 为空/非法时;op 非 {且, 或} 时

How to execute

且左假直返 False、或左真直返 True——右侧仅必要时求值

Verification

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.