← Back to Skills Marketplace
kaiyuelv

Form Builder Pro

by Lv Lancer · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
76
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install form-builder-pro
Description
表单构建器专业版 - 支持JSON Schema验证、动态渲染、条件逻辑的表单引擎 | Form Builder Pro - JSON Schema validation, dynamic rendering, conditional logic form engine
README (SKILL.md)

表单构建器专业版

强大的表单生成与验证工具,支持JSON Schema、YAML配置、条件渲染等高级功能。

概述

本Skill提供完整的表单解决方案:

  • JSON Schema 表单定义与验证
  • YAML 配置文件支持
  • 动态表单渲染
  • 字段条件显示逻辑
  • 多步骤向导表单
  • 自定义验证规则
  • Jinja2 模板引擎
  • 表单数据序列化/反序列化

依赖

  • Python >= 3.8
  • jsonschema >= 4.19.0
  • pyyaml >= 6.0
  • jinja2 >= 3.1.0

文件结构

form-builder-pro/
├── SKILL.md                  # 本文件
├── README.md                 # 使用文档
├── requirements.txt          # 依赖声明
├── scripts/
│   └── form_engine.py        # 表单引擎脚本
├── examples/
│   └── basic_usage.py        # 使用示例
└── tests/
    └── test_form.py          # 单元测试

快速开始

from scripts.form_engine import FormBuilder, Field

# 创建表单
builder = FormBuilder()

# 添加字段
builder.add_field(Field(
    name="email",
    type="email",
    label="电子邮箱",
    required=True,
    validation={"pattern": r"^[\w\.-]+@[\w\.-]+\.\w+$"}
))

# 从YAML加载表单
form = builder.load_from_yaml("form_config.yaml")

# 验证数据
result = form.validate({"email": "[email protected]"})

许可证

MIT


Form Builder Pro

Powerful form generation and validation tool supporting JSON Schema, YAML config, conditional rendering.

Overview

This Skill provides a complete form solution:

  • JSON Schema form definition and validation
  • YAML configuration file support
  • Dynamic form rendering
  • Field conditional display logic
  • Multi-step wizard forms
  • Custom validation rules
  • Jinja2 template engine
  • Form data serialization/deserialization

Dependencies

  • Python >= 3.8
  • jsonschema >= 4.19.0
  • pyyaml >= 6.0
  • jinja2 >= 3.1.0

File Structure

form-builder-pro/
├── SKILL.md                  # This file
├── README.md                 # Usage documentation
├── requirements.txt          # Dependencies
├── scripts/
│   └── form_engine.py        # Form engine script
├── examples/
│   └── basic_usage.py        # Usage examples
└── tests/
    └── test_form.py          # Unit tests

Quick Start

from scripts.form_engine import FormBuilder, Field

# Create form
builder = FormBuilder()

# Add fields
builder.add_field(Field(
    name="email",
    type="email",
    label="Email",
    required=True,
    validation={"pattern": r"^[\w\.-]+@[\w\.-]+\.\w+$"}
))

# Load from YAML
form = builder.load_from_yaml("form_config.yaml")

# Validate data
result = form.validate({"email": "[email protected]"})

License

MIT

Usage Guidance
This package appears to be a straightforward Python form engine. Before installing or using it in production: 1) Review places that render Jinja2 templates (form.render) and avoid rendering untrusted templates because Jinja2 templates can execute code if unsandboxed. 2) Be cautious if you accept custom validator callables from untrusted users — those run arbitrary Python code. 3) Examples write temp files (/tmp); ensure file paths and permissions meet your security policy. 4) Install dependencies in an isolated environment (venv) and run the provided tests locally to confirm behavior.
Capability Analysis
Type: OpenClaw Skill Name: form-builder-pro Version: 1.0.0 The form-builder-pro skill is a legitimate form engine implementation providing JSON Schema validation, YAML configuration support, and Jinja2 template rendering. The core logic in scripts/form_engine.py uses secure practices such as yaml.safe_load(), and the examples and tests demonstrate standard functionality without any signs of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
The name/description (form builder with JSON Schema, YAML, conditional rendering) matches the included files (scripts/form_engine.py, examples, tests) and the declared Python dependencies (jsonschema, pyyaml, jinja2). There are no unrelated credentials, binaries, or config paths required.
Instruction Scope
SKILL.md describes form creation, YAML/JSON loading, validation, and template rendering — and the code and examples follow that scope. The examples write a YAML file to /tmp and load it, which is expected for examples; there are no instructions to read unrelated system files, fetch external endpoints, or exfiltrate data.
Install Mechanism
No install spec is provided (instruction-only for the platform), and a lightweight requirements.txt lists standard Python packages on public registries. Nothing is downloaded from arbitrary URLs and no archives are extracted by an install script.
Credentials
The skill requests no environment variables, credentials, or config paths. The code does not reference os-level secrets or external service keys. This is proportionate for a local form engine library.
Persistence & Privilege
always is false and model invocation is normal. The skill does not request permanent/system-wide privileges or modify other skills' configurations.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install form-builder-pro
  3. After installation, invoke the skill by name or use /form-builder-pro
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: JSON Schema form builder with validation and conditional logic
Metadata
Slug form-builder-pro
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Form Builder Pro?

表单构建器专业版 - 支持JSON Schema验证、动态渲染、条件逻辑的表单引擎 | Form Builder Pro - JSON Schema validation, dynamic rendering, conditional logic form engine. It is an AI Agent Skill for Claude Code / OpenClaw, with 76 downloads so far.

How do I install Form Builder Pro?

Run "/install form-builder-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Form Builder Pro free?

Yes, Form Builder Pro is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Form Builder Pro support?

Form Builder Pro is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Form Builder Pro?

It is built and maintained by Lv Lancer (@kaiyuelv); the current version is v1.0.0.

💬 Comments