sikadi233-hub/minecraft-dev 预览 preview

sikadi233-hub/minecraft-dev

Plugin插件 Native原生 ⭐ 18 MIT Prompts & Skills提示词与技能

用于 DeepSeek Harness 的 Minecraft 开发插件:为 Paper/Spigot 插件和 Fabric/Forge/NeoForge 模组提供技能与工具,支持 MC 1.7.10-26.x

Project Overview项目介绍

This is a native cordis plugin built exclusively for DeepSeek Harness (DSH), designed to enhance DSH agents' capability to develop Minecraft server plugins and mods. It supports all Minecraft versions from 1.7.10 up to 26.x, and requires DSH version 0.1.5-rc.1 or newer to work properly. It ships with 8 on-demand loaded specialized skills, 2 project management tools, 4 task-split subagents, and one pre-configured expert agent preset for Minecraft development. Users can install it via three methods: npm, local tarball, or direct source linking. For users running DSH from source, the install command uses pnpm dsh instead of the global dsh command.

In a typical development workflow, users can start a new development session by selecting the "Minecraft Expert" agent preset. Four built-in subagents handle the full development pipeline in order: project planning, scaffolding, code implementation, and build verification. It supports all major Minecraft development platforms including Paper, Fabric, Forge, NeoForge, and Spigot, and can generate a complete buildable project structure from a single user prompt. The workflow is structured so that each step completes before the next one starts, and failed steps are re-tried before moving forward to avoid silent errors. This plugin is targeted at developers who want AI assistance for Minecraft plugin or mod development.

The plugin is distributed under the open-source MIT license and published to the public npm registry. To use it, you need to have Node.js 22.19 or newer and a working DSH installation on your machine. For developing older Minecraft versions (pre 1.18.2), you need to manually install JDK 8 and set the JAVA_HOME environment variable. For newer Minecraft versions, the build tool automatically downloads the correct JDK via foojay toolchain on first run, so no manual installation is needed. After installation, you must restart your DSH service to load the plugin, and it will automatically deploy the agent preset without overwriting any existing user modifications.

这是专为 DeepSeek Harness (DSH) 开发的原生 Cordis 插件,用于辅助 AI 代理完成 Minecraft 服务端插件与模组开发,覆盖从 1.7.10 到 26.x 的全版本 Minecraft。插件要求 DSH 版本不低于 0.1.5-rc.1,提供 8 个按需加载的专业技能、2 个工程工具、4 个分工子代理和 1 个 Minecraft 开发专家代理预设。支持通过 npm、本地压缩包或源码三种方式安装。

典型工作流中,用户可以通过「Minecraft 专家」预设一键开启开发会话,由四个子代理分工完成方案规划、项目脚手架搭建、功能代码填充和编译验证全流程,支持 Paper、Fabric、Forge、NeoForge、Spigot 等主流开发平台,可一键生成完整可构建的项目框架。适合需要 AI 辅助开发 Minecraft 插件或模组的开发者使用。

插件采用 MIT 许可证开源,发布到 npm 公共仓库,使用需要预先安装 Node.js 22.19 以上版本和 DSH 本体,老版本 Minecraft 开发需要手动安装 JDK 8 并配置环境变量。安装后必须重启 DSH 服务才能加载插件,插件安装后会自动将代理预设部署到 DSH 的预设目录,不会覆盖用户已有修改。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 18 stars - an early-stage project星标 18,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add minecraft-dev

把 sikadi233-hub/minecraft-dev 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

minecraft-dev

Awesome DSH Plugin

Minecraft 开发插件 for DeepSeek Harness (dsh):让 agent 更擅长写 Minecraft 服务端插件与模组,覆盖 MC 1.7.10 ~ 26.3 全时代。适配 dsh ≥ 0.1.5-rc.1(profile/bundle 插件体系;低于此版本请用 0.7.0 及更早版本),覆盖三条线:0.1.5-rc.x(目录形态 preset)、0.1.7-rc.x(agentPresets 声明形态)、0.2.0-rc.x。实测:0.1.5-rc.2 / 0.1.7-rc.1 / 0.2.0-rc.2。

已被 awesome-dsh-plugin 收录(Skills 分类)。

⚠️ dsh 0.2.0 起有插件兼容性门禁(dsh-app-boot 的 evaluatePluginCompatibility):导入插件前拿它的 @deepseek-ai/dsh / @deepseek-ai/dsh-* peer 声明与运行版本比对,任一条不匹配就拒绝导入整包 —— 不是警告,是拒绝安装/整包被跳过(工具、技能、preset 全部消失,且 App 里可能只表现为"插件装了但没反应")。而 node-semver 无法用单条范围表达"这些线的任意预发布版"(^0.1.5-rc.1 即使带 includePrerelease 也不匹配 0.2.0-rc.2),所以 peer 必须逐条枚举;新增 dsh 线时同步加一条,否则插件会静默失效。详见 test/peers.test.js。 万一 dsh 又先发了新线而本插件还没跟上,可以用门禁自带的精确版本豁免兜底(自担风险,仅对那一个版本生效):dsh plugin --profile <name> allow-version minecraft-dev@<版本> --dsh-version <运行版本> --accept-risk。

dsh 0.1.7 起 preset 的声明方式变了,本插件两种都支持并在运行时自动选择:0.1.5–0.1.6 的 preset 是 $DSH_HOME/.agent-presets/<id>/ 目录(插件启动时拷贝,已存在则不覆盖本地修改);0.1.7 起 preset 改为 Cordis 声明行(@deepseek-ai/dsh-agent-preset)交给 agentPresets 服务,插件随之改用 agentPresets.register() 提交同一批行(preset/*/rows.js)。两种形态由同一个源生成,并由测试锁死一致。

已发布 npm:minecraft-dev(MIT)| 源码:GitHub

功能一览

8 个技能(模型按需加载,不占常驻上下文)

技能 内容
minecraft-java-build 全时代 Java/Gradle 构建知识:JDK 配对表、wrapper、foojay toolchain、依赖仓库、常见坑
minecraft-paper-plugin Paper/Spigot 现代线插件(1.20.x / 1.21.x / 26.x)+ 5 份 API 参考
minecraft-fabric-mod Fabric 模组(loom/loader/fabric-api/yarn 配合)+ 4 份 API 参考
minecraft-forge-mod 传统 Forge 四时代(1.7.10 FG2 / 1.12.2 FG3 / 1.16.5 FG5 / 1.20.1 FG6)+ 3 份时代 API 参考
minecraft-neoforge-mod NeoForge(1.20.1 legacyforge / 1.21.1 / 1.21.x / 26.2 stable + 26.3 beta-only)+ 3 份 API 参考
minecraft-spigot-legacy 1.7.10 / 1.12.2 老线 Bukkit 插件 + Cauldron/Thermos/Mohist 混合服说明 + 2 份老线 API 参考
minecraft-major-mods 大型模组附属开发:28 个模组条目(1.7.10×10 / 1.12.2×8 / 现代×10,含拔刀剑、神秘时代、匠魂、植物魔法、Create、Botania、AE2、Mekanism、Curios、JEI/REI 等),每条含核实过的 curse.maven 坐标与扩展点
minecraft-intake 任务信息核对(v0.7):用户请求写插件/mod/附属但信息不足时,按场景批量提问(版本/平台/加载器/核心/混合端/兼容性/部署),一次问全、不重复问、授权默认

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-commandcode-go-provider 下一个 Next dsh-file-mount →