AIアシスタントがCarbonのコードベースを扱う際に、専用ツールでファイルを閲覧・検索・編集し、一時ファイルを管理するためのルールを示します。
- Carbonのファイルを規則に沿って検索したいとき
- 専用ツールを使ったファイル編集を確認したいとき
- 一時ファイルの置き場所と削除ルールを確認したいとき
コマンドラインからGitHub issueの本文やコメントを読み取り専用で確認し、URLや番号から対象リポジトリを指定する手順を案内します。
Instructions for safely viewing and accessing GitHub issues by way of command line.
実行スコア 未検証
インストール方法を見るGitHub issueをコマンドラインのghで閲覧する手順を確認できます。番号で指定したissueの本文を見る方法に加え、--commentsを付けてコメントを含む全体の文脈を取得する方法を扱います。別のリポジトリにあるissueは-Rまたは--repoで指定し、URLで共有された場合は所有者、リポジトリ名、issue番号を読み取って対象を特定します。大量のコメントを扱う場合に、JSON出力とjqで本文を取り出す例もあります。
issueの調査や内容確認を行うエージェントに向いています。ブラウザーではなくコマンドラインから本文やコメントを読みたい場合、また別リポジトリのissueを参照したい場合にも使えます。
ghコマンドを使用します。issueの作成、編集、コメント、クローズ、削除など状態を変更する操作は禁止されています。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。
点数には入れていません。 2026年10月26日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill provides instructions for AI assistants on how to access and view
GitHub issues. Agents should strongly prefer using the command line gh tool to
access and view the contents of issues rather than viewing their contents by way
of a web browser.
[!IMPORTANT] AI assistants MUST NOT modify any GitHub issue state. Only use read-only access commands like
vieworlist. Do NOT comment, edit, create, close, or delete issues.
Agents must use this skill to access issues regardless of how they are mentioned (for example, by URL or by issue number).
To view an issue in the current default repository (expected to be Carbon):
gh issue view <issue_number>
To ensure the view includes the entire context of the issue, always include the
--comments flag to dump all comments:
gh issue view <issue_number> --comments
[!TIP] If the issue is extremely large and comments are truncated, or you need to process comments programmatically, use the JSON output with
jq:gh issue view <issue_number> --json comments --jq '.comments[].body'
To view an issue in another repository (for example, LLVM), use the -R or
--repo flag to specify the repository:
gh issue view <issue_number> -R <owner>/<repo> --comments
Examples:
LLVM Issue:
gh issue view 5678 -R llvm/llvm-project --comments
Carbon Issue (Explicit):
gh issue view 1234 -R carbon-language/carbon-lang --comments
If an issue is mentioned via URL, parse the URL to extract the repository owner, repository name, and issue number.
https://github.com/<owner>/<repo>/issues/<number>github.com<owner><repo><number>Run the command specifying the repository:
gh issue view <number> -R <owner>/<repo> --comments
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
AIアシスタントがCarbonのコードベースを扱う際に、専用ツールでファイルを閲覧・検索・編集し、一時ファイルを管理するためのルールを示します。
Bazeliskを使ったCarbonプロジェクトのビルド、テスト、実行、デバッグの基本手順を確認し、対象を絞った検証やASanの利用方法も把握できます。
Carbonコンパイラに組み込み関数を追加する際の登録、型シグネチャ検証、定数評価、LLVMコード生成、テスト方法を案内します。
Carbonツールチェーンのコードを書く際に、言語ごとの整形方法やコメント、命名、ドキュメント、コミットメッセージの基準を確認できます。
Carbonコンパイラのエラーや警告を定義し、書式やソース位置のラベルを整え、テストで網羅性を確かめる方法を案内します。
`gh`でGitHubのIssue、プルリクエスト、リポジトリを読み取り専用で検索・確認し、必要な情報を絞り込む方法を案内します。