Vscode file links
Skill navelphotochemistry3605/VRCUdonSkills-for-Codex/skills/vscode-file-links
npx -y skills add navelphotochemistry3605/VRCUdonSkills-for-Codex --skill vscode-file-linksAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
VS Code Codex のローカルチャットで、ファイル参照を常に安定した形式で出したいときに使う。インラインコードの `@` 絶対パス、行番号付き参照、Windows でも `/` 区切りの統一が必要な場合に使う。Udon 設計そのものではなく、チャット運用補助の Skill として使う。
SKILL.md
2.4 KB, as published. Nobody here has run it
VS Code File Links
役割
VS Code Codex チャットで使うファイル参照形式を安定させる。プロジェクトをまたいでも開きやすい @ 付き絶対パス形式へ統一する。
この Skill を使う場面
- チャットでファイル参照を多用する
- プロンプトやレビュー文でファイルリンク形式を統一したい
- VS Code で開ける絶対パス表記にそろえたい
この Skill を使わない場面
- UdonSharp の設計や実装そのもの
- ファイル参照の無い通常会話
Workflow
- 現在のワークスペースルートを実パスで確認する。
- プロジェクト内パスはすべてその実パスへ解決する。
- すべてのファイル参照を、インラインコードの
@付き絶対パスで出力する。 - Windows でも
/区切りを使う。 - 必要なら
#Llineまたは:line[:column]を付ける。 - Webview や Markdown リンクへのフォールバックを避ける。
Required Output Rules
- プロジェクト内ファイルは
`@[resolved-workspace-root]/...`形式で出す。 - ワークスペース外ファイルは
`@C:/...`の実パスで出す。 - ファイル参照は必ず単独のインラインコードにする。
- コードブロック内へファイル参照を入れない。
- ワークスペースルート未解決のままプロジェクト内パスを出さない。
- パスが不明なら推測せず確認する。
Forbidden Formats
https://file+.vscode-resource...file://vscode://- Markdown リンクでの代替
- 相対パス、裸のファイル名、省略パス
- 未解決プレースホルダ
Reusable Prompt Snippet
再利用用ルール文が必要なら references/link-rules.md を使う。
Validation
- すべてのファイル参照がインラインコードになっている
- すべてのプロジェクト内参照が実際の絶対パスになっている
file://、vscode://、Markdown リンクが残っていない