← 返回 Skills 市场
royhk920

pretext-layout

作者 royhk920 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
139
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pretext-layout
功能描述
Integrate, debug, or prototype @chenglou/pretext for browser-based multiline text measurement and manual line layout. Use when replacing DOM height probes, b...
安全使用建议
This skill appears to be a documentation + demo scaffold for the @chenglou/pretext library and is coherent with that goal. Before installing or using it: (1) confirm you actually want a browser-based integration (it intentionally does not promise Node-only support), (2) if you run the scaffold you'll need to install @chenglou/pretext via npm and serve the generated files from a dev server, (3) review the third-party package (@chenglou/pretext) from npm if you care about supply-chain risk, and (4) the included Python script only writes two local files (index.html and demo.mjs) — run it in a disposable directory if you want to be cautious. There are no credential requests or hidden network calls in the provided files.
功能分析
Type: OpenClaw Skill Name: pretext-layout Version: 1.0.0 The pretext-layout skill is a legitimate utility designed to help developers integrate the @chenglou/pretext library for browser-based text measurement. It contains documentation and a Python scaffolding script (scripts/scaffold_browser_demo.py) that generates boilerplate HTML and JavaScript files for local prototyping. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name and description match the contents: guidance about using @chenglou/pretext in browser contexts, usage patterns, caveats, and a small demo scaffold. The declared required binaries (bash, node, npm, python3) are reasonable for running demos or developer tooling and do not conflict with the stated purpose.
Instruction Scope
SKILL.md instructions focus on preparing and measuring text in browser runtimes and explicitly warn about server-side constraints. They do not instruct reading unrelated files, exporting secrets, or calling external endpoints. The only filesystem action is the scaffold script (writes index.html and demo.mjs) which is aligned with the declared 'scripts' usage.
Install Mechanism
There is no install spec (instruction-only), so nothing is downloaded or executed by the platform. The included scaffold references a typical /node_modules path for @chenglou/pretext; the skill does not automatically fetch remote archives or run installers, which keeps installation risk low.
Credentials
The skill requests no environment variables, secrets, or config paths. The absence of credentials is proportional to a library-integration helper. The only operational requirements are developer binaries (node/npm/python3) needed to run the scaffold/demo locally.
Persistence & Privilege
The skill is not always-on, does not request elevated persistence, and does not modify other skills or system-wide settings. It is user-invocable and can be invoked autonomously per platform defaults, which is expected for a utility skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pretext-layout
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pretext-layout 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of pretext-layout (v1.0.0). - Provides integration, prototyping, and debugging guidance for @chenglou/pretext in browser-based multiline text measurement and layout. - Includes workflow steps, decision guide, and core implementation rules for accurate text measurement and layout caching. - Offers a scaffolding script for minimal browser demos and references for key integration patterns, usage, and caveats. - Clarifies runtime, caching, and environment requirements, with emphasis on browser support.
元数据
Slug pretext-layout
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

pretext-layout 是什么?

Integrate, debug, or prototype @chenglou/pretext for browser-based multiline text measurement and manual line layout. Use when replacing DOM height probes, b... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 139 次。

如何安装 pretext-layout?

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

pretext-layout 是免费的吗?

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

pretext-layout 支持哪些平台?

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

谁开发了 pretext-layout?

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

💬 留言讨论