testing-excellence SKILL.md skillA

This file is byte-identical to the first copy the registry indexed, one of 3 indexed copies. Same content hash, so the same checks give both the same grade.

testing-excellence from daishiman/harness-dev is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add daishiman/harness-dev/testing-excellence@git:20261002.c0e127d

Pins git:20261002.c0e127d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
daishiman/harness-dev
Path
.agents/skills/testing-excellence/SKILL.md
Versions recorded
1
Latest version
git:20261002.c0e127d, committed Oct 2, 2026
Size
7,845 bytes
Repository stars
10
License
none declared

アプリのテストはすべてこのスキルを使う。開発中のTDD(テストファースト)から、 ユーザー目線のE2E・受入テスト、インフラ/デプロイ検証、リリース前の網羅テストまでを1つに統合。 「テストを書いて」「テストして」「動作確認して」「TDDで進めて」「カバレッジを確認」 「E2Eテスト」「リリース前にちゃんとテストしたい」「本番で動くか確認」「回帰テスト」 などの文脈で必ず使用する。§0「適用段階」に従い、たたき台〜v1 では「壊れたら困る順」の最小テスト、 固定化段階(v1 到達後のブラッシュアップ)ではユーザーがテストと明示しなくてもTDDサイクルを適用する。 セキュリティ・コスト・パフォーマンスの監査は Skill launch-security を併用する。.

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

# Testing Excellence — 開発中TDDからリリース前網羅テストまで

テストは「書いたコードの確認」ではなく「アプリがユーザーの目的を果たすことの証明」。
開発中はTDDで守り、リリース前は4層(ユニット→統合→E2E→インフラ/受入)で網羅する。

## 0. 適用段階(先に読む)

本スキルは mvp-first-development §9「たたき台 → 確認 → 固定化」と app-orchestrator 裁定ルール4に従って段階的に適用する。

| 段階 | 書くテスト | 本スキルの適用範囲 |
|---|---|---|
| たたき台〜確認(v0 まで) | 計算ロジック・パーサー・集計と、理由表示など「文言が出ること」の固定だけ | §4 のインフラ検証(デプロイ後のスモーク)のみ必須。§2 の TDD サイクルと §5 は使わない |
| v1 までに | 上に加え、最頻業務と必須業務フローの E2E を「壊れたら困る順」に最小本数 | §3 を最小本数で。カバレッジは v0・v1 いずれのゲートにもしない |
| 固定化(v1 到達後のブラッシュアップ) | OK が出た主要フローの回帰テスト。以後の新機能・バグ修正は §2 の TDD サイクル | §1〜§6 を全て適用。カバレッジ 80% はこの段階の目標 |

リリース可否は INV-5 の3判定だけで決まり、本スキルのチェックリスト(§5)は公開を止める理由にならない(`INVARIANTS.md`)。

## 1. テスト戦略の全体像(4層)

| 層 | 対象 | ツール | 目安 |
|---|---|---|---|
| ユニット | 関数・ユーティリティ・コンポーネント | Vitest/Jest | 多数・高速 |
| 統合 | APIエンドポイント・DB操作・認可 | Vitest + ローカルD1/モック | 主要API全部 |
| E2E(ユーザー目線) | クリティカルユーザーフロー | Playwright | 主要フロー3〜10本 |
| インフラ/受入 | 本番相当環境での実動確認 | curl・wrangler・実ブラウザ | リリース毎 |

ユニット・統合は `pnpm test`、E2E・受入は `pnpm run preview` で立てたローカル本番相当環境(既定は `http://localhost:8787`)に対して実行する。

カバレッジ目標は固定化段階で80%以上(§0)。ただし数字合わせより「壊れたら困る順」にテストする。

## 2. 開発中: TDDサイクル

新機能・バグ修正は必ずこの順で進める(詳細パターンは `references/tdd-and-patterns.md`):

