Next.js App Router Client/Server Boundary SKILL.md skillA
Next.js App Router Client/Server Boundary from s977043/river-review is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add s977043/river-review/Next.js App Router Client/Server Boundary@v0.1.0Pins v0.1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- s977043/river-review
- Path
skills/midstream/nextjs-app-router-boundary/SKILL.md- Versions recorded
- 1
- Latest version
- v0.1.0, committed Jun 29, 2026
- Size
- 2,427 bytes
- Repository stars
- 7
- License
- MIT
App Router の Server Component でクライアント専用APIを使っていないか確認する。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
## Goal / 目的 - App Router の Server Component でクライアント専用APIを誤って使うミスを減らす。 ## Non-goals / 扱わないこと - 画面設計やUI/UXの是非。 - App Router 以外のフレームワーク構成。 - 非同期データ取得の最適化全般(別スキルの対象)。 ## False-positive guards / 抑制条件 - ファイル先頭に `use client` が明示されている場合は指摘しない。 - コメントで意図的な回避策が明記されている場合は慎重に扱う。 ## Rule / ルール - Server Component で `useState` / `useEffect` / `useLayoutEffect` を使わない。 - Server Component で `window` / `document` / `localStorage` / `sessionStorage` を参照しない。 ## Evidence / 根拠の取り方 - 差分内にクライアント専用APIが直接登場していることを示す。 - `use client` の有無を併記し、境界違反である根拠を示す。 ## Heuristics / 判定の手がかり - `use client` のないファイルで React Hooks や DOM API を使っている。 - `window` 依存の処理が Server Component に残っている。 ## Actions / 改善案 - `use client` が必要な場合は、対象コンポーネントを分割してクライアント側へ移す。 - DOM API が必要な処理をクライアント専用の子コンポーネントに閉じ込める。 ## Output / 出力 - `Finding:` / `Evidence:` / `Impact:` / `Fix:` を含む短いメッセージにする。 ## 評価指標(Evaluation) - 合格基準: 境界違反が差分に紐づき、根拠と最小修正が説明されている。 - 不合格基準: 差分と無関係な指摘、根拠のない断定、抑制条件の無視。 ## 人間に返す条件(Human Handoff) - 設計意図が不明で解釈が分かれる場合は質問として返す。 - 大規模なコンポーネント分割が必要な場合は人間レビューへ返す。
Read the whole file at its exact version.
How to install
mdr add s977043/river-review/Next.js App Router Client/Server Boundary@sha256:af3fe3d20b9e2b3eThe line at the top of this page pins the label v0.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_pjnvmasomefwnzh7)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 29, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2427 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
s977043/river-review · 7 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_pjnvmasomefwnzh7 GET https://markdownregistry.com/api/v1/resolve?ref=s977043/river-review/Next.js App Router Client/Server Boundary GET https://markdownregistry.com/api/v1/blob/af3fe3d20b9e2b3e7fdf631ebbfb881cd29631a40e0654d844d42b2214f1997c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from s977043/river-review
Every file in s977043/river-review