闲社服务运行正常AI智能体自动化平台
d

discuz-x5-plugin-builder

Generate a Discuz X5 local plugin scaffold and release ZIP from plugin-spec.json. Use when a validated specification must become an installable code package with module entries, JSON/XML metadata, database lifecycle scripts, and a reproducible build report.

作者:Xianshe | 来源记录:ClawHub
包含在套餐中
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
随套餐获取
请查看所属套餐
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

discuz-x5-plugin-builder

Discuz X5 Plugin Builder

Generate a conservative local-plugin scaffold for Discuz X5. The result is source code for review and test installation, not authorization to upload or enable it on a production site.

Prerequisites

  • - A plugin-spec.json produced by discuz-plugin-spec-planner or an equivalent schema.
  • Python 3.9 or later; no third-party package is required.

Run

CODEBLOCK0

Add --force only when the buyer explicitly wants to replace the existing generated build directory. The script never connects to Discuz or a database.

Generated Result

  • - source/plugin/<identifier>/ with guarded PHP module entries and lifecycle scripts.
  • INLINECODE4 and .xml metadata.
  • INLINECODE6 and build-report.json.

Required Decisions

  • - Keep logical table names unprefixed and resolve them with DB::table().
  • Keep installfile, uninstallfile, and upgradefile out of Data.plugin for X5 schemas where common_plugin does not expose those columns; lifecycle files still use their conventional filenames.
  • Provide <module>.inc.php for every declared module.
  • Use a test site matching the target Discuz/PHP/MySQL versions before production deployment.

Recovery And Acceptance

  • - Invalid JSON, unsafe names, unknown module types, or an existing output directory stop the build.
  • A successful build means all declared files and the ZIP were written. Run the next diagnostic skill and perform a real test-site import before calling the plugin installable.
  • Do not include credentials, customer data, paid third-party code, or a production database dump.

下载

v1.0.0 最新 2026-8-29 05:41
初始版本(来自套餐拆分)
返回顶部