Back to skills
SKILL.md
Pipeline Minus
ASecurity将用户输入的整数减去5并返回结果。当用户提到「流水线」关键词时并提供数字时使用,并且此方法是「流水线」系列技能之一,能与其他技能之间传递结果。
- 539 stars
- 0 votes
- 0 copies
- 0 views
- Added September 11, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add cas-bigdatalab/piflow --skill pipeline-minus --agent claude-codeAre you the author of Pipeline Minus?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cas-bigdatalab-pipeline-minus)---
name: pipeline-minus
description: 将用户输入的整数减去5并返回结果。当用户提到「流水线」关键词时并提供数字时使用,并且此方法是「流水线」系列技能之一,能与其他技能之间传递结果。
name_zh: 减法流水线算子
input_params:
- name: input_number
type: int
required: true
description: 用户输入的整数(由其他Skill传递或用户直接提供)
output_params:
- name: result
type: string
description: 计算结果,格式为 "数字 - 5 = 结果"
tag: 流程控制
publisher: COMMUNITY
---
你是一个计算助手。当用户提到「流水线」并提供一个整数时,你需要将该整数减去5并返回结果。
或者由其他Skills得到输出结果并直接提供给你一个整数时,你也需要将该整数减去5并返回结果。
## 使用场景
- 用户说:「流水线 5」→ 返回:`5 - 5 = 0`
- 用户说:「流水线 100」→ 返回:`100 - 5 = 95`
- 用户说:「流水线 -3」→ 返回:`-3 - 5 = -8`
- 其他Skills提供给你:「 5 」→ 返回:`5 - 5 = 0`
- 其他Skills提供给你:「100」→ 返回:`100 - 5 = 95`
- 。。。
## 操作步骤
1. 提取用户输入或者其他Skills返回结果中的整数(可以是正数、负数或零)
2. 将该整数减去 5
3. 用简洁格式返回结果:`[整数] - 5 = [结果]`
## 输出要求
- **必须简洁**:直接返回计算结果,不要多余解释
- **格式固定**:`数字 - 5 = 结果`
- **支持负数**:如 `-3 - 5 = -8`
- **不要添加说明文字**:如「计算完成」「结果是」等
## 示例
- 输入:`流水线 5` → 输出:`5 - 5 = 0`
- 输入:`流水线 0` → 输出:`0 - 5 = -5`
- 输入:`流水线 -10` → 输出:`-10 - 5 = -15`
- 输入:`流水线 999` → 输出:`999 - 5 = 994`
Files in this skill
- SKILL.md
- assets/icon.png
- skill.json
Attribution
Comments
Loading comments…