跳到正文
cccskills
免费在 GitHub 公开中文介绍

multica-icons

按 Multica 项目的绘制规则创建或检查界面图标,先查找已有符号,再绘制新图形、预览不同尺寸的效果,并重新生成导出文件。

原文查看原文说明

Use when a Multica web/desktop UI change needs an icon that `@multica/ui/icons` does not export yet, or when redrawing or reviewing a Multica glyph. Covers the grid, corner and stroke construction, the body/detail markers, and the generate-and-preview loop. Never reach for an icon library, inline SVG, or emoji instead.

multica-ai/multica星标 54,253(GitHub 54,253 + cccskills 0)

实测评分 未实测

查看安装方法

适用场景

  • 为 Multica 界面添加图标
  • 重绘已有图形
  • 检查小尺寸下的清晰度
  • 重新生成导出图标文件

中文介绍

功能

此技能指导你为 Multica 网页和桌面界面添加尚不存在的符号,或检查现有图形。开始前先搜索现有图标及其别名;如果已有含义相同的图标,就添加别名,避免绘制近似重复项。绘制新图形时使用共享辅助函数,并区分外部轮廓和内部线条。图标需遵循项目的 24×24 网格、线条粗细、转角形状和细节数量规则。随后在多种尺寸下预览,检查清晰度以及与现有图标的区别,再重新生成导出文件。

适用场景

当 Multica 界面需要表示操作或状态的图标,或要重新绘制现有符号时,可以使用此技能。它也适合检查图标缩小时是否容易辨认,以及选中状态下的显示效果,并按照项目既定风格进行新增和审查。

使用示例

  • “检查这个界面是否已有合适的图标。”
  • “按照 Multica 的规则绘制一个新符号。”
  • “确认这个图标在较小尺寸下是否清晰。”

注意事项

图标需使用项目内部的绘制方式,不使用外部图标库、内联 SVG 或表情符号。不要手动编辑生成文件;请用指定的 pnpm 命令预览并重新生成。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
A良好禁止手动修改生成文件,并说明了重新生成命令。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足需要 `pnpm` 和用于预览的浏览器,但未说明安装步骤。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月30日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Drawing Multica icons

Every icon in the product is a Multica drawing exported from @multica/ui/icons. No icon library is installed, and lint rejects imports from one. When you need a new symbol, draw it.

Before drawing

  1. Search packages/ui/icons/index.ts for the name and for synonyms. If an existing glyph already means the same thing, add an alias to ALIASES in drawings.mjs instead of drawing a near-duplicate.
  2. Pick a name that describes the symbol, not the feature (Webhook, not IntegrationsNav). Follow the existing PascalCase names.

Where things live

  • packages/ui/icons/drawings/construction.mjs holds the shared geometry helpers.
  • packages/ui/icons/drawings/drawings.mjs holds every drawing as inner SVG markup, plus ALIASES.
  • packages/ui/icons/glyphs.ts and index.ts are generated. Never edit them by hand; icons.test.ts fails when they drift.

Construction

  • Grid. 24×24 viewBox, with a 2px round-capped, round-joined stroke from the renderer. Keep geometry inside 2.5–21.5. Most silhouettes span 2.75–21.25. An object glyph whose longest side is under about 17 renders visibly smaller than its neighbours; only chevrons, X and similar marks stay small. Keep parallel strokes at least 3 apart so a gap survives at 14px. A stroke that crosses a shape, such as a pencil's cap line, ends exactly on the outline's centreline; the round cap pokes out if it runs past. When you scale or move a body, recompute these endpoints.

  • Corners. Use shape([[x, y, k], ...]) and rect(x, y, w, h, k), which build continuous-curvature (squircle) corners. Typical k values:

    • 5–7 for large containers such as cards, windows and chat bubbles.
    • 2.5–4 for small parts.
    • 1–1.5 for tips and points.
    • 0 for a hard corner, which is rare.

    Do not hand-write a r r arc corners for rectangles.

  • Anything that points. Chevrons, arrowheads, < > brackets, prompts and direction triangles (play, skip) turn at a sharp vertex: a straight polyline such as M9 6L15 12 9 18, or head(x, y, dir, depth, half) for an arrowhead with its tip at (x, y). Never round the tip with a curve or a k corner; the round stroke join is the only softening. The bend in a corner or U-turn arrow's shaft may stay rounded.

  • Checks. Use tick(a, v, b): two straight strokes meeting at a tight vertex. Never bow a stroke through a curve where it should turn a corner; a check or any other angular mark drawn that way reads as handwriting.

  • Dots. dot(x, y, r) with r 1.1–1.5. Use dots only where they carry meaning: info, alert, eyes, status lights.

  • Polygons and stars. polygon(cx, cy, radii, count, k).

  • Reuse parts. file(), folderBody, bubble, ring, user(), link, cw and ccw already exist. A variant (…Off, …Plus, …X) is the base drawing plus one stroke. A slash runs m3 3 18 18.

Body and details

  • Mark the main closed silhouette with class="b" (body). The active sidebar item fills it at 20% opacity.
    • Any icon that can appear in navigation must have a body. A test enforces this for route icons.
    • Only mark closed shapes. An open arc with a fill closes into a stray chord.
  • Mark strokes that sit inside the body with class="k" (detail).
  • Detail budget. At most two inner details. Every detail must carry meaning: a check, a symbol, a divider that defines the object. Drop decorative highlights, extra lines and texture. Icons render at 14px in dense rows, where a third detail turns into noise.

Loop

  1. Add the drawing to DRAWINGS in drawings.mjs. Keep sections grouped by subject.
  2. Run pnpm --filter @multica/ui icons --preview NewName Neighbour1 Neighbour2. Open the printed HTML file in a browser and check four things:
    • At 48px: does the geometry sit on the grid, with even optical weight next to its neighbours?
    • At 18px and 14px: is it still legible, or do inner details merge?
    • In the tinted (active) tile: does only the silhouette fill?
    • Against similar glyphs: can it be told apart at a glance?
  3. Run pnpm --filter @multica/ui icons to regenerate glyphs.ts and index.ts.
  4. Import the new name from @multica/ui/icons. Then run pnpm --filter @multica/ui test and the typecheck for the package that uses it.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

incident-response

免费有简介

按顺序确认生产事故的影响范围、实际发生时间和相关部署,记录调查过程,并为回滚申请整理错误率变化等依据。帮助团队保留处理进展和判断理由,区分服务恢复与事故原因查明。

  • 整理生产事故影响和发生时间
  • 核对事故与部署的时间线
  • 准备附有依据的回滚申请
multica-ai/multica5.4万2026年10月29日 更新

multica-onboarding

免费有简介

通过首次对话帮助新成员把目标整理成可执行任务,经确认后创建并启动任务,并说明负责人、当前状态以及查看进度和结果的位置。

  • 在Multica中首次委派工作
  • 把当前目标整理成项目看板
  • 委托一项简短调查
multica-ai/multica5.4万2026年10月29日 更新

multica-platform

免费有简介

依据Multica平台规则操作任务、代理、项目和自动运行,并指引相关参考资料。它说明变更前应检查的内容,以及更新工作区记录或启动任务可能带来的影响。

  • 确认任务与PR的关联规则
  • 设置代理或团队的任务分配
  • 排查定期运行未启动的原因
multica-ai/multica5.4万2026年10月29日 更新

用于查找Multica课题管理规则的新位置,并了解已废止的`metadata`说明由什么替代。它将旧任务指引导向当前技能,并说明不同类型的课题信息应记录在哪里。

  • 从旧任务指引查找现行资料
  • 确认已废止metadata的替代方式
  • 查找PR与课题的关联规则
multica-ai/multica5.4万2026年10月29日 更新

web-design-guidelines

免费有简介

依据最新的Web Interface Guidelines审查网页界面代码,检查设计、易用性和无障碍问题。可指定文件或匹配模式,审查结果附有文件名和行号。

  • 审查网页界面代码
  • 按照准则检查无障碍问题
  • 审查设计和易用性
multica-ai/multica5.4万2026年10月29日 更新

查看 multica-ai 的全部技能

报告此技能的问题