Skip to content
Back to skills

Vm Short Circuit

ASecurity

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

  • 318 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 20, 2026
ai-agentsbash

Security analysis

A100/100

Scanned September 20, 2026

npx -y skills add FuRongJun-1999/dsh-memory --skill vm-short-circuit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vm Short Circuit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vm Short Circuit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/furongjun-1999-vm-short-circuit/badge)](https://www.skillsdirectory.com/skills/furongjun-1999-vm-short-circuit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vm-short-circuit
description: >-
  短路求值 / VM-短路求值 / 逻辑表达式 / 与=左假不求右 / 返回 。用户提到这些词时使用本技能。
  场景:对照:逻辑表达式(v0.2 短路跳转字节码)的 VM 执行端——与/或短路,右侧仅必要时求值。
  【不适用】Not for 以下场景:left 为空/非法时;op 非 {且, 或} 时
license: MIT
compatibility: >-
  op ∈ {且, 或};left/right 为操作数值
allowed-tools: Read Write Bash
metadata:
  version: "1.0"
  skill-author: 灵枢(AEIS)
  last-reviewed: "2026-08-29"
  kccs:
    trigger_words: ["短路求值", "VM-短路求值", "逻辑表达式", "与=左假不求右", "返回 "]
    when: "op ∈ {且, 或};left/right 为操作数值"
    sub: ["① 且/或短路判定 ② 需要时求右值 ③ 返回 (结果, 右是否求值)"]
    execute: "且左假直返 False、或左真直返 True——右侧仅必要时求值"
    not_applicable: ["left 为空/非法时;op 非 {且, 或} 时"]
  calibration: "对照:逻辑表达式(v0.2 短路跳转字节码)的 VM 执行端——与/或短路,右侧仅必要时求值"
---

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

## When to use

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

## 克制条款(不适用条件)

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

## How to execute

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

## Verification

- 单元样例 7 条(cases 断言)
- 物理基底:按 calibration 对照(编译/运行/断言裁决)

## References

- 单元库:compiler_code_units.py「VM-短路求值」

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…