Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计提醒

canvas-workbench帆布工作台

Agent Skill

canvas-workbench 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

870

周安装

37

GitHub Stars

1

下载量

305
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:canvas-workbench(帆布工作台)
来源仓库:https://github.com/drupal-canvas/skills
仓库路径:skills/canvas-workbench
安装命令:
npx skills add https://github.com/drupal-canvas/skills --skill canvas-workbench
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/drupal-canvas/skills --skill canvas-workbench

简介

canvas-workbench 是 Drupal Canvas 项目的本地开发工作台,支持页面预览与云端同步双向操作。

  • 需检测项目包管理器(npm/pnpm/yarn/bun)并使用对应命令启动,否则无法识别环境。
  • 安装前应确认 @drupal-canvas/workbench 是否已全局安装或可通过 dlx 临时调用。
  • 操作涉及文件读写与网络请求,务必在受控目录下执行,防止误删或覆盖关键资源。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Installation gate

Before trying to use Workbench, detect the project's package manager and use its executable runner for @drupal-canvas/workbench.

Preferred commands:

  • npm: npx @drupal-canvas/workbench
  • pnpm: pnpm dlx @drupal-canvas/workbench
  • bun: bunx @drupal-canvas/workbench
  • yarn: yarn dlx @drupal-canvas/workbench

Choose the command that matches the repository's package manager. Use lockfiles and existing project conventions to decide.

If the package runner or @drupal-canvas/workbench is not available, stop and tell the user that Canvas Workbench is not available in the current environment. Ask whether they want you to install it. If they say yes, install @drupal-canvas/workbench as a dev dependency with the matching package manager:

  • npm: npm install --save-dev @drupal-canvas/workbench
  • pnpm: pnpm add --save-dev @drupal-canvas/workbench
  • bun: bun add --dev @drupal-canvas/workbench
  • yarn: yarn add --dev @drupal-canvas/workbench

After installation completes, use the matching runner command and continue with Workbench verification. If the user says no, stop and do not guess alternate startup commands.

Configuration gate

Workbench does not require a canvas.config.json file when the project uses the default Canvas layout.

Before starting Workbench, check whether the project appears to use the default paths:

  • componentDir: project root
  • pagesDir: ./pages
  • aliasBaseDir: src
  • globalCssPath: ./src/components/global.css

If the project uses those defaults and canvas.config.json is missing, proceed without creating one.

If the project uses different component paths, pages paths, @/ import resolution, or global CSS entrypoints, add or update canvas.config.json in the project root before starting Workbench. Set only the options the project needs.

Example:

{
  "componentDir": "./src/components",
  "pagesDir": "./pages",
  "aliasBaseDir": "src",
  "globalCssPath": "./src/global.css"
}

Start Workbench

When Workbench verification is needed and the package-runner command is available:

  1. Run the matching Workbench command from the project root.
  2. Treat it as a long-running local dev server process.
  3. Read the startup output and use the local URL it prints.
  4. Leave the server running while you verify the result.

If a Workbench server is already running for the current project, reuse it instead of starting a second instance.

Verification workflow

Workbench is the runtime surface for local preview verification. When verification is iterative, reuse the same Workbench server and preview route across fix/review loops.

Use Workbench as part of the normal implementation loop:

  1. Start or reuse Workbench.
  2. Open the relevant component preview state or page preview.
  3. Verify that the requested change renders correctly.
  4. If the result is wrong, update the implementation and verify again.
  5. Finish only after Workbench verification passes, or explain clearly what blocked verification.

Scope

This skill is for starting and using Workbench and for coordinating page/mock authoring. It is not the source of truth for the Canvas component contract.

  • Use canvas-component-definition when creating or validating the component structure, component.yml, naming, or mock coverage expectations.
  • Use canvas-page-definition when creating or validating page JSON files, page structure, or page schema requirements.
  • Use canvas-component-definition/references/component-mocks.md when you need to author or validate mocks.json.
  • Use references/components.md when you need the Workbench-specific component review flow and where component preview files live.
  • Use references/pages.md when you need the Workbench-specific page preview flow and configured page location.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.51%
按下载量换算105

Claude

31.82%
按下载量换算97

Cursor

19.71%
按下载量换算60

Gemini CLI

10.09%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills