Test Naming and Structure SKILL.md skillA
Test Naming and Structure 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/Test Naming and Structure@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/downstream/test-naming/SKILL.md- Versions recorded
- 2
- Latest version
- v0.1.0, committed Jun 29, 2026
- First version recorded
- Jun 29, 2026
- Size
- 2,897 bytes
- Repository stars
- 7
- License
- MIT
Ensure tests use clear naming and cover edge cases with proper describe/it structure.
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
## Pattern declaration
Primary pattern: Reviewer
Secondary patterns: Inversion
Why: テスト命名・構造チェックはチェックリスト型評価が主だが、テストファイルが差分に含まれない場合は実行を止める必要がある。
## Rule / ルール
- describe/it/test の命名を一貫させ、期待される振る舞いを明示する
- 正常系だけでなく境界・異常系もテストする
- テストデータの重複を避け、セットアップは共通化する
## Heuristics
- `it('works')` のような曖昧な名前
- 異常系テストや境界値が欠落
- 重複したモックデータやセットアップコード
## Good / Bad Examples
- Good: `it('returns 422 when payload is invalid')`
- Bad: `it('should work')`
- Good: 境界値・例外ケースを含む複数の it ブロック
## Actions / 改善案
- 期待されるステータスや値を含む名前に変更する
- エラーケース・境界値のテストを追加する
- beforeEach/ヘルパーでセットアップを共通化する
## Non-goals / 扱わないこと
- テストフレームワークの選定や移行。
- テストケース自体の追加・削除の大規模再設計。
- 実装コードの命名改善。
## Pre-execution Gate / 実行前ゲート
このスキルは以下の条件がすべて満たされない限り`NO_REVIEW`を返す。
- [ ] 差分にテストファイル(`*.test.*`, `*.spec.*`)の変更が含まれている
- [ ] 差分にテストの命名・構造に影響する変更がある(コメントやフォーマットのみの変更ではない)
- [ ] inputContextにdiffが含まれている
ゲート不成立時の出力: `NO_REVIEW: test-naming — テスト命名・構造チェックの対象となるテスト変更が検出されない`
## False-positive guards / 抑制条件
- 既存の命名規約に沿った変更であり、差分で逸脱がない。
- テストが自動生成され、命名規約が別途管理されている。
## 評価指標(Evaluation)
- 合格基準: 指摘が差分に紐づき、根拠と次アクションが説明されている。
- 不合格基準: 差分と無関係な指摘、根拠のない断定、抑制条件の無視。
## 人間に返す条件(Human Handoff)
- 仕様や意図が不明確で解釈が分かれる場合は質問として返す。
…Read the whole file at its exact version.
How to install
mdr add s977043/river-review/Test Naming and Structure@sha256:e19645e9643fa2feThe 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_jneqpxmgekfb4jjp)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Jun 29, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.1.0 latest | 2026-06-29 | 45e66bc | 2,897 B | A | view · diff |
| v0.1.0 | 2026-06-29 | b988700 | 2,915 B | A | view |
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 (2897 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_jneqpxmgekfb4jjp GET https://markdownregistry.com/api/v1/resolve?ref=s977043/river-review/Test Naming and Structure GET https://markdownregistry.com/api/v1/blob/e19645e9643fa2feae2e0c02414eaf50b2d3059a76c94af2114efe8e11d26eff
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