Compile recursive

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

Compile recursive is an AI agent skill from the GitHub repository FuRongJun-1999/dsh-memory. 递归调用 / 编译-递归 / protocol-com / 递归函数 / 若 基条件 则 返回 基 / 组装为函数体字节码。用户提到这些词时使用本技能。 场景:对照:protocol-compiler 递归函数(若则体内 RETURN,对齐阶乘 da997ef 语义)。 【不适用】Not for 以下场景:条件不满足即不适用(负路由:输入不满足生效条件时返回 None/不执行)

How to use this skill

Skill file

编译-递归(compile-recursive)

When to use

任务「递归调用」;对照:protocol-compiler 递归函数(若则体内 RETURN,对齐阶乘 da997ef 语义)。

克制条款(不适用条件)

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

How to execute

递归函数:若 基条件 则 返回 基值,否则 返回 表达式(含自身调用);组装为函数体字节码(CALL 自身由调用方回填入口)

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.