smithery.ai

file-line-reference-format

Enforce colon-based single-line file references (path:line) with no ranges; use whenever providing file paths with line context or normalizing user-supplied references.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 971 B
  • docs SUMMARY.md 202 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

ファイル行参照の統一ルール

使うとき

  • 回答やレビューでファイルパスと行番号を示すとき
  • ユーザ入力の参照表記を正規化するとき

ルール

  1. コロン区切りで単一行のみ: path/to/file.ext:10
  2. 範囲禁止: :10-20 のような書き方はしない
  3. シャープ/アンカー禁止: #L10 ではなく必ず :10
  4. 行番号が不要ならパスだけを書く

例

  • OK: app/models/user.rb:42
  • NG: app/models/user.rb:42-55
  • NG: app/models/user.rb#L42

運用メモ

  • 複数箇所を列挙する場合もすべて単一行指定で並べる
  • 外部ドキュメントにリンクする場合も本文中の表記はこのルールを優先