← 返回 Skills 市场
ohernandez-dev-blossom

Border Radius

作者 Omar Hernandez · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
133
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install border-radius
功能描述
Generate CSS border-radius code. Use when the user asks to generate rounded corners, create a border radius, make a blob shape, or produce border-radius CSS.
使用说明 (SKILL.md)

CSS Border Radius Generator

Generate border-radius CSS for uniform rounding or per-corner customization, including special shapes like blobs and leaves.

Input

  • Mode: uniform (all corners equal) or per-corner
  • Uniform value: integer 0–9999 px (default 16)
  • Per-corner values: top-left, top-right, bottom-right, bottom-left in px (defaults 16 16 16 16)

Output

  • CSS property: border-radius: \x3Cvalue>;
  • Tailwind CSS class equivalent

Instructions

  1. Parse the user's request. Determine if all corners are the same or each is specified separately.
  2. Compute the CSS value:
    • All corners equal: border-radius: \x3Cvalue>px;
    • Mixed corners: border-radius: \x3Ctl>px \x3Ctr>px \x3Cbr>px \x3Cbl>px;
  3. Compute the Tailwind class:
    • All equal, value is 0: rounded-none
    • All equal, value >= 9999: rounded-full
    • All equal, other: rounded-[\x3Cvalue>px]
    • Mixed: rounded-[\x3Ctl>px_\x3Ctr>px_\x3Cbr>px_\x3Cbl>px]
  4. Output both CSS and Tailwind.
  5. If the user mentions a shape preset, map it:
    • None → 0 0 0 0
    • Small → 4 4 4 4
    • Medium → 8 8 8 8
    • Large → 16 16 16 16
    • XL → 24 24 24 24
    • Full / pill / circle → 9999 9999 9999 9999
    • Blob → 30px 70px 70px 30px
    • Leaf → 0px 50px 0px 50px

Options

  • topLeft: 0–9999 — default 16
  • topRight: 0–9999 — default 16
  • bottomRight: 0–9999 — default 16
  • bottomLeft: 0–9999 — default 16
  • linked: if true, all corners use the same value

Examples

Input: "Rounded corners, 12px all sides" Output:

border-radius: 12px;

Tailwind: rounded-[12px]

Input: "Blob shape border radius" Output:

border-radius: 30px 70px 70px 30px;

Tailwind: rounded-[30px_70px_70px_30px]

Input: "Full pill / circle border radius" Output:

border-radius: 9999px;

Tailwind: rounded-full

Input: "Top corners 24px, bottom corners 0" Output:

border-radius: 24px 24px 0px 0px;

Tailwind: rounded-[24px_24px_0px_0px]

Error Handling

  • If a value is negative, set it to 0 and inform the user that border-radius cannot be negative.
  • If a value exceeds 9999, cap at 9999 (used to represent fully rounded / rounded-full).
  • If the user provides a unit other than px (e.g., rem, %), note the unit in the output and omit the Tailwind arbitrary value if not px.
安全使用建议
This skill appears safe and does only local text generation for CSS and Tailwind classes. Before using in production: review outputs when users specify units other than px (the skill omits Tailwind arbitrary classes for non-px units), and validate any generated CSS in your app context. No network access or secrets are requested.
功能分析
Type: OpenClaw Skill Name: border-radius Version: 1.0.0 The skill bundle is a straightforward CSS border-radius generator. It contains only metadata and markdown instructions (SKILL.md) for an AI agent to calculate and format CSS/Tailwind code based on user input, with no evidence of malicious intent, data exfiltration, or risky execution capabilities.
能力评估
Purpose & Capability
Name, description, and runtime instructions all focus on generating border-radius CSS and Tailwind classes. There are no extra environment variables, binaries, or unrelated requirements.
Instruction Scope
SKILL.md only describes parsing user input and producing CSS/Tailwind outputs, preset mappings, and simple validation. It does not instruct reading files, contacting external endpoints, or accessing unrelated system state.
Install Mechanism
No install spec and no code files — instruction-only. Nothing will be written to disk or downloaded during install.
Credentials
No environment variables, credentials, or config paths are requested; the declared inputs (corner values, linked flag) match the skill's purpose.
Persistence & Privilege
The skill is not forced-always and does not request elevated or persistent privileges. It allows normal autonomous invocation (the platform default), which is appropriate for this kind of utility.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install border-radius
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /border-radius 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the border-radius skill. - Generates CSS border-radius code and matching Tailwind class from user input. - Supports both uniform and per-corner radius values. - Handles shape presets (e.g., none, small, medium, large, full, blob, leaf). - Performs error handling for negative values and unit restrictions. - Outputs both standard CSS and Tailwind utility class.
元数据
Slug border-radius
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Border Radius 是什么?

Generate CSS border-radius code. Use when the user asks to generate rounded corners, create a border radius, make a blob shape, or produce border-radius CSS. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 133 次。

如何安装 Border Radius?

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

Border Radius 是免费的吗?

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

Border Radius 支持哪些平台?

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

谁开发了 Border Radius?

由 Omar Hernandez(@ohernandez-dev-blossom)开发并维护,当前版本 v1.0.0。

💬 留言讨论