← 返回 Skills 市场
kaiyuelv

Form Builder Pro

作者 Lv Lancer · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
76
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install form-builder-pro
功能描述
表单构建器专业版 - 支持JSON Schema验证、动态渲染、条件逻辑的表单引擎 | Form Builder Pro - JSON Schema validation, dynamic rendering, conditional logic form engine
使用说明 (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

安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install form-builder-pro
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /form-builder-pro 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: JSON Schema form builder with validation and conditional logic
元数据
Slug form-builder-pro
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Form Builder Pro 是什么?

表单构建器专业版 - 支持JSON Schema验证、动态渲染、条件逻辑的表单引擎 | Form Builder Pro - JSON Schema validation, dynamic rendering, conditional logic form engine. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 76 次。

如何安装 Form Builder Pro?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install form-builder-pro」即可一键安装,无需额外配置。

Form Builder Pro 是免费的吗?

是的,Form Builder Pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Form Builder Pro 支持哪些平台?

Form Builder Pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Form Builder Pro?

由 Lv Lancer(@kaiyuelv)开发并维护,当前版本 v1.0.0。

💬 留言讨论