关于
This skill runs a visualization pipeline that renders icons from existing glyphs for skills, agents, and teams. It handles palette generation, data building, manifest creation, and icon rendering as a complete workflow. Developers should always execute it via `bash viz/build.sh` and never call Rscript directly.
快速安装
Claude Code
推荐npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/render-icon-pipeline在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
渲圖標之線
行 viz 之全線以自現符渲圖標。涵色板生、數建、清單立、技/代/團之圖標渲。
正入點:自項目根 bash viz/build.sh [flags],或自 viz/ bash build.sh [flags]。此文司平台察(WSL、Docker、原)、R 二進制之擇、步序。永勿於建文直呼 Rscript——其路獨為 MCP 服之設。
用時
- 立或改符函後乃用
- 增新技、代、團於庫後乃用
- 圖標需為新或更色板再渲乃用
- 行全線之重建(如基設變後)乃用
- 初設 viz 之境乃用
入
- 可選:實類——
skill、agent、team、或all(默:all) - 可選:色板——具體色板名或
all(默:all) - 可選:域濾——技圖標之具體域(如
git、design) - 可選:渲模——
full、incremental、或dry-run(默:incremental)
法
第一步:驗先決
確境備為渲。
- 確
viz/build.sh存:ls -la viz/build.sh - 驗 Node.js 可得:
node --version - 察
viz/config.yml存(平台特之 R 路圖):ls viz/config.yml
build.sh 自動司 R 二進制之解——無需手驗 R 路。於 WSL 用 /usr/local/bin/Rscript(WSL 原 R),於 Docker 用容器之 R,於原 Linux/macOS 用 PATH 中之 Rscript。
得:build.sh、Node.js、config.yml 皆存。
敗則:若 config.yml 缺,線退用系默。若 Node.js 缺,由 nvm 裝之。
第二步:行其線
build.sh 依序行五步:
- 生色板色(R)→
palette-colors.json+colors-generated.js - 建數(Node)→
skills.json - 建清單(Node)→
icon-manifest.json、agent-icon-manifest.json、team-icon-manifest.json - 渲圖標(R)→
icons/與icons-hd/之 WebP 文 - 生終端符(Node)→
cli/lib/glyph-data.json
全線(諸類、諸色板、標 + HD):
bash viz/build.sh
增量(略已存於盤之圖標):
bash viz/build.sh --skip-existing
單域(獨技):
bash viz/build.sh --only design
單實類:
bash viz/build.sh --type skill
bash viz/build.sh --type agent
bash viz/build.sh --type team
乾運(預覽而不渲):
bash viz/build.sh --dry-run
獨標尺(略 HD):
bash viz/build.sh --no-hd
build.sh 後諸旗皆過至 build-all-icons.R。
得:圖標渲至 viz/public/icons/<palette>/ 與 viz/public/icons-hd/<palette>/。
敗則:
- NTFS 上 renv 掛起:viz
.Rprofile繞renv/activate.R而直設.libPaths()。確自viz/行(build.sh 由cd "$(dirname "$0")"自動之) - 缺 R 包:自
build.sh所選 R 境行Rscript -e "install.packages(c('ggplot2', 'ggforce', 'ggfx', 'ragg', 'magick', 'future', 'furrr', 'digest'))" - 無符繫:實需符函——渲前用
create-glyph技
第三步:驗其出
確渲順畢。
- 察文數合期:
find viz/public/icons/cyberpunk -name "*.webp" | wc -l find viz/public/icons-hd/cyberpunk -name "*.webp" | wc -l - 察文大宜(每圖 2-80 KB)
- 行
audit-icon-pipeline技以行詳察
得:文數合清單入數。文大於宜範。
敗則:若數不合,某符渲時或誤。察建日誌之 [ERROR] 行。
CLI 旗參
諸旗皆由 build.sh 過至 build-all-icons.R:
| 旗 | 默 | 述 |
|---|---|---|
--type <types> | all | 逗分:skill、agent、team |
--palette <name> | all | 單色板或 all(9 色板) |
--only <filter> | 無 | 域(技)或實 ID(代/團) |
--skip-existing | 關 | 略已存 WebP 之圖標 |
--dry-run | 關 | 列將生者 |
--size <n> | 512 | 出維(像素) |
--glow-sigma <n> | 4 | 光糊半徑 |
--workers <n> | 自 | 並工(detectCores()-1) |
--no-cache | 關 | 忽內雜緩 |
--hd | 開 | 啟 HD 變(1024px) |
--no-hd | 關 | 略 HD 變 |
--strict | 關 | 首子文敗時退 |
build.sh 內所行
獨為參——勿手行此諸步:
cd viz/
# 1. Platform detection: sets R_CONFIG_ACTIVE (wsl, docker, or unset)
# 2. R binary selection: WSL → /usr/local/bin/Rscript, Docker → same, native → Rscript
# 3. $RSCRIPT generate-palette-colors.R
# 4. node build-data.js
# 5. node build-icon-manifest.js --type all
# 6. $RSCRIPT build-all-icons.R "$@" (flags passed through)
# 7. node build-terminal-glyphs.js
Docker 之替
線亦可於 Docker 行:
cd viz
docker compose up --build
此於隔之 Linux 境行全線並於 8080 口供其果。
驗
- 行
bash viz/build.sh(非裸Rscript) - 色板色已生(JSON + JS)
- 數文自庫建
- 清單自數生
- 圖標已為目類與色板渲
- 文數合期
- 文大於宜範(2-80 KB)
陷
- 直呼 Rscript:永勿手行
Rscript build-icons.R或Rscript generate-palette-colors.R。必用bash build.sh [flags]。直 Rscript 呼繞平台察可用誤之 R 二進制(用~/bin/Rscript之 Windows R 而非/usr/local/bin/Rscript之 WSL 原 R)。注:CLAUDE.md 與諸指南中 Windows R 之路獨為 MCP 服之設,非為建文 - 誤工作所:
build.sh自動 CD 至己所(cd "$(dirname "$0")"),故可自任處呼之:自項目根bash viz/build.sh行正 - 陳清單:
build.sh依序行 1-5 步,故清單渲前必再生。若獨需清單而不渲,用node viz/build-data.js && node viz/build-icon-manifest.js(Node 步無需 R) - renv 未啟:
.Rprofile之變通需自viz/行——build.sh司之。用--vanilla旗或自他所行 R 必略之 - Windows 之並:Windows 不持基於 fork 之並——線經
config.yml自選multisession
參
- audit-icon-pipeline — 渲前察缺符與圖標
- create-glyph — 為缺圖標之實立新符函
- enhance-glyph — 再渲前改現符
GitHub 仓库
Frequently asked questions
What is the render-icon-pipeline skill?
render-icon-pipeline is a Claude Skill by pjt222. Skills package instructions and resources that Claude loads on demand, so Claude can perform render-icon-pipeline-related tasks without extra prompting.
How do I install render-icon-pipeline?
Use the install commands on this page: add render-icon-pipeline to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does render-icon-pipeline belong to?
render-icon-pipeline is in the Meta category, tagged design and data.
Is render-icon-pipeline free to use?
Yes. render-icon-pipeline is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
相关推荐技能
Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
