link-prs

GitHub

规范 GitHub PR 和 Issue 引用的格式,强制使用可点击链接而非裸数字,提升文档可读性与跨平台引用准确性。

.claude/skills/link-prs/SKILL.md classroomio/classroomio

Trigger Scenarios

回复中包含 PR 或 Issue 引用 撰写 PR 描述或 Issue 正文 生成状态更新或报告

Install

npx skills add classroomio/classroomio --skill link-prs -g -y
More Options

Non-standard path

npx skills add https://github.com/classroomio/classroomio/tree/main/.claude/skills/link-prs -g -y

Use without installing

npx skills use classroomio/classroomio@link-prs

指定 Agent (Claude Code)

npx skills add classroomio/classroomio --skill link-prs -a claude-code -g -y

安装 repo 全部 skill

npx skills add classroomio/classroomio --all -g -y

预览 repo 内 skill

npx skills add classroomio/classroomio --list

SKILL.md

Frontmatter
{
    "name": "link-prs",
    "description": "Write every pull request and issue reference as a clickable link rather than a bare number. Use whenever a reply, PR description, issue body, comment or report mentions a PR or issue in classroomio\/classroomio."
}

Never refer to a pull request or issue by number alone. Always make it clickable.

The rule

Write [#1213](https://github.com/classroomio/classroomio/pull/1213), not #1213.

Issues use /issues/ instead of /pull/: [#1199](https://github.com/classroomio/classroomio/issues/1199).

GitHub resolves both paths either way, so a wrong guess still lands on the right page — but prefer the correct one.

Where it applies

Every reference, every time: chat replies, summaries, status updates, tables, and prose. A number mentioned three times in an answer is linked three times.

Markdown reference-style links are fine when the same PR appears repeatedly:

That landed in [#1213] and was reverted by [#1220].

[#1213]: https://github.com/classroomio/classroomio/pull/1213
[#1220]: https://github.com/classroomio/classroomio/pull/1220

Where it does not apply

  • Commit messages and PR bodies on GitHub. GitHub auto-links #1213 there, and a full URL is noise. Keep those bare.
  • Branch names, file paths and shell commands. gh pr view 1213 stays as typed — it is a command, not a reference.
  • Another repository. Link it, but to that repo's URL, not this one's.

Why

A bare number costs the reader a search to act on. It also goes stale the moment the text leaves this conversation: pasted into Slack or a doc, #1213 means nothing without the repo attached.

Version History

  • 6f392c4 Current 2026-10-19 22:38

Same Skill Collection

skills/add-docs-image/SKILL.md
skills/add-landing-template/SKILL.md
skills/animation-vocabulary/SKILL.md
skills/apple-design/SKILL.md
skills/classroomio-design/SKILL.md
skills/create-issue/SKILL.md
skills/create-thumbnail/SKILL.md
skills/emil-design-eng/SKILL.md
skills/find-animation-opportunities/SKILL.md
skills/frontend-design/SKILL.md
skills/humanizer/SKILL.md
skills/i-have-adhd/SKILL.md
skills/improve-animations/SKILL.md
skills/link-prs/SKILL.md
skills/pick-ui-library/SKILL.md
skills/prototype/SKILL.md
skills/public-api-review/SKILL.md
skills/review-animations/SKILL.md
skills/ship-feature/SKILL.md
skills/stage-and-commit/SKILL.md
skills/summarize-activity/SKILL.md
skills/write-changelog/SKILL.md
skills/write-docs/SKILL.md
skills/write-prd/SKILL.md
skills/writing-code/SKILL.md
skills/brand-system/SKILL.md
skills/edit-video/SKILL.md

Metadata

Files
0
Version
6f392c4
Hash
fe078dc5
Indexed
2026-10-19 22:38

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 19:04
浙ICP备14020137号-1