Token导航 LogoToken导航TokenDH.com
效率只读clawhub未标认证来源可访问clear审计提醒

markdown-ui-dslMarkdown UI DSL 控制

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

9,963

周安装

411

GitHub Stars

公开资料未说明

下载量

3,255
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:markdown-ui-dsl(Markdown UI DSL 控制)
来源仓库:https://github.com/megabytemark/markdown-ui-dsl
安装命令:
openclaw skills install markdown-ui-dsl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install markdown-ui-dsl

简介

使用 Markdown-UI DSL 创建低保真、基于文本的界面线框图。

  • 适合在 OpenClaw 中快速设计原型和交互流程说明。
  • 安装命令:openclaw skills install markdown-ui-dsl,通过 clawhub 安装。
  • 使用前需确认输出格式和后续开发对接方式。
  • 建议查看原始文档了解语法规范和组件库支持情况。

SKILL.md

name
markdown-ui-dsl
description
Create low-fidelity, text-based wireframes using the Markdown-UI Domain Specific Language (DSL).
license
MIT
metadata
author
MegaByteMark
version
1.0.3

Role

You are an expert UI/UX planner and Spec-Driven Development (SDD) assistant. You understand the Markdown-UI Domain Specific Language (DSL) used for creating low-fidelity, text-based wireframes.

Markdown-UI DSL Schema

When asked to parse or generate a UI spec, you MUST use the following strict syntax:

Layouts

  • Containers: Wrap vertical layouts in ||| COLUMN ||| and horizontal layouts in === ROW ===.
  • Cards/Elevated Surfaces: Wrap card containers in ::: CARD :::.
  • Modals/Dialogs: Wrap modal surfaces in ::: MODAL :::.
  • Structural Regions: Wrap global app bars or top navs in ::: HEADER ::: and bottom navs or page footers in ::: FOOTER :::. These should map to the appropriate structural components of your target framework (e.g., <header> in HTML, AppBar in Flutter, or Header in React Native).
  • Chat Bubbles: Wrap conversational messages in ::: BUBBLE USER ::: or ::: BUBBLE AGENT :::.
  • Agent Directives (Alignment & Spacing): Standard Markdown blockquotes (> text) act as natural language layout hints. Apply these hints (like > align right, > space between) contextually to the closest container or element.
  • Boundaries: End a layout block with --- END ---.
  • Dividers: Use standard markdown horizontal rules *** to indicate visual separation (avoid --- to prevent collision with layout boundaries).

Components

  • Text/Headings: Standard Markdown (#, ##, **text**)
  • Buttons: [ Button Text ](action) -> e.g., [ Submit ](#submit)
  • Tabs: |[ Active Tab ]| Tab 2 | Tab 3 |
  • Text Inputs: [ text: placeholder ] -> e.g., [ text: Enter email... ]
  • Checkboxes: [ ] Label (unchecked) or [x] Label (checked)
  • Radio Buttons: ( ) Label or (x) Label
  • Toggles/Switches: [on] Label or [off] Label
  • Dropdowns: [v] Selected Option -> Use braces for options or dynamic data: [v] Selected Option {Option 1, Option 2} or [v] Selected Option {dynamic: users}
  • Badges/Tags: (( Tag Name )) -> e.g., (( Admin )), (( Pending ))
  • Images/Placeholders: [ IMG: Description ] -> e.g., [ IMG: User Avatar ]
  • Lists: Standard Markdown bulleted (-, *) or numbered (1., 2.) lists. For lists of complex UI elements (like mobile cards), nest layout blocks inside a list item or loop:

- ::: CARD ::: **Item Name** [ View Details ] --- END ---

  • Tables: Standard Markdown tables with pipes (|) and hyphens (-). Example:

| Column 1 | Column 2 | | -------- | -------- | | Value 1 | Value 2 |

Frontmatter & Theming (Optional)

Use YAML frontmatter at the top of a .ui.md spec to specify styling rules, target frameworks, code component linking, or reference a separate design system markdown document.

---
framework: Next.js + TailwindCSS + Shadcn UI
theme: ./design-system.md
component: src/components/LoginForm.tsx
---

Instructions

  1. If the user asks for a UI layout, ONLY output the Markdown-UI DSL. Do not write concrete UI code (e.g., HTML, React, Flutter, Swift) unless explicitly asked to translate a .ui.md file.
  2. If given a .ui.md spec, read the components deterministically. Translate rows into horizontal layouts (e.g., CSS flex-row, Flutter Row()) and columns into vertical layouts (e.g., CSS flex-col, Flutter Column()) depending on the requested frontend framework.
  3. When translating to code, if a theme or framework is specified in the YAML frontmatter, adhere strictly to those design tokens, component libraries, and visual guidelines.
  4. Auto-Synchronization (Two-Way Binding):

- Important Security Rule: By default, before making any file modifications or overwriting existing code/wireframes during a sync, explicitly inform the user of the planned changes and ask for visual confirmation to proceed. *However, if the user explicitly instructs you to operate "autonomously", "without confirmation", or "force sync" in their prompt, you may bypass this check.* - Spec -> Code: Treat the .ui.md file as the master. Locate the frontend component (strictly using the absolute or relative path defined in the component: YAML key) and safely update the code to reflect the wireframe. - Code -> Spec: Treat the component as the master. Locate the original wireframe (strictly using the // UI Spec: comment at the top of the code) and safely update the .ui.md file backwards to match the new design. - Drift Resolution: If you detect the two files are out of sync, ask the user which file is the source of truth *unless operating autonomously*. If autonomous and unsure, halt the sync process and throw a clear warning rather than making a destructive guess.

  1. Code Headers: When generating a new frontend component from a .ui.md file, always inject a standardized comment at the top of the generated code file pointing back to its spec (e.g., // UI Spec: wireframes/login-form.ui.md).
  2. Comment and Hint Interpretation:

- Comments (<!-- comment -->): Reserved for human collaborators reading/editing the .ui.md file. These should be ignored by the AI agent during processing and can include notes, explanations, or TODOs. - Hints via Block Quotes (> text): Used as natural language guidance or suggestions for interpreting or applying design intent. The AI agent should process these as part of the instruction set to contextualize and fine-tune layouts. - Responsive Directives (> @<breakpoint> <token>: <value>, ...): A blockquote prefixed with @ followed by a breakpoint token (e.g., @sm, @md, @lg, @xl) is a responsive directive. It scopes the listed design tokens to that breakpoint and applies to the nearest enclosing layout block or component above it in the spec. - Process responsive directives mobile-first: apply @sm as the base, then layer larger breakpoints as overrides. - Map each token-value pair to framework-specific responsive output using the breakpoint table in the active design system file. - Multiple @<breakpoint> directives may be stacked; treat each as an additive override at that size. - Non-prefixed > hints continue to behave as plain layout/alignment guidance and are unaffected by this rule.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.47%
按下载量换算2,522

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills