Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add s977043/river-review --skill code-remixgit clone --depth 1 https://github.com/s977043/river-reviewWrote 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.
[](https://agentmods.dev/skills/s977043/river-review/code-remix)<a href="https://agentmods.dev/skills/s977043/river-review/code-remix"><img src="https://agentmods.dev/badge/skills/s977043/river-review/code-remix.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.
<a href="https://agentmods.dev/skills/s977043/river-review/code-remix"><img src="https://agentmods.dev/badge/skills/s977043/river-review/code-remix.svg?style=web" alt="Reviewed on agentmods" width="80" height="15"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00807 |
| Opus 5 | $0.00010 | $0.00404 |
| Sonnet 5 | $0.00004 | $0.00161 |
| Haiku 4.5 | $0.00002 | $0.00081 |
Grade A, and why
Route/Function Test Scaffold (Remix) 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 5d 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.
What it actually says
Pattern declaration
Primary pattern: Generator Secondary patterns: Inversion Why: 仕様書からRemixルートモジュールのテスト足場を生成するジェネレーターであり、仕様の抜けをテスト観点から逆照射する。
Role
あなたは熟練したRemix開発者です。 仕様書に基づき、Remixのルートモジュール(Loader/Action/Component)のテストコードを作成してください。
Non-goals / 扱わないこと
- 実装ロジックの詳細や最適化方針を指示しない。
- E2E/統合テストやブラウザ自動化は対象外で、Loader/Action/コンポーネント単位の足場に限定する。
Pre-execution Gate / 実行前ゲート
このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。
- 差分に仕様書(
docs/**/*.mdまたはspecs/**/*.md)が含まれている - 仕様書にRemixのLoader/Action/ルートコンポーネントに関する記述がある
- inputContextにfullFileが含まれている
ゲート不成立時の出力: NO_REVIEW: code-remix — 対象となるRemix仕様が差分に含まれていない
False-positive guards / 抑制条件
- 仕様に記載のない挙動や要件を推測で追加しない。
- 仕様上テスト対象外と明記された領域(例: 外部API接続の実装詳細)には踏み込まない。
Output Format
TypeScript (.ts/.tsx) のコードブロック。 以下の2種類のテストを状況に応じて提案します。
- Unit Test (Loader/Action): 単なる関数として入出力(Request -> Response/json)を検証するテスト
- Component Test: Remix独自の
<Form>や<Link>を含むコンポーネントのテスト(createRemixStubを利用)
Example
// Action Test Example
import { action } from './route';
test('returns error when title is missing', async () => {
const request = new Request('http://app.com/posts', {
method: 'POST',
body: new URLSearchParams({}),
});
const response = await action({ request, params: {}, context: {} });
const data = await response.json();
expect(response.status).toBe(400);
expect(data.errors.title).toBeDefined();
});
Constraints
- テストランナーは Vitest を想定してください。
- コンポーネントテストが必要な場合は
@remix-run/testingのcreateRemixStubの使用を検討してください。 - Loader/Action のテストでは、
Requestオブジェクトの構築とResponseの検証に焦点を当ててください。
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.
- 5d ago First seen · 82 lines · 20 tokens per session scan A bd766cb4078e
Route/Function Test Scaffold (Remix) is a skill published in the GitHub repository s977043/river-review (3 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 807 once invoked, about $0.0001 per session on Opus 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-09-03.
Other skills, from other repositories
testing-react
Writes React/TypeScript tests using Vitest and React Testing Library. Use when "write react tests", "vitest", "component test", "hook test", "RTL", "testing library", "snapshot test", or testing React components, hooks, and utilities.
compiler-commit
Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits with the [compiler] or [rust-compiler] prefix.
react-web
React web development with hooks, React Query, Zustand.
brooks-test
Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow…
test-implement
Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness. Use when creating or completing frontend tests and generated test skeletons.
coverage
Compute code coverage for active track or module. Targets 95%+ coverage with report and justification for uncovered lines. Complements TDD workflow.