yida-formula SKILL.md skillA

yida-formula from openyida/openyida is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add openyida/openyida/yida-formula@git:20261019.be724c8

Pins git:20261019.be724c8 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
openyida/openyida
Path
yida-skills/skills/yida-formula/SKILL.md
Versions recorded
10
Latest version
git:20261019.be724c8, committed Oct 19, 2026
First version recorded
Apr 7, 2026
Size
18,200 bytes
Repository stars
231
License
MIT

宜搭公式编写与配置指南,包含常用函数速查、语法规则、字段 Schema 配置和完整嵌套示例。适用于自动计算、明细汇总、默认值、提交校验、节点筛选和报表计算;支持检查公式错误、用样例核对计算结果。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 配置宜搭公式

先说明想得到什么结果,例如“单价乘数量,保留两位小数”“提交时提醒编号重复”“按上一步的金额筛选记录”。再读取已有配置,确定输入数据和结果存放位置。

公式写法、嵌套、字段引用、空值和类型转换统一在这里维护。对应的业务技能提供真实字段、输入数据和结果保存位置。同样的表达式与执行方式共用规则;需要适配哪些差异,由实际输入、保存结构和执行调用决定,不按页面名称另分一套公式能力。

## 先取得真实表单和字段 ID

配置前读取目标表单的 Schema 或创建结果,使用其中返回的真实标识:

| 标识 | 从哪里取得、用在哪里 |
| --- | --- |
| 表单 ID `formUuid` | 使用目标表单真实的 `FORM-...`,用于 CLI 的 FORM 参数;从已有应用页面、资源查询或创建结果取得 |
| 字段 ID `fieldId` | 使用目标表单组件的 `props.fieldId`,公式引用写成 `#{真实fieldId}`;字段映射中的 `fieldId` 也来自这里 |

```bash
openyida get-schema APP_XXX FORM_XXX --field-map-json
```

本文的 `APP_XXX`、`FORM_XXX`、`numberField_price` 等都是示例占位符,执行和保存前全部替换为实际值。字段显示名称、组件树节点的 `id`、自己拼出的前缀都不能代替 `props.fieldId`。新字段先创建,再读取返回的真实 ID;字段缺失或归属不清时,先定位并确认目标表单和子表,再继续配置。`UUID()` 只生成业务值,不生成宜搭的表单或字段 ID。

本地检查字段引用时传入完整真实 Schema:`formula check formula.txt --schema schema.json --strict`;没有 Schema 时,检查结果不能证明字段存在。普通子表字段也引用它自身的真实 `fieldId`,组件子属性则保留设计器提供的有效路径。

## 公式函数名按列表原样填写

宜搭公式中的函数名必须逐字照抄可用函数列表,保持大小写不变。例如 `SUM`、`ROUND`、`UserBuilder`;`sum`、`Round`、`USERBUILDER` 都不等同于这些名称。只使用目标配置提供的公式函数,不自行改名、缩写、翻译或新增函数,也不照搬其他工具中的同名函数。需要复杂计算时,组合列表中已有的函数,并按其参数说明填写。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add openyida/openyida/yida-formula@sha256:ac0a97095760589c

