← 返回 Skills 市场
phalapi

YesApi 果创云低代码平台

作者 dogstar · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
103
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install crawhub-skill-yesapi
功能描述
封装YesApi果创云低代码平台API,支持管理表单结构与执行表单数据的增删改查及批量操作。
使用说明 (SKILL.md)

--- name: yesapi description: YesApi果创云低代码平台接口封装,支持表单结构和数据操作 version: 1.0.0 homepage: https://api.yesapi.net/ user-invocable: true metadata: {"requires": {"env": ["YESAPI_APP_KEY", "YESAPI_DOMAIN", "YESAPI_SIGN"]}, "tags": ["api", "lowcode", "yesapi", "form", "database"]} ---

YesApi 果创云低代码平台 Skill

本技能提供对 YesApi 果创云低代码平台的完整接口封装,支持表单结构管理和数据操作。

配置要求

在使用前需要配置以下环境变量:

  • YESAPI_APP_KEY: 你的果创云应用密钥
  • YESAPI_DOMAIN: 果创云API域名(默认:https://api.yesapi.net)
  • YESAPI_SIGN: 静态签名密钥

功能特性

1. 表单结构管理

  • 获取表单模型列表
  • 创建表单模型
  • 更新表单结构
  • 删除表单模型

2. 表单数据操作

  • 通用数据查询(支持分页、过滤、排序)
  • 数据新增
  • 数据更新
  • 数据删除
  • 批量更新
  • 批量删除

使用方法

获取表单列表

获取我的表单模型列表

查询表单数据

查询表单 [表单名] 的数据,限制10条记录

创建新数据

向表单 [表单名] 添加新数据:{"field1": "value1", "field2": "value2"}

更新数据

更新表单 [表单名] 中ID为 [记录ID] 的数据:{"field1": "new_value"}

删除数据

删除表单 [表单名] 中ID为 [记录ID] 的记录

批量更新数据

批量更新表单 [表单名] 中满足条件的数据:{"field1": "new_value"},指定条件where:[["字段名", "比较符", "比较值"]]

批量删除数据

批量删除表单 [表单名] 中满足条件的记录,指定条件where:[["字段名", "比较符", "比较值"]]

API 接口封装

表单结构接口

基于 App.Platform_MyModels 接口封装:

  • get_models(): 获取模型列表
  • create_model(model_name): 创建新模型
  • delete_model(model_name): 删除模型
  • add_model_new_field(model_name, field_data): 为模型添加新字段

表单数据接口

基于 App.Table 系列接口封装:

  • query_data(model_name, params): 查询数据
  • insert_data(model_name, data): 插入数据
  • update_data(model_name, id, data): 更新数据
  • delete_data(model_name, id): 删除数据
  • batch_update(model_name, where, data): 批量更新数据
  • batch_delete(model_name, where): 批量删除数据

错误处理

所有API调用都会返回详细的错误信息,包括:

  • HTTP状态码
  • 错误代码
  • 错误消息
  • 建议解决方案

最佳实践

  1. 配置管理: 建议使用环境变量管理敏感信息
  2. 错误重试: 网络请求支持自动重试机制
  3. 数据验证: 在发送数据前进行本地验证
  4. 日志记录: 重要操作会记录详细日志

技术实现

  • 使用 Python 的 requests 库进行HTTP请求
  • 支持异步操作提高性能
  • 内置签名算法确保API安全
  • 完整的类型提示支持

依赖项

  • Python 3.8+
  • requests >= 2.28.0
  • pydantic >= 1.10.0
  • python-dotenv >= 0.19.0

许可证

MIT License

安全使用建议
This package appears to be a legitimate YesApi client, but take these precautions before installing or providing credentials: - Verify and fix the metadata discrepancy: the registry entry claims no required env vars, but SKILL.md and the code require YESAPI_APP_KEY and YESAPI_SIGN (and optionally YESAPI_DOMAIN). Ask the publisher to correct registry metadata so automated tooling can surface required secrets. - Treat YESAPI_APP_KEY and YESAPI_SIGN as sensitive secrets. Do not provide production credentials until you confirm the skill's source and trustworthiness. - The skill (and included test script) can create and delete models and perform batch updates/deletes. Test in a non-production account or sandbox to avoid accidental data loss. - Note that yesapi_client.py calls dotenv.load_dotenv() on import, which will read a local .env file if present; ensure that file does not contain other secrets you don't want the skill to see. - Review the code (yesapi_client.py and skill_handler.py) yourself or run it in an isolated environment to confirm behavior and to verify the domain (default https://api.yesapi.net) matches your expected endpoint. If the publisher cannot explain the registry/metadata mismatch and provide a trustworthy source, avoid supplying real credentials and treat the skill as untrusted.
功能分析
Type: OpenClaw Skill Name: crawhub-skill-yesapi Version: 1.1.0 The skill bundle provides a legitimate integration for the YesApi (果创云) low-code platform, allowing an AI agent to manage database models and perform CRUD operations. The implementation in `yesapi_client.py` and `skill_handler.py` uses standard Python libraries (requests, pydantic) to interact with the official API endpoint (api.yesapi.net). There is no evidence of data exfiltration, unauthorized command execution, or prompt injection attacks within the documentation or code.
能力评估
Purpose & Capability
The name/description, SKILL.md, and the Python client (yesapi_client.py) all consistently implement a YesApi (果创云) API client for managing forms and data — the requested capabilities match the stated purpose. However, the registry metadata at the top of the submission claims there are no required environment variables, while SKILL.md and the code require YESAPI_APP_KEY, YESAPI_DOMAIN, and YESAPI_SIGN. This metadata mismatch is an inconsistency that should be resolved.
Instruction Scope
SKILL.md and the code focus only on YesApi API operations (list/create/delete models, query/insert/update/delete/batch operations). The runtime instructions and code do not access unrelated system files or external endpoints beyond the configured YesApi domain. Note: the skill (and tests) perform potentially destructive actions (create/delete models, batch delete/update), so users should be aware that invoking the skill can modify remote data.
Install Mechanism
There is no install spec — this is essentially an instruction+code package that relies on Python and listed dependencies. No downloads from arbitrary URLs or executable installers are present. Dependencies are standard Python packages declared in requirements.txt.
Credentials
The environment variables required by SKILL.md and code (YESAPI_APP_KEY, YESAPI_DOMAIN, YESAPI_SIGN) are appropriate for an API client and are a small, focused set of secrets. The concern is that the registry metadata omitted these required env vars, and the code auto-loads .env via python-dotenv, which may read a local .env file unexpectedly — users should ensure they supply only intended credentials and understand where credentials are read from.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide configurations. It creates a global handler instance on import (normal for convenience) and otherwise has standard, limited presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crawhub-skill-yesapi
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crawhub-skill-yesapi 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Version 1.1.0 - Updated documentation in README.md for improved clarity and usage examples. - Enhanced and refactored test cases in test_yesapi.py. - Made minor improvements and potential bug fixes in yesapi_client.py.
v1.0.0
Initial release of YesApi integration skill. - Provides complete interface wrappers for YesApi low-code platform. - Supports form structure management: create, update, delete forms. - Enables comprehensive data operations: query, insert, update, delete, batch actions. - Requires environment variables for secure configuration. - Offers detailed error handling and best practice recommendations. - Built using Python with support for asynchronous requests and type hints.
元数据
Slug crawhub-skill-yesapi
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

YesApi 果创云低代码平台 是什么?

封装YesApi果创云低代码平台API,支持管理表单结构与执行表单数据的增删改查及批量操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 YesApi 果创云低代码平台?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install crawhub-skill-yesapi」即可一键安装,无需额外配置。

YesApi 果创云低代码平台 是免费的吗?

是的,YesApi 果创云低代码平台 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

YesApi 果创云低代码平台 支持哪些平台?

YesApi 果创云低代码平台 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 YesApi 果创云低代码平台?

由 dogstar(@phalapi)开发并维护,当前版本 v1.1.0。

💬 留言讨论