基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/hyperlink-academy/leaflet --skill spec命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Keep the three custom-domain surfaces in sync — profile domain settings, publication domain settings, and the leaflet share-menu domain picker. Use whenever you change how domains are listed, verified, assigned, unassigned, or deleted in any one of them, since each surface hand-rolls its own row UI over the same data and drifts silently.
Keep every render surface of a block in sync with the editor. Use whenever you create a new block type or change an existing block in components/Blocks/ — styling (margins, padding, font size/weight, line-height, color, alignment) or structure — so the published post and the email newsletter keep matching the editor, and copy/paste keeps working. Unless the user says otherwise, block work isn't done until all surfaces are checked.
Wire a setting in the General tab of publication settings end to end, so the change marks the form dirty, survives the Save button, and actually applies. Use whenever you add a new setting or change an existing one under dashboard/settings — the value passes through several hand-maintained field lists and silently drops out of any one you forget.
| name | spec |
| description | Draft design documents and specs with research-informed questioning |
| disable-model-invocation | true |
Use this skill when the user explicitly requests a spec, design document, or similar planning artifact. Do not auto-trigger for routine tasks.
When starting a spec:
Conduct open-ended questioning until the designer signals completion:
Research-informed questions: Before asking about an area, do just-in-time codebase research. Find relevant files, understand current patterns, identify constraints. Reference specific files and functions in questions when it adds clarity.
Adaptive scope: When the designer marks something as out of scope, update your mental model and don't revisit. However, flag when you believe there are gaps that could cause problems:
src/foo.ts:42 handles Z differently. Should we align or diverge?"Question style:
When the designer indicates readiness, produce the spec document.
Save to: /specs/YYYY-MM-DD-short-name.md
Title and status (draft | approved | implemented)
Goal: What this achieves and why. 1-3 sentences.
Design: The substance of what will be built/changed. For each significant component or concern:
Implementation: Ordered steps that an agent or developer can execute. Each step should:
Add other sections if the problem demands it.
file/path.ts:lineNumber or functionName in backticksUpdate status in the document as it progresses. Specs are point-in-time snapshots—do not update content after implementation begins except to change status.