ardot-create-new-file

Mandatory precondition: this skill must be called before each invocation of the create_new_page tool. Do not call create_new_page directly unless this skill has been loaded. Trigger condition: when a user wants to create a new page in an Ardot design file (keywords: create new page, add page, new canvas).

Last repository push
GitHub Stars
118
Forks
12
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ardot-create-new-file" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-1e3fb72d0214d5ba94d17f4c59bba3976557effce519d06096df514a15b8252f. Verify the upstream source and version against https://github.com/balabalabalading/huuuuuuho-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Mandatory precondition: this skill must be called before each invocation of the create_new_page tool. Do not call create_new_page directly unless this skill has been loaded. Trigger condition: when a user wants to create a new page in an Ardot design file (keywords: create new page, add page, new canvas).

0 Downloads

Introduction source: third_party · balabalabalading · 0.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: ardot-create-new-file
description: |
  **强制性前置条件** — 每次调用 `create_new_page` 工具之前,必须先调用此技能。
  未经加载此技能,绝不能直接调用 `create_new_page`。

  当用户想要在 Ardot 设计文件中创建新页面时触发。
  关键词:在 Ardot 上下文中的"创建新页面"、"添加页面"、"新画布"。
disable-model-invocation: false

ardot-create-new-file — 创建新 Ardot 页面

处理 Ardot 设计文件中的页面创建。轻量级前置技能,确保正确的页面 ID 追踪和编辑器状态管理。

工作流程

第一步:确定页面名称和位置

根据用户意图决定描述性页面名称:

  • "Components" — 用于可复用组件库
  • "Light Mode" / "Dark Mode" — 用于特定主题的页面
  • "Screens" — 用于设计原型
  • 如果新页面需要出现在特定现有页面之后,使用 leftPageId

第二步:调用 create_new_page

create_new_page({
  "name": "Components",
  "select": false
})

默认使用 select: false — 这会创建页面但不切换编辑器焦点,允许你继续在当前页面工作。

仅当你需要立即切换到新页面进行后续操作时,才使用 select: true。

第三步:记录返回的 pageId

响应包含新页面的 ID。立即保存 — 这是后续跨页面写入和交接时最可靠的 pageId 来源。

响应示例:pageId = "3:1672"

使用此 pageId 进行:

  • 跨页面 I("3:1672", {...}) 操作
  • M("nodeId", "3:1672") 将节点移动到此页面
  • batch_read({parentId: "3:1672"}) 读取此页面内容

重要说明

  • pageId 发现受限:不带 nodeIds 的 batch_read({}) 只返回当前上下文的内容,不能作为全文件页面枚举依据。
  • 在创建时记录页面 ID — 这是最可靠的交接方式;必要时也可以读取已知 pageId 或已知节点 ID。
  • 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 跨页面

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value55/100

Highlights

  • 针对 Ardot 设计工具提供明确的页面 ID 追踪解决方案
  • 解决了跨页面操作时的核心痛点,具备实质性闭环体验
Trigger Precision75/100

Areas to improve

  • 触发词覆盖不全 Reported severity: Minor

    未涵盖部分口语化表达如'新建一个页面'或'再加一页'

    Recommendation: 建议在 description 中补充更多自然语言变体以提升触发覆盖率

Highlights

  • 关键词定义清晰,边界明确,适用于 Ardot 上下文
Structure and Standards85/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档内容已涵盖使用场景但未设置显式章节标题

    Recommendation: 建议增加 '## When to Use' 章节以提升结构规范性

Highlights

  • 工作流程步骤清晰,包含端到端示例和重要参数说明
  • frontmatter 完整,文档长度适中,结构良好
Execution Reliability90/100

Highlights

  • 工具调用示例准确,参数说明详尽
  • 覆盖了主要异常情况和最佳实践,强调 pageId 记录的重要性
Evidence Verifiability (mean of the first four)76/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.