AGENT SKILL

architecture-canvas

Draw an architecture, module, or system diagram as a Canvas HTML artifact with inline SVG. Use when the user asks for 架构图, 模块图, architecture diagram, or system map — not for live page inspection or a design mockup that should become product code.

License 许可
Apache-2.0
最近更新
2026-11-13
Stars
★ 1
Forks
0

01 前言 Front Matter

name
architecture-canvas
description
Draw an architecture, module, or system diagram as a Canvas HTML artifact with inline SVG. Use when the user asks for 架构图, 模块图, architecture diagram, or system map — not for live page inspection or a design mockup that should become product code.

02 资源文件 1

03 SKILL.md 正文

Architecture canvas

Produce a versioned diagram on the Canvas tab. Do not paste a screenshot into chat as the deliverable.

When to use

Use this Skill for repository or system structure the user wants to keep. Coding mode still uses this path for architecture review; do not treat a design canvas plugin as the report surface. If the user asked to implement UI in the repo, write code instead.

Workflow

  1. Inspect the actual modules, packages, and dependency direction in the workspace. Do not invent boxes you have not verified.
  2. Call artifact create with kind document or analysis and contentType text/html.
  3. The HTML must be self-contained: inline CSS and inline SVG. No remote scripts, no Mermaid CDN, no host APIs.
  4. Label boxes with real package or directory names. Show the dependency arrow from apps toward libraries, matching this repository's layering when that is the subject.
  5. Chat should include a one-sentence finding plus the Canvas open path. Updates go through artifact update.

Authoring rules

  • Prefer a readable SVG: boxes, arrows, and a short caption. A Markdown bullet list is not an architecture diagram.
  • If you cannot see enough of the tree to draw honestly, ask. Do not create an empty figure.
  • Browser tab is for live http(s) pages only.

04 同仓库更多 Skills

hxquan-q
hxquan-q/open-forge

review-canvas

Present a multi-file code review as a Canvas diff artifact. Use when the user asks for a review, 代码评审, 变更审查, or a cross-file summary of changes — not for a single edit (the chat diff card already shows it) or a prose report (report-canvas).

★ 1
hxquan-q
hxquan-q/open-forge

report-canvas

Produce a standalone report, audit board, or long-form analysis as a Canvas artifact. Use when the user asks for a report, 报告, 审计看板, or a deliverable that should live beside chat — not when they only want a short chat answer or to inspect a live web page.

★ 1
hxquan-q
hxquan-q/open-forge

publish-ability

Publish a skill, scene, MCP server, plugin, or bundle to the Vetta ability marketplace. Use when the user asks to upload/publish/submit an ability, put a plugin on the marketplace, share a skill with other users, or migrate an existing package into Vetta.

★ 1
hxquan-q
hxquan-q/open-forge

install-ability

在本机 Vetta 中安装能力——插件(plugin)、Skill/场景(scene)与 MCP 服务器。用户说「装一个插件 / install plugin / 从能力市场安装 / 加一个 MCP server / 配置 MCP / 装个 skill」,或插件装完没生效、需要 reload、pending 版本没应用时使用。不用于安装 npm 依赖、IDE 插件、浏览器扩展,也不用于开发插件(那是 plugin-workbench)或创作 Skill(那是 create-skill)。

★ 1
hxquan-q
hxquan-q/open-forge

database-analysis

Answer business questions from connected databases with read-only queries, then analyze metrics, trends, rankings, breakdowns, and period comparisons. Use for 问数、查数、数据库分析、销量/收入/用户指标、同比环比 or follow-up data questions. Not for application database migrations or modifying records.

★ 1
hxquan-q
hxquan-q/open-forge

create-skill

Create or update Vetta-compatible Agent Skills. Use when the user asks to create a skill, add a SKILL.md workflow, register a skill in skills-manifest.json, package a skill in a Vetta plugin, or add a built-in Vetta skill preset.

★ 1