用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill fix-forward-references命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | fix-forward-references |
| description | Fix forward references in text. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Grep","Edit","Write"] |
A forward reference makes a reader hold an unresolved pointer: "as discussed below" promises content they haven't seen yet. This skill finds those, confirms they're real (not an idiom, not already fixed), and fixes them by moving content earlier or, when reordering isn't the right call, rewording the pointer into a working link.
The full detection heuristic, confirmation checklist, and fix menu live in
shared/writing/forward-references.md —
read it before running this skill; the steps below are the short version.
definition-crossrefs.md's formal-crossref-div check, fact-check-prose,
and find-ai-tells.forward-references.md ---
start with the bare directional word (below, later, following,
subsequently, further down, next, afterward); use the narrower
reference-cue-paired pattern as a higher-confidence secondary filter
when the primary grep returns too many idiom hits.shared/writing/definition-crossrefs.md (cited from CLAUDE.md's
"Hyperlink technical terms and results" section, not a standalone skill)
--- the narrower, formal-crossref-div case of this same problem, scoped
to term/theorem definitions. Its check works by comparing div position to
first mention directly, so it catches a bare @def-x crossref with no
directional word at all --- something this skill's grep heuristic misses.
Run both on a diff that touches definitions.detect-informal-definitions --- a concept with no formal
definition div of its own can't be crossref'd, which is exactly what
pushes an author toward a forward-pointing phrase in the first place.
Run it alongside this skill on a diff that introduces new technical
content; fixing its findings often removes a forward reference for free.check-rendered-refs / crr --- checks whether a crossref resolved
at render time; this skill checks whether it points in the right
direction, on the source prose, before render.challenge-ambiguous-terminology.md --- catches unclear terms; this
skill assumes the term is clear and checks whether the reader has already
been given whatever it's pointing at.find-ai-tells / fact-check-prose --- sibling prose-review passes;
run all three together on a diff that touches narrative prose.ard / ardi --- when reviewing a PR/MR, apply this check alongside
the other prose-review rules CLAUDE.md lists.