← 返回 Skills 市场
金蝶云星空二次开发
作者
xiaoqishitou
· GitHub ↗
· v1.0.0
· MIT-0
41
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kingdee-dev
功能描述
金蝶二次开发全栈技能。覆盖金蝶云星空(K3 Cloud)和金蝶云苍穹(Cosmic)的二次开发, 重点聚焦插件开发。触发场景:金蝶、K3、星空、苍穹、BOS、BOS IDE、单据、插件开发、 表单插件、列表插件、操作插件、报表插件、单据转换插件、服务插件、WebAPI、 DynamicObject、Busines...
使用说明 (SKILL.md)
金蝶二次开发技能
产品线识别
收到需求后先识别目标产品:
| 关键词 | 产品 | 技术栈 | 参考 |
|---|---|---|---|
| 星空、K3 Cloud、K/3 Cloud、BOS IDE、C#插件 | 金蝶云星空 | C# / .NET / SQL Server / IIS | references/xingkong-plugin-dev.md |
| 苍穹、Cosmic、AI苍穹、低代码、KingScript | 金蝶云苍穹 | Java / Spring Cloud / PostgreSQL | references/cangqiong-dev.md |
无法判断时,问用户。
需求分析流程
拿到一个二开需求,按以下步骤拆解:
- 明确产品线 → 星空 or 苍穹
- 需求分类 → 属于哪类开发:
- 插件开发(重点):表单交互 / 列表过滤 / 操作校验 / 报表数据 / 单据转换 / 服务扩展
- BOS建模:新建或扩展单据、字段、菜单
- 接口开发:WebAPI 对接第三方系统
- 报表开发:直接SQL账表 / 简单账表
- 数据层:SQL查询 / 数据迁移
- 选择插件类型 → 见下方插件选择矩阵
- 编码 → 使用
references/plugin-templates.md中对应模板 - 测试调试 → 参
references/deployment-ops.md - 打包部署 → 参
references/deployment-ops.md
插件选择矩阵(星空)
| 需求场景 | 插件类型 | 基类 | 参考 |
|---|---|---|---|
| 单据界面交互(按钮点击、字段变更、数据联动) | 表单插件 | AbstractFormPlugin | references/xingkong-plugin-dev.md §表单插件 |
| 列表界面过滤、工具栏操作 | 列表插件 | AbstractListPlugin | references/xingkong-plugin-dev.md §列表插件 |
| 保存/提交/审核时校验或干预 | 操作插件 | AbstractOperationServicePlugIn | references/xingkong-plugin-dev.md §操作插件 |
| 报表数据查询与展示 | 报表插件 | AbstractSysReportServicePlugIn | references/xingkong-plugin-dev.md §报表插件 |
| 下推转单时干预转换逻辑 | 单据转换插件 | AbstractConvertPlugIn | references/xingkong-plugin-dev.md §单据转换插件 |
| 自定义WebAPI / 定时任务 / 后台服务 | 服务插件 | ISysReportService / IDOService | references/xingkong-plugin-dev.md §服务插件 |
核心参考文件
| 文件 | 内容 | 何时读取 |
|---|---|---|
references/xingkong-plugin-dev.md |
星空6大类插件完整开发指南(重点) | 星空插件开发需求 |
references/plugin-templates.md |
各类插件完整代码模板 | 编码阶段直接套用 |
references/xingkong-bos-ide.md |
BOS IDE 操作手册 | 需要BOS建模/配置时 |
references/xingkong-webapi.md |
WebAPI 接口开发 | 第三方对接需求 |
references/database-reference.md |
数据库核心表/SQL/多语言/LK表 | 写SQL/查数据时 |
references/cangqiong-dev.md |
苍穹二次开发 | 苍穹相关需求 |
references/common-patterns.md |
常见开发模式 + 社区FAQ | 遇到典型问题/报错时 |
references/deployment-ops.md |
打包部署/调试/运维 | 部署阶段 |
编码规范
- 命名:插件类名 =
{业务对象}{功能}PlugIn,如SaleOrderValidatePlugIn - 多语言:涉及中文名称的字段必须关联
_L表,FLOCALEID=2052 - 上下游关联:使用
_LK关联表,FSID→ 上游明细FENTRYID - 单据操作:系统自带单据先"扩展"再修改,修改前必须"签出",改完"保存→签入"
- 发布:单据修改后必须"发布到主控台"才能在前台看到
官方资源索引
安全使用建议
This skill appears suitable as a Kingdee development reference. Before following generated deployment, SQL, WebAPI, or admin guidance, verify it against official Kingdee documentation, use a test environment first, maintain backups, avoid default administrator passwords, and keep production credentials out of chat unless absolutely necessary.
功能分析
Type: OpenClaw Skill
Name: kingdee-dev
Version: 1.0.0
The bundle is a comprehensive development and documentation resource for Kingdee ERP systems (K3 Cloud and Cosmic). It contains legitimate C# and Java code templates, SQL database references, and deployment/maintenance guides (e.g., in deployment-ops.md and plugin-templates.md) that are strictly aligned with the stated purpose of assisting in ERP customization. No evidence of data exfiltration, malicious prompt injection, or unauthorized remote execution was found; all administrative scripts (IIS/SQL) are standard DevOps tools for the platform.
能力标签
能力评估
Purpose & Capability
The artifacts are coherent with the stated purpose: Kingdee K3 Cloud/Cosmic plugin development, WebAPI, SQL, BOS IDE, deployment, and operations guidance. Some covered tasks can affect ERP business systems, but they are disclosed and purpose-aligned.
Instruction Scope
The skill provides reference workflows, code templates, SQL examples, and command snippets. The artifacts do not instruct the agent to execute them automatically, but users should require explicit approval before applying generated operational commands or database changes.
Install Mechanism
No install spec, required binaries, required environment variables, or code files are present; this is an instruction-only skill.
Credentials
Guidance involving IIS restarts, deployment packages, SQL Server backup/restore, and patching is proportionate for ERP deployment work, but high impact if used directly in production.
Persistence & Privilege
The references discuss administrator access, OAuth/app secrets, and SSO tokens. No credential storage, hardcoded real secret, or exfiltration path is shown, but least-privilege and secret-handling precautions are needed.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kingdee-dev - 安装完成后,直接呼叫该 Skill 的名称或使用
/kingdee-dev触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the kingdee-dev skill.
- Provides comprehensive guidance for secondary development on Kingdee Cloud (K3 Cloud/星空) and Cosmic (苍穹).
- Focus areas include plugin development, BOS modeling, API integration, report customization, and deployment processes.
- Includes plugin selection matrix and key references for rapid development.
- Offers best practices and links to official Kingdee resources and documentation.
元数据
常见问题
金蝶云星空二次开发 是什么?
金蝶二次开发全栈技能。覆盖金蝶云星空(K3 Cloud)和金蝶云苍穹(Cosmic)的二次开发, 重点聚焦插件开发。触发场景:金蝶、K3、星空、苍穹、BOS、BOS IDE、单据、插件开发、 表单插件、列表插件、操作插件、报表插件、单据转换插件、服务插件、WebAPI、 DynamicObject、Busines... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41 次。
如何安装 金蝶云星空二次开发?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kingdee-dev」即可一键安装,无需额外配置。
金蝶云星空二次开发 是免费的吗?
是的,金蝶云星空二次开发 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
金蝶云星空二次开发 支持哪些平台?
金蝶云星空二次开发 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 金蝶云星空二次开发?
由 xiaoqishitou(@xiaoqishitou)开发并维护,当前版本 v1.0.0。
推荐 Skills