AGENT SKILL

add-icon-tags

Add searchable tags to an icon in the @grafana/icons tags.json file.

License 许可
Apache-2.0
所属仓库
torkelo/scenes2
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
add-icon-tags
metadata
{ "source": ".hatch/_skills/add-icon-tags/SKILL.md", "generated": "hatch@v1.2.0" }
description
Add searchable tags to an icon in the @grafana/icons tags.json file.

03 SKILL.md 正文

Add icon tags

Run the tag-icon script in the icons package, passing through all arguments:

pnpm --filter @grafana/icons tag-icon $ARGUMENTS

The script accepts either the icon's PascalCase component name (e.g. BarAlignmentCenter) or its kebab-case filename (e.g. bar-alignment-center.svg), normalizes to kebab-case, and merges the new tags into packages/icons/src/icons/tags.json. It deduplicates existing tags, then alphabetizes and prettier-formats the file on write.

04 同仓库更多 Skills