一键导入
update-tag
Rename an existing tag in data/works/tags.ts and update all references in works.ts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rename an existing tag in data/works/tags.ts and update all references in works.ts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactively add a new HistoryEntry to data/history/history.ts. Asks questions in HistoryEntry type property order (name → description → year → approximate → feature → links), validates link URLs, and keeps HISTORIES sorted by year ascending.
Remove an existing HistoryEntry from data/history/history.ts.
Display existing HistoryEntry entries from data/history/history.ts. Supports filtering by year.
Interactively edit an existing HistoryEntry in data/history/history.ts.
Add a new labelled external-link type with a react-icons icon to data/shared/linkIcons.ts. Updates LINK_LABELS, LINK_ICONS, and the import statements.
Interactively add a new Work entry to data/works/works.ts. Asks questions in Work type property order (name → description → tags → year → links), supports new tag creation with similarity check, validates link URLs, and keeps WORKS sorted by year descending.
| name | update-tag |
| description | Rename an existing tag in data/works/tags.ts and update all references in works.ts. |
| user-triggered | true |
Rename a tag in data/works/tags.ts and update every Work.tags array that references it.
Read data/works/tags.ts and data/works/works.ts.
Output a numbered list of all tags. Output: "Which tag to rename? Enter a number." Wait for reply.
Output: "New name for ``?" and wait for reply.
Similarity check: compare the new name against all existing tags (excluding the selected one). If similar, warn and ask (AskUserQuestion):
["Use existing: <similar tag>", "Use new name anyway"]Ask (AskUserQuestion):
"Rename \"<old>\" → \"<new>\"? Works using this tag will also be updated."["Yes, rename it", "Cancel"]If Cancel, stop.
data/works/tags.ts: replace the old tag string with the new one, then sort alphabetically.data/works/works.ts: replace every occurrence of the old tag name in Work.tags arrays.Run bun run typecheck.