Summary
当用户要求编写织信 / Informat UEL 表达式时使用,包括审批条件、流转条件、实例名称、自动完成规则、表单或仪表盘公式、API 返回模板、`${...}` 片段,或提到 `String.concat`、`Array.of`、`Date.datePart`、`User.usersWithRole`,或无法判断该…
tielei60/informat-skills · Archived
当用户要求编写织信 / Informat UEL 表达式时使用,?
npx skills add tielei60/informat-skills --skill informat-expression
当用户要求编写织信 / Informat UEL 表达式时使用,包括审批条件、流转条件、实例名称、自动完成规则、表单或仪表盘公式、API 返回模板、`${...}` 片段,或提到 `String.concat`、`Array.of`、`Date.datePart`、`User.usersWithRole`,或无法判断该…
This repository is archived — consider an actively maintained alternative.
当用户要求编写织信 / Informat 平台脚本、自动化 JavaScript、组织与成员处理、账号或部门查询、存储…
3 installs>- Use this skill when the user asks what information a Stripe Connect connected account must p…
25 installs>- Use this skill when the user asks what information a Stripe Connect connected account must p…
5.6K installsDefine the structural layer of a product or site before visual design begins.
5.1K installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Four-step image referring-expression pipeline: turns images plus KITTI bounding-box labels into…
1.5K installsUse when writing or reviewing n8n expressions (`{{...}}` syntax), `$json` / `$node` references,…
1.2K installsValidate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {…
5.8K installs>- Expression Language injection playbook. Use when Java EL, SpEL, OGNL, or MVEL expressions ma…
2.9K installsRetrieve gene expression and omics datasets from ArrayExpress and BioStudies with gene disambig…
388 installsUse when writing or reviewing n8n expressions (`{{...}}` syntax), `$json` / `$node` references,…
358 installsOther skills from tielei60/informat-skills.
npx skills add tielei60/informat-skills
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
4,397 B
SUMMARY.md
354 B
用于把自然语言规则转换成 Informat / 织信平台可执行的 UEL 表达式。
按这个顺序读取:
references/expression-rules.mdreferences/expression-boundaries.mdreferences/expression-sdk.mdreferences/expression-examples.md如果需要完整函数定义、User./Date. 边缘能力或 DSL 细节,再查:
../../sources/informat.expression.md如果用户要求示例资产、存档位置或“展示一个示例”,优先查:
../../examples/generated_expressions/优先用于这些请求:
${...} 规则”的请求如果用户需要的是脚本代码、自动化 JavaScript、平台脚本逻辑,改用 informat-script。
${} 包裹。${} 外的内容是普通字符串,不会被执行。+,只能使用 String.concat(...)。Array.of(...)。.map(...)、.filter(...)、.reduce(...)、箭头函数和对象字面量推导。Array.map(list, key)、Array.filter(list, key, value)、Array.join(...)。0 会抛异常。Date.datePart(..., 'month') 中 1 月对应 0,dayofweek 中星期日对应 0。错误:
${ 'A' + 'B' }
${ name + '-' + code }
正确:
${ String.concat('A', 'B') }
${ String.concat(name, '-', code) }
错误:
${ ['a', 'b'] }
${ Array.first(User.usersWithRole(['researcher'])) }
正确:
${ Array.of('a', 'b') }
${ Array.first(User.usersWithRole(Array.of('researcher'))) }
默认按这个顺序输出:
如果用户要求多个候选表达式,就给多个合法版本,并说明差异。
当用户要求查看、引用或说明示例资产时,使用 examples/generated_expressions/YYYY-MM/ 下的文件:
examples/generatedexpressions/2026-03/stringconcat_example.txtexamples/generatedexpressions/2026-03/datemonthzerobase.txtUser.usersWithRole 与 Array.of:examples/generatedexpressions/2026-03/arrayofuserrole.txt.map(...) 反例:examples/generatedexpressions/2026-03/jsstyle_error.txt如果日期或月份目录变化,先用当前仓库里的 examples/generated_expressions/ 实际文件为准。
遇到下面这些情况,优先停止并说明边界,再建议改用脚本:
.map/.filter/.reduce输出前检查:
${}+.map/.filter 错当成了表达式 DSL