river-review: Instructions file for GitHub Copilot

.github/copilot-instructions.md

river-review copilot-instructions.md is an instructions file for GitHub Copilot from s977043/river-review. It costs 509 tokens per session, scanned A, original, MIT.

Copilot-specific instructions for the River Review repository. They require reading AGENTS.md first and explain how repository rules, prompts, agents, skills, and documentation are organized.

In plain words
What is it for?
Use them when Copilot works on River Review. They guide task setup, prompt and agent selection, responsibility boundaries, and where to place new rules or workflow notes.
Why use it?
They help Copilot apply shared repository policies consistently and keep instructions in the correct files. They also define preparation, testing, linting, and review expectations.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions AGENTS.md.

This is s977043/river-review's own configuration. It tells GitHub Copilot how to work on river-review itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything river-review configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Single source:** 必ずリポジトリルートの [AGENTS.md](../AGENTS.md) を先に読み、そこで定義された手順・完了条件に従ってください。本ファイルは Copilot 向けの最小差分です。.

Reuse

Borrowing it

Nothing to install: this file belongs to s977043/river-review. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/s977043/river-review/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for river-review copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/s977043/river-review/copilot-instructions/github.svg)](https://agentmods.dev/instructions/s977043/river-review/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/s977043/river-review/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/s977043/river-review/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for river-review copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/s977043/river-review/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/s977043/river-review/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 509 This file is loaded in full into every session.
When invoked 509 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00509 $0.00509
Opus 5.5 $0.00204 $0.00204
Sonnet 5.5 $0.00102 $0.00102
Haiku 4.5 $0.00051 $0.00051

Measured 3mo ago against content hash 5db236b5b414, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

river-review copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 33 lines

What it actually says

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/
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 33 lines · 509 tokens per session scan A 5db236b5b414

Subscribe to this mod's changes

river-review copilot-instructions.md is an instructions file published in the GitHub repository s977043/river-review (8 stars, last pushed yesterday), licensed MIT. It adds 509 tokens to every session, about $0.0020 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

river-review copilot-instructions.md compared with instructions from other repositories

river-review copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
river-review copilot-instructions.mds977043/river-reviewInstructions file8yesterdayMITA509GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot