🗂️ 对象
v1.0.0关系结构映射指南 对象关系映射结构模式指南。在设计或审计领域对象如何映射到关系表时使用——标识字段、外键……
0· 75·0 当前·0 累计
安全扫描
OpenClaw
安全
high confidence这是一个仅用于指令的 ORM 映射设计/审计指南,只需对代码库具备读取权限,亦可选择性地生成编辑——其请求的能力与其所述目的相符。
评估建议
This 技能 应用ears coherent for de签名ing or 审计ing ORM m应用ings. Before 安装ing/using it: (1) be aware it asks to read your codebase and has Edit/Write privileges — if you only want an 审计, restrict the 代理 to read-only or review changes before 应用lying; (2) back up or 运行 in a branch/CI 环境 so edits can be tested; (3) do not enable always:true or unrestricted autonomous execution if you do not trust the 技能 to modify code unreviewed; (4) 验证 any 生成d 模式 or 迁移s and 运行 your test suite; (5) if your codebase contAI...详细分析 ▾
✓ 用途与能力
The 技能 describes m应用ing domAIn objects to relational 模式 and 请求s only codebase-oriented 工具s (Read, Glob, Grep, Edit, Write, optional Bash). Those 工具s are reasonable for 检测ing ORM usage, generating 模式 sketches, and producing idiomatic ORM config. No unrelated binaries, 凭证s, config paths, or network 端点s are 请求ed.
ℹ 指令范围
技能.md and reference files focus on classification, decision tables, and per-stack ORM 图形界面dance. The declared execution 输入s explicitly include 扫描ning the codebase (模型s, 迁移s, build files). This is in scope. One notable point: the 技能 requires Edit/Write 工具s (and optionally Bash), which means it can modify files or 运行 shell commands — 应用ropriate for generating 补丁es but worth flagging so the user knows the 代理 may propose or 应用ly changes.
✓ 安装机制
无安装规范,无代码文件执行;仅为指令。最大限度降低磁盘写入与任意代码风险。
✓ 凭证需求
该技能未声明任何环境变量、凭据或配置路径。其对读取代码库的需求与目的相符,未提出过度的密钥或平台访问请求。
ℹ 持久化与权限
always:false(正常)。该技能可由用户调用,也可由 agent 自主运行(默认平台行为)。由于它请求 Edit/Write,若允许 agent 自主操作,则可能修改仓库;这种组合对代码修改助手是预期的,但用户应确认是否希望自动编辑。
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/4/21
Object-Relational Structural Mapping Guide 技能首发 - 基于六大 PEAA 结构模式,指导将领域模型关系映射为关系数据库模式。 - 可识别关系类型(identity、1:1、1:N、N:M、dependent、embedded、graph)并路由至对应映射模式。 - 为主流框架(Hibernate、SQLAlchemy、EF Core、ActiveRecord、Django ORM)生成模式草图与惯用 ORM 配置。 - 标记常见反模式:有意义键、误用序列化 LOB、不当多对多映射等。 - 面向设计新持久层或审计现有 ORM 的架构师与工程师。
● 无害
安装命令
点击复制官方npx clawhub@latest install bookforge-object-relational-structural-mapping-guide
镜像加速npx clawhub@latest install bookforge-object-relational-structural-mapping-guide --registry https://cn.longxiaskill.com 镜像可用
技能文档
六个 PEAA 模式,桥接 OO 领域对象与关系表:Identity Field、Foreign Key Mapping、Association Table Mapping、Dependent Mapping、Embedded Value、Serialized LOB。
何时使用
在以下场景使用本技能:- 设计领域模型的持久化方案