用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/feststelltaste/asm-glossary --skill add-term命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | add-term |
| description | Add a new glossary term through an interactive definition workflow |
| argument-hint | <term-name> |
| allowed-tools | Read Write Edit Bash Glob Grep |
Interactive workflow for adding new definitions to the Agentic Software Modernization Glossary.
Check existence: Verify the term $ARGUMENTS does not already exist in docs/ (search by filename and content). If it exists, tell the user and stop.
Propose three definitions: Offer three different angles on the term in the context of agentic software modernization. Label them Option A, B, C. Keep each to 2-4 sentences.
Iterate: The user picks one option (or a mix). Revise the text based on their feedback. Repeat until the user confirms.
Determine category: Decide which category fits best. Confirm with the user. The authoritative list of valid categories and their German translations lives in scripts/update_overview.py in the CATEGORY_LABEL_DE dict — read it from there, do not hardcode the list elsewhere.
Create files (only after user confirms the final text). Term files live flat in docs/ and docs/de/. English filenames use a slug derived from the English term; German filenames use a slug derived from the German term (e.g., guardrails.md ↔ leitplanken.md).
docs/<en-slug>.md (English) with format:
---
title: <Term Name>
category: <English Category>
translation_de: <de-slug>
translation_de_title: <German Term Name>
---
# <Term Name>
> <definition text as a single blockquote>
**See also:** [Related](related.md) · [Terms](terms.md)
{ .see-also }
docs/de/<de-slug>.md (German) with format:
---
title: <German Term Name>
category: <German Category>
translation_en: <en-slug>
translation_en_title: <Term Name>
---
# <German Term Name>
> <German translation of definition as a single blockquote>
**Siehe auch:** [Verwandter](verwandter.md) · [Begriff](begriff.md)
{ .see-also }
guardrails.md in English files, leitplanken.md in German files).Generate image variants: Run python scripts/generate_images.py --term <en-slug> --variations 3 to generate three illustration variants.
GEMINI_API_KEY is set in the environment. If it is not set, inform the user, skip this step, and note they can run the script manually later.raw-assets/images/<en-slug>-1.png, -2.png, -3.png and auto-places variation 1 as the active image (resized, compressed, injected into both EN and DE term files).add-image skill with raw-assets/images/<en-slug>-<chosen>.png to replace the placed image with their preferred variant.Add back-references: For each term listed in the new term's "See also", check whether the new term deserves a reciprocal link in that term's "See also" section. If yes, add it to both the English and German versions of that term file. Only add a back-reference when the relationship is genuinely bidirectional and the "See also" list does not already contain it.
Update metadata:
python scripts/update_overview.pyCONCEPT_MAP.md under the right categoryCommit and push:
Add glossary term: <Term Name>Suggest next terms: After finishing, suggest 3-5 terms that are not yet in the glossary but would complement the one just added. Check existing files before suggesting.
CLAUDE.md (no dashes of any kind, rephrase instead)