Alipay Skills Static Eval logo

Alipay Skills Static Eval

Organization
ant-mini-program
alipay-skills-static-eval

静态评测小程序 agent skills 的质量。

Overview

Publisherant-mini-program
Repositoryalipay-ai-skills
Skill namealipay-skills-static-eval
Stars
26
Forks
4
Bundled files
9
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ant-mini-program on GitHub. Read the source before you install it.

Installation

Install the Alipay Skills Static Eval AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ant-mini-program/alipay-ai-skills/tree/master/alipay-skills-static-eval
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ant-mini-program/alipay-ai-skills.git /tmp/alipay-ai-skills
mkdir -p .claude/skills
cp -r /tmp/alipay-ai-skills/alipay-skills-static-eval .claude/skills/alipay-skills-static-eval
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alipay Skills Static Eval in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alipay Skills Static Eval on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alipay Skills Static Eval is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

静态评测

通过并行子代理(sub-agent)评测小程序 agent skills 的质量。 主 agent 负责发现 skills、生成独立子任务并分发给 sub-agent, 最后汇总所有 sub-agent 的报告,整理成一份完整的评测报告。

能力边界

静态评测基于 skill 目录下的所有源文件(SKILL.md、mcp.json、以及关联的 JS 代码等)进行文本分析,不执行、不运行任何代码。

  • 评测范围:语义层面的缺陷和风险。例如指令是否清晰、场景覆盖是否完整、API 用法是否合理、边界情况是否考虑。
  • 不评测:代码结构层面的缺陷。例如语法错误、JSON 格式问题、文件路径拼写错误等。这些在构建阶段就会被阻塞,不需要静态评测来发现。

步骤

1. 收集输入

确认以下四项输入。缺少必要项时停止并询问用户。

  • 项目路径 — 小程序项目根目录的路径。必填。
  • 输出文件 — 最终评测报告写入哪个文件。必填 — 用户未指定时必须主动询问。
  • 评测范围 — 指定要评测的 skill 名称列表,或「全部」。默认:评测项目中的每一个 skill。
  • 并行度 — 同时最多能有多少个 sub-agent 在执行。必填 — 用户未指定时必须主动询问(可给出建议值供参考,如 5~10),由用户确认。该值决定主 agent 一次最多并行派发多少个 sub-agent,超出部分排队等待空位。

完成标准:项目路径、输出文件、评测范围、并行度均已确认。

2. 发现 skills

用项目绝对路径调用发现脚本:

node <本-skill-所在目录>/cli/find-mini-agent-skills.js <项目绝对路径>

脚本向 stdout 输出 JSON 对象,包含两个字段:

  • instruction — AGENT 系统提示词(agents.md)的绝对路径,由 app.json 的 agent.instruction 指向。它是 AGENT 的系统提示词,项目内所有 skill 都由该 AGENT 调用,故对其执行均生效。项目未配置时该字段缺省。
  • skills — JSON 数组,每个元素是一个 skill 对象,包含 name、path、description、files(记录 SKILL.md 和 mcp.json 是否存在),以及 components(组件清单,每项含 path 与 dynamic 布尔值,true 表示该组件是「实时动态组件」)。

按步骤 1 确定的评测范围从 skills 中筛选。如果用户指定了某个 skill 名称但脚本输出中不存在,报告并停止。

完成标准:已确认待评测的 skill 对象列表,以及 agents.md 的路径(若存在)。

3. 并行评测

评测分两类任务:

  • 项目级任务(1 个):评测 agents.md(AGENT 系统提示词)。仅当步骤 2 发现 instruction 字段存在时启动,整个项目只跑一次。
  • skill 级任务(每个 skill 5 个):对每个待评测的 skill,分别启动 5 个 sub-agent,各自执行一个评测任务。

并行度:按步骤 1 确认的并行度执行。主 agent 一次最多并行派发该数量的 sub-agent,超出部分排队等待空位释放后再派发。

