create-canvas-extension 是什么?
Create or register a canvas extension in the awesome-copilot repository. Use when asked to scaffold a new canvas extension, create its plugin.json, add a reusable extension to one or more plugins, or migrate extension metadata. Extensions are reusable source under extensions/; shippable plugin manifests belong under plugins/.
以上为来源原文,中文用途说明尚待整理。
怎么接入你的 Agent?
- 定位完整 Skill 目录
打开本项目来源,核对
SKILL.md及其引用的脚本和资料。 - 交给你正在用的 Agent
在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。
- 确认识别,再做具体任务
让 Agent 回报安装目录和识别到的名称
create-canvas-extension,然后告诉 Agent 你的任务和实际输入,让它先核对触发条件。
展开并复制给 Codex 的安装指令
安装并检查 create-canvas-extension
请在 Codex 的当前工作环境中安装并检查 create-canvas-extension 这个 Skill。
项目身份:github/awesome-copilot / create-canvas-extension
来源:https://github.com/github/awesome-copilot/blob/f10fdb8b2660ce85c98f220b2f1ca24653768a5c/.github/skills/create-canvas-extension/SKILL.md
已定位的源文件:.github/skills/create-canvas-extension/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Claude Code 的安装指令
安装并检查 create-canvas-extension
请在 Claude Code 的当前工作环境中安装并检查 create-canvas-extension 这个 Skill。
项目身份:github/awesome-copilot / create-canvas-extension
来源:https://github.com/github/awesome-copilot/blob/f10fdb8b2660ce85c98f220b2f1ca24653768a5c/.github/skills/create-canvas-extension/SKILL.md
已定位的源文件:.github/skills/create-canvas-extension/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 Cursor 的安装指令
安装并检查 create-canvas-extension
请在 Cursor Agent 的当前工作环境中安装并检查 create-canvas-extension 这个 Skill。
项目身份:github/awesome-copilot / create-canvas-extension
来源:https://github.com/github/awesome-copilot/blob/f10fdb8b2660ce85c98f220b2f1ca24653768a5c/.github/skills/create-canvas-extension/SKILL.md
已定位的源文件:.github/skills/create-canvas-extension/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。展开并复制给 当前 Agent 的安装指令
安装并检查 create-canvas-extension
请在 当前 Agent 的当前工作环境中安装并检查 create-canvas-extension 这个 Skill。
项目身份:github/awesome-copilot / create-canvas-extension
来源:https://github.com/github/awesome-copilot/blob/f10fdb8b2660ce85c98f220b2f1ca24653768a5c/.github/skills/create-canvas-extension/SKILL.md
已定位的源文件:.github/skills/create-canvas-extension/SKILL.md
1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。来源原文与资料状态
- 源文件
- 已保存 SKILL.md,抓取于 2026-11-22T03:34:45.756Z
- 中文使用说明
- 尚待整理,保留英文来源内容
- 安装与任务测试
- 本站未执行安装或任务测试
- 来源复核
- 已保留来源记录;当前完整用法未逐项人工复核
展开 SKILL.md 原文、章节与历史收录资料
.github/skills/create-canvas-extension/SKILL.md · 抓取时间 2026-11-22T03:34:45.756Z
以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。
抓取成功不代表已完成安装或任务测试。
Create or register a canvas extension in the awesome-copilot repository. Use when asked to scaffold a new canvas extension, create its plugin.json, add a reusable extension to one or more plugins, or migrate extension metadata. Extensions are reusable source under extensions/; shippable plugin manifests belong under plugins/.
查看源文件章节 / Source sections
- 原文:Create a canvas extension
- 原文:Required decisions
- 原文:Files to create
- 工作流程 / Workflow
- 原文:Existing extension migration
原文:Create a canvas extension
Use this skill only for the `github/awesome-copilot` repository. Canvas extensions are reusable source components. They do not have a `plugin.json` under `extensions/`.
原文:Required decisions
Before creating files, ask for each missing value: 1. **Extension ID**: lowercase kebab-case, matching the source folder and plugin name. 2. **Display metadata**: - description - version (default `1.0.0`) - author name and optional URL - keywords (lowercase, hyphenated, maximum 10) - repository and license (default to the repository URL and `MIT` when appropriate) 3. **Canvas entrypoint**: confirm whether the extension already has `extension.mjs`. If not, create a minimal entrypoint only when the user provides enough implementation details; otherwise create the directory and leave an explicit TODO. 4. **Preview image**: obtain an existing `assets/preview.png` path or ask the user to add it. Do not invent a binary image or silently use a misleading placeholder. 5. **Plugin registration**: - For a standalone installable canvas plugin, create `plugins/<extension-id>`. - For an extension that belongs to an existing plugin, ask for the parent plugin ID and add `./extensions/<extension-id>` to that plugin's `extensions.com.github.awesome-copilot.extensions`. - If the extension should be shipped by multiple plugins, collect all plugin IDs and add the same extension ID to each mapping file.
原文:Files to create
For a new extension plugin, create this structure: ```text extensions/<extension-id>/ ├── extension.mjs └── assets/ └── preview.png plugins/<extension-id>/ ├── plugin.json └── README.md ``` The extension source may contain additional files such as `package.json`, canvas assets, or supporting modules. Keep all reusable implementation files under `extensions/<extension-id>/`. Create `plugins/<extension-id>/plugin.json` with this shape: ```json { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "<extension-id>", "description": "<description>", "version": "1.0.0", "author": { "name": "<author>" }, "repository": "https://github.com/github/awesome-copilot", "license": "MIT", "keywords": [ "<keyword>" ], "extensions": { "com.github.copilot": { "logo": "assets/preview.png" }, "com.github.awesome-copilot": { "extensions": [ "./extensions/<extension-id>" ] } } } ``` Keep Agent Plugins fields at the manifest top level. Repository composition belongs only under `extensions.com.github.awesome-copilot`; do not put `agents`, `commands`, `hooks`, or `skills` at the top level or directly under `extensions`. MCP servers are declared in `mcp.json` at the plugin root, never in `plugin.json`. Do not add `x-awesome-copilot`, `standalone`, or other repository-specific top-level fields. For an existing parent plugin, create or update: ```text plugins/<parent-plugin>/plugin.json (`extensions.com.github.awesome-copilot.extensions`) ``` Its `extensions` property must contain sorted repository-relative paths: ```json { "extensions": [ "./extensions/<extension-id>" ] } ``` Do not copy the extension source into the parent plugin. Materialization resolves the IDs from the root `extensions/` directory, so the same source can be bundled by multiple plugins.
工作流程 / Workflow
1. Inspect the repository before editing: - confirm `extensions/<extension-id>` and `plugins/<extension-id>` do not already conflict - inspect the target parent plugin, if any - check whether a preview image and entrypoint already exist 2. Ask only the missing required questions from the decisions above. 3. Create the source and plugin directories with the required files. 4. If creating a new entrypoint, keep it minimal and clearly mark implementation TODOs rather than fabricating behavior. 5. Add or update `extensions.com.github.awesome-copilot.extensions` for every parent plugin that should ship the extension. Keep paths alphabetically sorted and unique. 6. Ensure there is no `extensions/<extension-id>/.github/plugin/plugin.json`. 7. Run: ```bash npm run plugin:validate npm run build npm run website:data ``` 8. Report the created paths, the plugins that ship the extension, and any missing user-provided assets or TODOs.
原文:Existing extension migration
When migrating an existing extension: 1. Move its existing manifest to `plugins/<extension-id>/plugin.json`. 2. Update the manifest to the namespace-based `extensions.com.github.copilot.logo` shape. 3. Remove the old manifest from `extensions/<extension-id>`. 4. Register the extension in any parent plugin's `extensions.com.github.awesome-copilot.extensions`. 5. Run the validation and build commands above.
文件 SHA256:8efc23571f738d4e9d9d5b6fb25d664ff438c7db2c3b3792399d04a9e66991b3
仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。
Create or register a canvas extension in the awesome-copilot repository. Use when asked to scaffold a new canvas extension, create its plugin.json, add a reusable extension to one or more plugins, or migrate extension metadata. Extensions are reusable source under extensions/; shippable plugin manifests belong under plugins/.
历史收录数据
| 来源仓库 | github/awesome-copilot |
|---|---|
| Skill源路径 | .github/skills/create-canvas-extension/SKILL.md |
安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。
