← Back to Skills Marketplace
金蝶云星空二次开发
by
xiaoqishitou
· GitHub ↗
· v1.0.0
· MIT-0
41
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install kingdee-dev
Description
金蝶二次开发全栈技能。覆盖金蝶云星空(K3 Cloud)和金蝶云苍穹(Cosmic)的二次开发, 重点聚焦插件开发。触发场景:金蝶、K3、星空、苍穹、BOS、BOS IDE、单据、插件开发、 表单插件、列表插件、操作插件、报表插件、单据转换插件、服务插件、WebAPI、 DynamicObject、Busines...
README (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 - 单据操作:系统自带单据先"扩展"再修改,修改前必须"签出",改完"保存→签入"
- 发布:单据修改后必须"发布到主控台"才能在前台看到
官方资源索引
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install kingdee-dev - After installation, invoke the skill by name or use
/kingdee-dev - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 金蝶云星空二次开发?
金蝶二次开发全栈技能。覆盖金蝶云星空(K3 Cloud)和金蝶云苍穹(Cosmic)的二次开发, 重点聚焦插件开发。触发场景:金蝶、K3、星空、苍穹、BOS、BOS IDE、单据、插件开发、 表单插件、列表插件、操作插件、报表插件、单据转换插件、服务插件、WebAPI、 DynamicObject、Busines... It is an AI Agent Skill for Claude Code / OpenClaw, with 41 downloads so far.
How do I install 金蝶云星空二次开发?
Run "/install kingdee-dev" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 金蝶云星空二次开发 free?
Yes, 金蝶云星空二次开发 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 金蝶云星空二次开发 support?
金蝶云星空二次开发 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 金蝶云星空二次开发?
It is built and maintained by xiaoqishitou (@xiaoqishitou); the current version is v1.0.0.
More Skills