The line at the top of this page pins the label git:20261019.be724c8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7oo47qt767krmgne.svg)](https://markdownregistry.com/a/art_7oo47qt767krmgne)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Apr 7, 2026 and Oct 19, 2026, about one every 22 days.

versioncommittedcommitsizeaudit
git:20261019.be724c8 latest2026-10-19 be724c8 18,200 BA view · diff
git:20261019.99cf0152026-10-19 99cf015 14,358 BA view · diff
git:20261019.f4860b52026-10-19 f4860b5 12,752 BA view · diff
git:20261018.e0d72212026-10-18 e0d7221 8,236 BA view · diff
git:20261018.9a88d902026-10-18 9a88d90 8,078 BA view · diff
git:20260717.d0ccc712026-07-17 d0ccc71 15,994 BA view · diff
git:20260702.ac3bada2026-07-02 ac3bada 17,135 BA view · diff
git:20260601.bf2d1672026-06-01 bf2d167 17,995 BA view · diff
git:20260519.a27e3872026-05-19 a27e387 17,617 BA view · diff
git:20260407.21dc6f22026-04-07 21dc6f2 17,299 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (18200 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

openyida/openyida · 231 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7oo47qt767krmgne
GET https://markdownregistry.com/api/v1/resolve?ref=openyida/openyida/yida-formula
GET https://markdownregistry.com/api/v1/blob/ac0a97095760589c0ba55b0367bf4d61474e0c1b9ec392c3cbb51c72f1b8bf24

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from openyida/openyida

codemap SKILL.md skill
openyida/openyida · .agents/skills/codemap/SKILL.md · Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features…
v0.1.0 · audit A · 231 stars
karpathy-guidelines SKILL.md skill
openyida/openyida · .agents/skills/karpathy-guidelines/SKILL.md · Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
git:20260728.2c22517 · audit A · 231 stars
openyida-cross-platform-release-guard SKILL.md skill
openyida/openyida · .agents/skills/openyida-cross-platform-release-guard/SKILL.md · OpenYida 跨端发布风险守卫。当改动涉及浏览器/URL 拉起(openyida login、resolveBrowserLauncher、openBrowser、spawn 打开浏览器),或用户明确要求检查…
git:20261103.e9b68b8 · audit A · 231 stars
openyida-release SKILL.md skill
openyida/openyida · .agents/skills/openyida-release/SKILL.md · 快速发布 OpenYida npm 正式版或测试版。用户说“发布正式版”“发布测试版”“发 beta”或要求按当天日期生成版本 tag 时使用;不用于宜搭应用或自定义页面发布。
git:20260908.580e115 · audit A · 231 stars
sdd-riper-one-light SKILL.md skill
openyida/openyida · .agents/skills/sdd-riper-one-light/SKILL.md · 面向 GPT-5.5 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、…
v0.12.0 · audit A · 231 stars
skill-optimization-guide SKILL.md skill
openyida/openyida · .agents/skills/skill-optimization-guide/SKILL.md · 当需要优化一个已有 skill 文档时触发。读取目标 skill 全部文件,按四步流程重写,产出结构清晰、入口薄、描述直白的 skill 文档集。
git:20260805.afde623 · audit A · 231 stars
AGENTS.md AGENTS.md file
openyida/openyida · AGENTS.md
git:20261103.c25c160 · audit B · 231 stars
CLAUDE.md CLAUDE.md file
openyida/openyida · CLAUDE.md
git:20260827.65ec899 · audit A · 231 stars
openyida SKILL.md skill
openyida/openyida · yida-skills/SKILL.md · 宜搭应用开发总入口技能。通过具备代码生成能力的智能体(千问办公/Claude/Open Code 等)+ AI 宜搭,实现一句话搭建或修改完整应用。 当用户提到“宜搭”、“yida”、“AI…
git:20261105.1682d49 · audit A · 231 stars
yida-agent-center SKILL.md skill
openyida/openyida · yida-skills/skills/yida-agent-center/SKILL.md · 宜搭代理中心管理。查询、新增、编辑、撤销在职流程代理和离职代理,支持代处理流程、代提交流程、全部或部分流程范围。适用于设置流程审批的代理人。
git:20260702.ac3bada · audit A · 231 stars
yida-aggregate-table SKILL.md skill
openyida/openyida · yida-skills/skills/yida-aggregate-table/SKILL.md · 宜搭聚合表(virtualView)管理。用于列出、创建空聚合表、读取/预览设计配置、保存草稿、发布配置和查询构建状态;严格区分 stash 与 live revision,并在写入前校验固定前端已确认的六数组契约。
git:20260827.a7807b7 · audit A · 231 stars
yida-app-lifecycle SKILL.md skill
openyida/openyida · yida-skills/skills/yida-app-lifecycle/SKILL.md · 宜搭应用启用与停用。仅当用户明确要求启用、停用、上线或下线某个已有应用时使用;不用于创建应用、发布页面或发布到钉钉应用中心。
git:20260808.b50cd3d · audit A · 231 stars

Every file in openyida/openyida

Browse by kind, by grade A, or by owner.