بنقرة واحدة
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.