with one click
update-work
Interactively edit an existing Work entry in data/works/works.ts.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Interactively edit an existing Work entry in data/works/works.ts.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | update-work |
| description | Interactively edit an existing Work entry in data/works/works.ts. |
| user-triggered | true |
Edit an existing entry in data/works/works.ts.
Read data/works/works.ts, data/works/tags.ts, data/shared/linkIcons.ts.
Output a numbered list of all works (name + year). Output: "Which work to edit? Enter a number." Wait for reply. If the number is out of range, warn and ask again.
Display the current values of the selected work, then output:
Fields:
1. name
2. description
3. tags
4. year
5. links
Output: "Which field to edit? Enter a number." Wait for reply.
Run the corresponding input step from the create-work skill (Step 2–6) for the chosen field, pre-filled with the current value shown for reference.
For tags: show existing selections and allow adding/removing. Use the same create-tag similarity check for any new tags.
After editing, ask (AskUserQuestion):
"Edit another field?"["Yes", "No"]If Yes, return to Step 3.
Display the updated work entry as a formatted TypeScript object, then ask (AskUserQuestion):
["Yes, save it", "Edit more", "Cancel"]If Cancel, stop without writing. If "Edit more", return to Step 3.
If new tags were collected, append them to data/works/tags.ts and sort alphabetically.
Read data/works/works.ts again, replace the entry in-place (keep same array position), and write. Keep WORKS sorted by year descending.
Run bun run typecheck.
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.