agentleFS
s977043s977043/river-review/.github/copilot-instructions.md

river-review

Copilot instructions7 starsChanged 5 months agoMITView on GitHub

Single source: 必ずリポジトリルートの AGENTS.md を先に読み、そこで定義された手順・完了条件に従ってください。本ファイルは Copilot 向けの最小差分です。

The file

Files
copilot-instructions.md

Copilot instructions (river-review)

Single source: 必ずリポジトリルートの AGENTS.md を先に読み、そこで定義された手順・完了条件に従ってください。本ファイルは Copilot 向けの最小差分です。

必須チェック(着手前に確認)

  • 目的と受入条件を読み、短い計画をコメントで共有してから作業開始。
  • タスク単位でブランチを作成し、PR を用意する。
  • PR 前に npm test と npm run lint を実行。レビュー依頼を PR 本文に記載。
  • レビューコメントは日本語で記載する。

参照ポイント

  • 指示ファイル: .github/instructions/*.instructions.md
  • カスタムエージェント: @river-review (.github/agents/ 内)
  • プロンプト: /skill, /review, /pr (.github/prompts/ 内)
  • Docs: 日本語を正とし、.en.md は翻訳版とします。

責務分離ルール(肥大化防止)

  • copilot-instructions.md: 全体で不変に近いルールのみを記載。
  • .github/instructions/*.instructions.md: パス/言語ごとの実装規約を記載。
  • .github/prompts/*.prompt.md: 手動実行する定型タスクを記載。
  • 変更頻度が高い手順は docs/runbook/ に集約し、ここへ長文で書かない。

レイヤー別の使い分け

Layer用途例
prompt (.github/prompts/)手動実行の単機能タスク/select_review, /pr
agent (.github/agents/)役割ベースの委譲、ツール制限付きriver-review, security
skill (skills/)再利用可能なレビューロジック、フェーズ対応upstream/, midstream/, downstream/

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.