主 agent 向每个 skill 级 sub-agent 传递:

  • skill 的目录路径(绝对路径)
  • skill 的 name 和 description
  • 对应任务定义文件的路径(绝对路径)
  • 本 skill(alipay-skills-static-eval)的根目录路径(绝对路径),供 sub-agent 读取 references/ 下的文件
  • skill 的组件清单(发现脚本输出的 components,每项含 path 与 dynamic)

主 agent 向项目级 sub-agent 传递:

  • agents.md 的绝对路径(步骤 2 的 instruction 字段)
  • 待评测 skill 列表(每项含 name 与 mcp.json 绝对路径),供 sub-agent 交叉比对 method 名
  • 对应任务定义文件的路径(绝对路径)
任务定义文件粒度
AGENT 系统提示词tasks/instruction.md项目级(每项目 1 次)
召回与触发效果tasks/recall.mdskill 级
指引与示例质量tasks/guidance.mdskill 级
JSAPI 使用合规tasks/jsapi.mdskill 级
AXML 标签合规tasks/axml.mdskill 级
安全性与用户体验tasks/security-ux.mdskill 级

Sub-agent 自行读取任务定义文件和对应源文件,完成评测后返回报告。

约束:每个 sub-agent 只读自己对应的任务定义文件,不要读 tasks/ 下其他任务文件。这会浪费上下文且无助于当前任务。

所有 sub-agent 全部并行运行 — 项目级任务与每个 skill × 每个 skill 级 task 的组合互不依赖。

完成标准:项目级任务(若启动)有 sub-agent 返回报告;每个 skill 的 5 个 skill 级 task 都有对应的 sub-agent 返回报告。如果某个 sub-agent 失败或超时,在汇总报告中标记该任务为「评测失败」,并附上失败原因,继续处理其他任务。

4. 汇总整理

收集所有 sub-agent 报告,整理出:

  • AGENT 系统提示词 — agents.md 的评测发现(若已评测)
  • 逐 skill 分析 — 每个 skill 的显著发现
  • 共性问题 — 跨 skill 反复出现的模式或缺陷
  • 跨 skill 冲突检查 — 主 agent 自行检查:多个 skill 的 description 是否存在语义重叠,导致同一用户 query 可能匹配到多个 skill、意图路由不确定

总结原则:略过完美通过的检查项,只保留有发现(缺陷、风险、建议)的项。逐项罗列「✅ 通过」会稀释用户对真正问题的注意力。

完成标准:汇总文档已准备好。

5. 写入报告

将汇总结果以 Markdown 格式写入步骤 1 指定的输出文件。确认文件路径和大小。

完成标准:文件已写入并确认。

参考

发现脚本

cli/find-mini-agent-skills.js — 从小程序项目中发现已注册的 skills 及 AGENT 系统提示词。

  • 输入:项目根目录的绝对路径
  • 流程:读取 mini.project.json → 解析 miniprogramRoot → 读取 app.json → 提取 agent.instruction(AGENT 系统提示词)与 agent.skills
  • 输出:JSON 对象输出到 stdout,含 instruction(agents.md 绝对路径,未配置时缺省)与 skills 数组(每项含 name、path、description、SKILL.md / mcp.json 是否存在,以及 components,含 path 与 dynamic 标记,dynamic 为 true 即「实时动态组件」)
  • 出错时以非零退出码退出,错误信息输出到 stderr

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Alipay Skills Static Eval AI skill do?

静态评测小程序 agent skills 的质量。

Why use Alipay Skills Static Eval on TypingMind?

Because you install it once and use it with any model. Alipay Skills Static Eval is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alipay Skills Static Eval in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ant-mini-program/alipay-ai-skills/tree/master/alipay-skills-static-eval. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Alipay Skills Static Eval?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alipay Skills Static Eval?

As many as you like. As long as a model supports skills, you can use Alipay Skills Static Eval with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alipay Skills Static Eval AI skill free?

It is published on GitHub by ant-mini-program. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