Lowcode Module Generator for Openclaw

The Lowcode Module Generator accelerates full-stack application development by converting module names and field schemas into production-ready Java backend and React frontend code.

hjfeilg
v1.0.0
Jun 4, 2026
0
482
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lowcode-module-generator

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lowcode-module-generator using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Lowcode Module Generator?

The Lowcode Module Generator is a high-productivity agent tool designed to fully automate the software development lifecycle for custom enterprise modules. By taking user-supplied Chinese module specifications and field mappings, it translates requirements into clean, structured code architectures. This tool helps developers avoid repetitive boilerplate coding by simultaneously generating Java backends (PO, Form, VO, Service, Controller, Mapper, and Feign layers) and interactive React frontends.

As a foundational capability within the Openclaw Skills registry, it guarantees that all generated assets strictly adhere to corporate design guidelines and specific system structures. The tool employs Apache Velocity templates to output high-quality, standardized components. This ensures complete architectural consistency, from the lowest database operations up to the polished browser view.

Lowcode Module Generator Use Cases

  • Rapid Enterprise Prototyping: Instantly scaffold complete business features, from database schemas to polished React user interfaces, in under a minute.
  • Boilerplate Standardization: Eliminate discrepancies in Java architectures and React coding styles by programmatically enforcing Velocity configuration guidelines.
  • Database Schema Generation: Automatically derive creation and indexing scripts for target databases including MySQL, Oracle, and Dameng from business descriptions.

How Lowcode Module Generator Works

  1. Identify Module Specifications: Read user-provided Chinese business terms and translate them into standardized English camelCase naming conventions and uppercase Class prefixes.
  2. Determine Page Layout: Evaluate fields (such as identifying parent-child pointers to trigger Tree structures) and context descriptions to choose between single-page grids, tabbed selectors, left-right linkages, or workflows.
  3. Map and Assemble Variables: Convert business field details into Java and database-compatible primitives and assign them to respective form controllers.
  4. Execute Scaffolding: Render the 30 included Velocity code templates (12 Java and 18 React) with computed design variables.
  5. Automate SQL Provisioning: Generate initial database configurations, constraints, and field layouts customized specifically for MySQL, Oracle, or Dameng databases.
  6. Run Strict Code Verification: Execute a 36-point validation pipeline checking imports, inheritance trees, annotation definitions, and dependencies prior to file assembly.

Lowcode Module Generator Setup

Ensure that your local workspace includes all mandatory configuration values under your project configuration paths.

Configuration Parameters (src/config.json)

Configure the core properties pointing to your target local repositories:

{
  "microservice": {
    "name": "wsd-aiagent",
    "package": "com.wisdom.acm.aiagent",
    "path": "/workspace/adp-modules/wsd-aiagent/src/main/java/com/wisdom/acm/aiagent"
  },
  "frontend": {
    "path": "/workspace/adp-frontend/src/pages/"
  },
  "database": {
    "type": "Oracle",
    "tablePrefix": "T_ACM_"
  }
}

Executing the Generator

Invoke the module developer workflow through the CLI tools provided in Openclaw Skills:

# Trigger code generation using your custom specifications document
openclaw execute lowcode-module-generator --spec ./src/documents/examples/example-common.md

Lowcode Module Generator Data Schema & Taxonomy

The generator depends on structured definitions to map configurations to correct database tables and classes. Here is the metadata taxonomy and target directory map:

Layout File Mapping

  • src/config.json: Master project paths, databases, and microservice definitions.
  • src/template/: Base engine template schemas for Java (.java.vm) and React (.jsx.vm).
  • src/documents/: Layout systems, components, reference files, and variable mapping lists.

Complete Target Artifacts Matrix

Layer Type File Name Pattern Purpose / Constraints
Backend - PO XxxPo.java Base mapping entity annotated with database table metrics.
Backend - Form XxxAddForm.java, XxxUpdateForm.java, XxxSearchForm.java Validated transactional payloads representing user input mappings.
Backend - VO XxxVo.java, XxxTreeVo.java, XxxDataVo.java Output view objects designed to display normalized search grids.
Backend - Service XxxService.java, XxxServiceImpl.java Declares and implements business logic queries utilizing persistence layers.
Backend - API Layer XxxController.java, XxxControllerWf.java Exposes standard endpoint handlers mapped with Swagger descriptions.
Backend - Mapper XxxMapper.java, XxxMapper.xml Abstract persistence queries mapped to exact execution keys.
Frontend - Forms AddForm.jsx, UpdateForm.jsx, SearchForm.jsx React form layouts containing relevant inputs, dates, user pickers, or OBS trees.
Database Schema db/init.sql Output SQL setup file specific to MySQL, Oracle, or Dameng syntax.

Lowcode Module Generator Advanced Features

  • In-Context Execution Guarantees: Enforces a strict, sequence-based 9-step compiler checklist that checks everything from class translation to package naming consistency before releasing generated assets.
  • Zero-Recall Template Strictness: Mitigates hallucinated coding styles by strictly parsing template source configurations, ensuring correct imports and standard class configurations.
  • Dynamic UI Control Auto-Mapping: Instantly translates technical specifications to complex UI views including OrgOBS pickers, multi-file document upload arrays, and nested search widgets.
  • Left-Right Relationship Logic: Intelligently hooks child layouts with target parent nodes to build highly responsive side-by-side dashboard views automatically.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*