一键导入
references-formatter
Use when formatting citations in blog posts or documents - converts inline links to reference-style links with a References section at the end
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when formatting citations in blog posts or documents - converts inline links to reference-style links with a References section at the end
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | references-formatter |
| description | Use when formatting citations in blog posts or documents - converts inline links to reference-style links with a References section at the end |
This skill guides you through converting inline citations and links into reference-style link format, commonly used in markdown documents and professional blog posts.
Invoke this skill when:
[source](url) or (from [link](url)) that should be numbered[1] or [1,2]Follow these steps systematically:
Scan the document for citation patterns:
([source](url))(from [link](url))as mentioned in [article](url)Do NOT convert:
Replace citation links with numbered reference syntax using double brackets:
[[N]] for each citation (NOT [N] or [^N])[[1]][[2]][[1]][[2]] (adjacent double brackets)[docs] or [anthropic-sdk] as-isSpacing and Punctuation Rules:
word [[1]] not word[[1]]fact [[1]]. not fact. [[1]]fact [[1]][[2]], with space before first citationThis is true [[3]], and so is that.Examples:
Before: "According to research ([source](https://example.com))"
After: "According to research [[1]]"
Before: "This is documented in [the official guide](https://docs.example.com)"
After: "This is documented in the official guide [[2]]"
Before: "Multiple studies show ([source1](url1), [source2](url2))"
After: "Multiple studies show [[1]][[2]]"
Before: "New fact from [source3](url3), and another from [source4](url4)."
After: "New fact [[3]], and another fact [[4]]."
Before: "Check out the [documentation hub][docs]"
After: "Check out the [documentation hub][docs]" (preserve explicit inline references)
At the end of the document, create or update a ## References section using reference-style link definitions AND a numbered list:
## References
[1]: https://example.com/article "Descriptive Title - Author/Source"
[2]: https://example.com/article2 "Another Article Title - Publication"
[3]: https://example.com/article3 "Third Reference - Author"
1. [Descriptive Title - Author/Source](https://example.com/article)
2. [Another Article Title - Publication](https://example.com/article2)
3. [Third Reference - Author](https://example.com/article3)
Reference Format Guidelines:
[N]: URL "Title - Source"N. [Title - Source](URL)[[N]] to work as clickable links in the textIf there are additional links that are supplementary but not directly cited:
## Further Reading section## Further Reading
- [Topic Guide - Source Name](https://example.com)
- [Related Article - Publication](https://example.com/related)
Before starting, clarify:
Pattern 1: Parenthetical source
Text here ([source](url))
→ Text here [^1]
Pattern 2: Inline attribution
According to [research](url), we know that...
→ According to research [^1], we know that...
Pattern 3: Multiple sources
Studies show ([source1](url1), [source2](url2))
→ Studies show [^1][^2]
Pattern 4: Documentation reference
(from the [official docs](url))
→ (from the official docs [^1])
Before completing: