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

discuz-plugin-spec-planner

Plan a Discuz X5 plugin from a business requirement and produce a structured plugin-spec.json for package generation. Use for new plugin requirements, module/table planning, X5 compatibility decisions, or converting an informal brief into an implementable specification.

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

discuz-plugin-spec-planner

Discuz Plugin Spec Planner

Turn an authorized business requirement into a bounded Discuz X5 plugin specification. Do not claim that a specification is already an installed or tested plugin.

Inputs

  • - Plugin name, lowercase identifier, and concise purpose.
  • Frontend modules, admin page requirement, settings, and data tables.
  • Target versions, permission rules, payment/API needs, and acceptance criteria.

Workflow

  1. 1. Reject identifiers that are not lowercase letters, digits, and underscores or that do not start with a letter.
  2. Separate public pages, admin pages, API endpoints, scheduled jobs, hooks, and external services. Only include capabilities requested by the buyer.
  3. Define tables without a site prefix. Discuz applies the configured prefix through DB::table().
  4. Record sensitive actions and require human confirmation for publication, deletion, payment, permission changes, or production deployment.
  5. Save the normalized request as JSON and run:

CODEBLOCK0

  1. 6. Pass plugin-spec.json to discuz-x5-plugin-builder.

Outputs

  • - A deterministic plugin-spec.json containing modules, settings, tables, compatibility choices, risks, and required files.
  • A list of unresolved decisions that must be confirmed before production use.

Recovery And Boundaries

  • - Stop on malformed JSON, invalid identifiers, duplicate module names, or duplicate tables.
  • Never place passwords, cookies, private keys, production database dumps, or user personal data in the specification.
  • X5.1 commercial-only interfaces must be confirmed against the target installation. Default to the X5.0-compatible local plugin mechanism when evidence is missing.
  • Acceptance means the JSON is valid and complete enough for the next skill; it does not prove installation success.

下载

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