Compile if then

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

Compile if then is an AI agent skill from the GitHub repository FuRongJun-1999/dsh-memory. 编译条件 / 编译-若则 / 若则=条件语句 / 条件跳转编译。用户提到这些词时使用本技能。 场景:对照:若则=条件语句(v0.2 codegen if/else 的字节码形态)。 【不适用】Not for 以下场景:条件不满足即不适用(负路由:输入不满足生效条件时返回 None/不执行)

How to use this skill

Skill file

编译-若则(compile-if-then)

When to use

任务「编译条件」;对照:若则=条件语句(v0.2 codegen if/else 的字节码形态)。

克制条款(不适用条件)

条件不满足即不适用(负路由:输入不满足生效条件时返回 None/不执行)

How to execute

JUMP_IF_FALSE(条件假跳)+ JUMP(跳过 else)

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.