创建层级化目录的 skills

This commit is contained in:
2026-03-27 13:05:22 +08:00
parent 88eec2787b
commit 0196206ed3
50 changed files with 2861 additions and 388 deletions
@@ -0,0 +1,121 @@
---
name: api-operations-business-component-config
description: 组件参数、控制规则、水质和可视化接口集合。
version: 2.1.0
---
# 何时使用
当需求落在 **business/component-config** 的接口范围时使用本技能。
# 输入要求
- 可选:`BASE_URL`(默认 `http://127.0.0.1:8000`
- 可选:`AUTH_TOKEN`(按环境鉴权策略)
- 覆盖方法:`GET`, `POST`
# Action Skills
- `controls`: `controls/SKILL.md`
- `curves`: `curves/SKILL.md`
- `options`: `options/SKILL.md`
- `patterns`: `patterns/SKILL.md`
- `quality`: `quality/SKILL.md`
- `visuals`: `visuals/SKILL.md`
# 操作目录(Domain -> Scenario -> Action
## Action: `controls`
- 详情技能:`controls/SKILL.md`
- `GET /api/v1/getcontrolproperties/` - 获取控制属性
- `GET /api/v1/getcontrolschema/` - 获取控制架构
- `GET /api/v1/getruleproperties/` - 获取规则属性
- `GET /api/v1/getruleschema/` - 获取规则架构
- `POST /api/v1/setcontrolproperties/` - 设置控制属性
- `POST /api/v1/setruleproperties/` - 设置规则属性
## Action: `curves`
- 详情技能:`curves/SKILL.md`
- `POST /api/v1/addcurve/` - 添加曲线
- `POST /api/v1/deletecurve/` - 删除曲线
- `GET /api/v1/getcurveproperties/` - 获取曲线属性
- `GET /api/v1/getcurves/` - 获取所有曲线
- `GET /api/v1/getcurveschema` - 获取曲线架构
- `GET /api/v1/iscurve/` - 检查曲线存在性
- `POST /api/v1/setcurveproperties/` - 设置曲线属性
## Action: `options`
- 详情技能:`options/SKILL.md`
- `GET /api/v1/getenergyproperties/` - 获取能耗选项属性
- `GET /api/v1/getenergyschema/` - 获取能耗选项架构
- `GET /api/v1/getoptionproperties/` - 获取选项属性
- `GET /api/v1/getoptionschema/` - 获取选项架构
- `GET /api/v1/getpumpenergyproperties/` - 获取泵能耗属性
- `GET /api/v1/getpumpenergyschema/` - 获取泵能耗选项架构
- `GET /api/v1/gettimeproperties/` - 获取时间选项属性
- `GET /api/v1/gettimeschema` - 获取时间选项架构
- `POST /api/v1/setenergyproperties/` - 设置能耗选项属性
- `POST /api/v1/setoptionproperties/` - 设置选项属性
- `GET /api/v1/setpumpenergyproperties/` - 设置泵能耗属性
- `POST /api/v1/settimeproperties/` - 设置时间选项属性
## Action: `patterns`
- 详情技能:`patterns/SKILL.md`
- `POST /api/v1/addpattern/` - 添加模式
- `POST /api/v1/deletepattern/` - 删除模式
- `GET /api/v1/getpatternproperties/` - 获取模式属性
- `GET /api/v1/getpatterns/` - 获取所有模式
- `GET /api/v1/getpatternschema` - 获取模式架构
- `GET /api/v1/ispattern/` - 检查模式存在性
- `POST /api/v1/setpatternproperties/` - 设置模式属性
## Action: `quality`
- 详情技能:`quality/SKILL.md`
- `POST /api/v1/addmixing/` - 添加混合
- `POST /api/v1/addsource/` - 添加水源
- `POST /api/v1/deletemixing/` - 删除混合
- `POST /api/v1/deletesource/` - 删除水源
- `GET /api/v1/getemitterproperties/` - 获取发射器属性
- `GET /api/v1/getemitterschema` - 获取发射器架构
- `GET /api/v1/getmixing/` - 获取混合属性
- `GET /api/v1/getmixingschema/` - 获取混合架构
- `GET /api/v1/getpipereaction/` - 获取管道反应属性
- `GET /api/v1/getpipereactionschema/` - 获取管道反应架构
- `GET /api/v1/getqualityproperties/` - 获取水质属性
- `GET /api/v1/getqualityschema/` - 获取水质架构
- `GET /api/v1/getreaction/` - 获取反应属性
- `GET /api/v1/getreactionschema/` - 获取反应架构
- `GET /api/v1/getsource/` - 获取水源属性
- `GET /api/v1/getsourcechema/` - 获取水源架构
- `GET /api/v1/gettankreaction/` - 获取水池反应属性
- `GET /api/v1/gettankreactionschema/` - 获取水池反应架构
- `POST /api/v1/setemitterproperties/` - 设置发射器属性
- `POST /api/v1/setmixing/` - 设置混合属性
- `POST /api/v1/setpipereaction/` - 设置管道反应属性
- `POST /api/v1/setqualityproperties/` - 设置水质属性
- `POST /api/v1/setreaction/` - 设置反应属性
- `POST /api/v1/setsource/` - 设置水源属性
- `POST /api/v1/settankreaction/` - 设置水池反应属性
## Action: `visuals`
- 详情技能:`visuals/SKILL.md`
- `POST /api/v1/addlabel/` - 添加标签
- `POST /api/v1/addvertex/` - 添加图形元素
- `POST /api/v1/deletelabel/` - 删除标签
- `POST /api/v1/deletevertex/` - 删除图形元素
- `GET /api/v1/getallvertexlinks/` - 获取所有图形元素链接
- `GET /api/v1/getallvertices/` - 获取所有图形元素
- `GET /api/v1/getbackdropproperties/` - 获取背景属性
- `GET /api/v1/getbackdropschema/` - 获取背景架构
- `GET /api/v1/getlabelproperties/` - 获取标签属性
- `GET /api/v1/getlabelschema/` - 获取标签架构
- `GET /api/v1/getvertexproperties/` - 获取图形元素属性
- `GET /api/v1/getvertexschema/` - 获取图形元素架构
- `POST /api/v1/setbackdropproperties/` - 设置背景属性
- `POST /api/v1/setlabelproperties/` - 设置标签属性
- `POST /api/v1/setvertexproperties/` - 设置图形元素属性
# See Also
- 关联网络资产: `../network-assets`
- 关联仿真分析: `../../analytics/simulation-analysis`