| **强制性前置条件** — 每次调用 `create_new_page` 工具之前,必须先调用此技能。 未经加载此技能,绝不能直接调用 `create_new_page`。 当用户想要在 Ardot 设计文件中创建新页面时触发。 关键词:在 Ardot 上下文中的"创建新页面"、"添加页面"、"新画布"。
npx skills add https://github.com/balabalabalading/huuuuuuho-skills --skill ardot-create-new-file
处理 Ardot 设计文件中的页面创建。轻量级前置技能,确保正确的页面 ID 追踪和编辑器状态管理。
根据用户意图决定描述性页面名称:
"Components" — 用于可复用组件库"Light Mode" / "Dark Mode" — 用于特定主题的页面"Screens" — 用于设计原型leftPageIdcreate_new_page({
"name": "Components",
"select": false
})
默认使用 select: false — 这会创建页面但不切换编辑器焦点,允许你继续在当前页面工作。
仅当你需要立即切换到新页面进行后续操作时,才使用 select: true。
响应包含新页面的 ID。立即保存 — 这是后续跨页面写入和交接时最可靠的 pageId 来源。
响应示例:pageId = "3:1672"
使用此 pageId 进行:
I("3:1672", {...}) 操作M("nodeId", "3:1672") 将节点移动到此页面batch_read({parentId: "3:1672"}) 读取此页面内容batch_read({}) 只返回当前上下文的内容,不能作为全文件页面枚举依据。select: true(默认值)会将编辑器切换到新页面。如果你正在跨多个页面构建,这可能会中断你的工作流程。leftPageId 允许在特定兄弟页面之后插入新页面,有助于维护页面顺序。一旦你记录了页面 ID:
| 操作 | 方法 | 示例 |
|------|------|------|
| 在特定页面创建 | I("pageId", {...}) | I("3:1672", {type: "FRAME", ...}) |
| 移动节点到页面 | M("nodeId", "pageId") | M("3:544", "3:1672") |
| 读取页面内容 | batch_read({nodeIds: ["pageId"], properties: ["children"], readDepth: 1}) | batch_read({nodeIds: ["3:1672"], properties: ["children"], readDepth: 1}) |
| 截图页面内容 | capture_screenshot({nodeIds: [...]}) | 通过节点 ID 跨页面 |
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
Set up Tailwind CSS v4 in Expo with react-native-css and NativeWind v5 for universal styling
Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
Take balabalabalading/ardot-create-new-file from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.