一键导入
delete-link-label
Remove a link label and its icon from data/shared/linkIcons.ts and all WorkLink arrays in works.ts.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Remove a link label and its icon from data/shared/linkIcons.ts and all WorkLink arrays 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 | delete-link-label |
| description | Remove a link label and its icon from data/shared/linkIcons.ts and all WorkLink arrays in works.ts. |
| user-triggered | true |
Remove an entry from LINK_LABELS and LINK_ICONS in data/shared/linkIcons.ts.
Read data/shared/linkIcons.ts and data/works/works.ts.
Output a numbered list of all labels with usage counts (how many works link with each). Output: "Which label to delete? Enter a number." Wait for reply.
If any works use this label, list them as a warning:
⚠ The following works have links with this label and those links will be removed: …
Ask (AskUserQuestion):
"Delete label \"<label>\"?"["Yes, delete it", "Cancel"]If Cancel, stop.
data/shared/linkIcons.ts: remove the label from LINK_LABELS, its entry from LINK_ICONS, and the icon from its import line (remove the entire import if it becomes empty).data/works/works.ts: remove every WorkLink whose label matches the deleted label.Run bun run typecheck.