link-prs

GitHub

规范 GitHub PR 和 Issue 引用的链接格式,确保文本中的引用均为可点击链接,提升信息可读性与可用性。

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

Trigger Scenarios

撰写或回复包含 PR/Issue 编号的消息 生成包含代码仓库引用的报告或文档

Install

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

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:39

Same Skill Collection

.claude/skills/link-prs/SKILL.md
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/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:39

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-22 05:36
浙ICP备14020137号-1