kingdee-dev

金蝶二次开发全栈技能。覆盖金蝶云星空(K3 Cloud)和金蝶云苍穹(Cosmic)的二次开发, 重点聚焦插件开发。触发场景:金蝶、K3、星空、苍穹、BOS、BOS IDE、单据、插件开发、 表单插件、列表插件、操作插件、报表插件、单据转换插件、服务插件、WebAPI、 DynamicObject、BusinessInfo、IIS、SQL Server、KingScript、动态表单、 金蝶二开、金蝶开发、金蝶接口、金蝶单据、金蝶报表、金蝶审批流、金蝶数据库、 金蝶打包部署、金蝶补丁、金蝶自定义WebAPI、金蝶插件注册、金蝶字段操作、 金蝶菜单发布、金蝶权限配置、金蝶数据迁移、金蝶苍穹低代码、金蝶苍穹Java开发。 当用户提到任何与金蝶ERP系统开发相关的需求时使用此技能。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "kingdee-dev" with this command: npx skills add xiaoqishitou/kingdee-dev

金蝶二次开发技能

产品线识别

收到需求后先识别目标产品:

关键词产品技术栈参考
星空、K3 Cloud、K/3 Cloud、BOS IDE、C#插件金蝶云星空C# / .NET / SQL Server / IISreferences/xingkong-plugin-dev.md
苍穹、Cosmic、AI苍穹、低代码、KingScript金蝶云苍穹Java / Spring Cloud / PostgreSQLreferences/cangqiong-dev.md

无法判断时,问用户。

需求分析流程

拿到一个二开需求,按以下步骤拆解:

  1. 明确产品线 → 星空 or 苍穹
  2. 需求分类 → 属于哪类开发:
    • 插件开发(重点):表单交互 / 列表过滤 / 操作校验 / 报表数据 / 单据转换 / 服务扩展
    • BOS建模:新建或扩展单据、字段、菜单
    • 接口开发:WebAPI 对接第三方系统
    • 报表开发:直接SQL账表 / 简单账表
    • 数据层:SQL查询 / 数据迁移
  3. 选择插件类型 → 见下方插件选择矩阵
  4. 编码 → 使用 references/plugin-templates.md 中对应模板
  5. 测试调试 → 参 references/deployment-ops.md
  6. 打包部署 → 参 references/deployment-ops.md

插件选择矩阵(星空)

需求场景插件类型基类参考
单据界面交互(按钮点击、字段变更、数据联动)表单插件AbstractFormPluginreferences/xingkong-plugin-dev.md §表单插件
列表界面过滤、工具栏操作列表插件AbstractListPluginreferences/xingkong-plugin-dev.md §列表插件
保存/提交/审核时校验或干预操作插件AbstractOperationServicePlugInreferences/xingkong-plugin-dev.md §操作插件
报表数据查询与展示报表插件AbstractSysReportServicePlugInreferences/xingkong-plugin-dev.md §报表插件
下推转单时干预转换逻辑单据转换插件AbstractConvertPlugInreferences/xingkong-plugin-dev.md §单据转换插件
自定义WebAPI / 定时任务 / 后台服务服务插件ISysReportService / IDOServicereferences/xingkong-plugin-dev.md §服务插件

核心参考文件

文件内容何时读取
references/xingkong-plugin-dev.md星空6大类插件完整开发指南(重点)星空插件开发需求
references/plugin-templates.md各类插件完整代码模板编码阶段直接套用
references/xingkong-bos-ide.mdBOS IDE 操作手册需要BOS建模/配置时
references/xingkong-webapi.mdWebAPI 接口开发第三方对接需求
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
  • 单据操作:系统自带单据先"扩展"再修改,修改前必须"签出",改完"保存→签入"
  • 发布:单据修改后必须"发布到主控台"才能在前台看到

官方资源索引

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

小红书登录

小红书 MCP 登录流程。当用户需要登录小红书、小红书登录过期、或需要获取小红书登录二维码时使用此 skill。

Registry SourceRecently Updated
General

Send Email Tool

邮件发送工具。配置 SMTP 发件人后,通过脚本发送纯文本或 HTML 邮件,支持附件、抄送、密送。在需要发送邮件通知、报告、自动化邮件时触发。

Registry SourceRecently Updated
General

Chat Refiner

Refine conversation history by deleting useless/redundant/process exchanges. Keep explicit instructions, disciplines, important configs, skills learned (how)...

Registry SourceRecently Updated
General

Auto Publisher

Multi-platform video auto-publisher. Automatically upload videos to Douyin, WeChat Channels, Xiaohongshu, Bilibili, YouTube and more. Supports batch publishi...

Registry SourceRecently Updated