```text
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add daishiman/harness-dev/testing-excellence@sha256:2c2d2eac3979f568

The line at the top of this page pins the label git:20261002.c0e127d, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mswnyds5ko43ygd3.svg)](https://markdownregistry.com/a/art_mswnyds5ko43ygd3)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 2, 2026.

versioncommittedcommitsizeaudit
git:20261002.c0e127d latest2026-10-02 c0e127d 7,845 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7845 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

GitHub

daishiman/harness-dev · 10 stars · license none declared · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mswnyds5ko43ygd3
GET https://markdownregistry.com/api/v1/resolve?ref=daishiman/harness-dev/testing-excellence
GET https://markdownregistry.com/api/v1/blob/2c2d2eac3979f5680f4291a077ccd41ac7db820a6e2191335d54e3ceadca44c5

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 daishiman/harness-dev

app-excellence SKILL.md skill
daishiman/harness-dev · .agents/skills/app-excellence/SKILL.md · アプリ・Webサービス・業務ツールの制作を、証拠分析→確定的な初稿→要件定義→体験設計→機能分解→実装→品質ゲート→リリース判定の手順ゲート制で進めるスキル。質問で要件を埋めるのではなく、依頼文・既存コード・資料・ログから最有力案を選び、動…
git:20261002.c0e127d · audit A · 10 stars
app-orchestrator SKILL.md skill
daishiman/harness-dev · .agents/skills/app-orchestrator/SKILL.md · Webアプリの準備→要件定義→設計→実装→公開→品質ゲートを実行する内部オーケストレーター。Claude Codeの /build-app /improve-app、Codexの $build-app / $improve-app…
git:20261002.3253460 · audit A · 10 stars
beads SKILL.md skill
daishiman/harness-dev · .agents/skills/beads/SKILL.md · Use when working in a repository that uses bd or Beads for durable project task tracking, issue dependencies, blocker…
git:20260712.4f566b4 · audit A · 10 stars
better-auth-google-gate SKILL.md skill
daishiman/harness-dev · .agents/skills/better-auth-google-gate/SKILL.md · Webアプリのアクセス制御・認証・認可の実装はすべてこのスキルを使う。遮断だけならCloudflare Access、アプリ内identity・role・session・WebSocket等が必要ならBetter…
git:20261002.c0e127d · audit A · 10 stars
build-app SKILL.md skill
daishiman/harness-dev · .agents/skills/build-app/SKILL.md · 新しいWebアプリを要件整理から設計・実装・Cloudflare公開・品質確認まで一貫して構築する。Codexで「アプリを作って」「業務ツールを新規開発」「$build-app」と依頼されたときに使用する。
git:20261002.c0e127d · audit A · 10 stars
ci-cd-pipeline SKILL.md skill
daishiman/harness-dev · .agents/skills/ci-cd-pipeline/SKILL.md · Cloudflare WorkersのCI(自動検査)とCD(自動デプロイ)を、Workers Buildsまたは外部CI/CDから案件に合う1経路だけ選び、無料枠に収まる最小構成で構築・運用するためのスキル。…
git:20261002.c0e127d · audit A · 10 stars
cloudflare-email-service SKILL.md skill
daishiman/harness-dev · .agents/skills/cloudflare-email-service/SKILL.md · Cloudflare Email Service(Email Sending + Email Routing)でトランザクションメールの送受信を実装するスキル。Workers bindingまたはREST…
git:20261002.c0e127d · audit A · 10 stars
cloudflare-secure-deploy SKILL.md skill
daishiman/harness-dev · .agents/skills/cloudflare-secure-deploy/SKILL.md · Cloudflare Workers + D1/R2/KV/Durable Objects でデータベースとサーバーを安全・高速・高品質に接続し、…
git:20261002.c0e127d · audit A · 10 stars
cloudflare SKILL.md skill
daishiman/harness-dev · .agents/skills/cloudflare/SKILL.md · Cloudflare全体の製品選択と対象Accountの文脈を確定するルータースキル。Workers、Pages、KV、D1、R2、Workers AI、Vectorize、Agents…
git:20261002.c0e127d · audit A · 10 stars
design-judgment SKILL.md skill
daishiman/harness-dev · .agents/skills/design-judgment/SKILL.md · 設計系スキルの入口。「AIっぽい」「テンプレート感」「もっと洗練させたい」「管理画面のレビュー」など画面設計の相談を受けたら、業務構造の診断(ux-design…
git:20261002.3253460 · audit A · 10 stars
durable-objects SKILL.md skill
daishiman/harness-dev · .agents/skills/durable-objects/SKILL.md · Cloudflare Durable Objects の実装とレビューに使用する。チャットルーム、マルチプレイ、予約システムなどの状態を持つ協調処理、RPC methods、SQLite…
git:20261002.c0e127d · audit A · 10 stars
improve-app SKILL.md skill
daishiman/harness-dev · .agents/skills/improve-app/SKILL.md · 既存Webアプリへ機能追加・UX改善・不具合修正を1件ずつ安全に実装して公開する。Codexで「既存アプリを改善」「機能を追加」「$improve-app」と依頼されたときに使用する。
git:20261002.c0e127d · audit A · 10 stars

Every file in daishiman/harness-dev

Other files named testing-excellence

testing-excellence SKILL.md skill
daishiman/harness-dev · .claude/skills/testing-excellence/SKILL.md · アプリのテストはすべてこのスキルを使う。開発中のTDD(テストファースト)から、 ユーザー目線のE2E・受入テスト、インフラ/デプロイ検証、リリース前の網羅テストまでを1つに統合。…
git:20261002.c0e127d · audit A · 10 stars
testing-excellence SKILL.md skill
daishiman/harness-dev · aidd-agent-kit/skills/testing-excellence/SKILL.md · アプリのテストはすべてこのスキルを使う。開発中のTDD(テストファースト)から、 ユーザー目線のE2E・受入テスト、インフラ/デプロイ検証、リリース前の網羅テストまでを1つに統合。…
git:20261002.c0e127d · audit A · 10 stars

Browse by kind, by grade A, or by owner.