jpskill.com
🛠️ 開発・MCP コミュニティ

testing-test-writing

Write focused tests for core user flows and critical paths using Pest framework, with minimal tests during development and strategic coverage at completion points. Use this skill when creating or editing test files in tests/Feature/ or tests/Unit/ directories, when writing Pest tests with descriptive names, when testing critical user workflows and business logic, when mocking external dependencies, when implementing fast unit tests, when testing behavior rather than implementation details, or when deciding what needs test coverage at feature completion.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o testing-test-writing.zip https://jpskill.com/download/18630.zip && unzip -o testing-test-writing.zip && rm testing-test-writing.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/18630.zip -OutFile "$d\testing-test-writing.zip"; Expand-Archive "$d\testing-test-writing.zip" -DestinationPath $d -Force; ri "$d\testing-test-writing.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して testing-test-writing.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → testing-test-writing フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

テストのテスト作成

この Skill は、テストのテスト作成を扱う際に従うべきコーディング標準に準拠する方法について、Claude Code に具体的なガイダンスを提供します。

この Skill を使用するタイミング

  • tests/Feature/ または tests/Unit/ ディレクトリに新しいテストファイルを作成する場合
  • 記述的で明確なテスト名を持つ Pest テストを作成する場合
  • コアユーザーのワークフローと重要なビジネスパスをテストする場合
  • 機能の完了時点でテストカバレッジが必要なものを決定する場合
  • 外部依存関係(データベース、API、ファイルシステム、サービス)をモックする場合
  • 高速に実行されるユニットテストを作成する場合
  • 実装の詳細ではなく、動作と結果に焦点を当てたテストを作成する場合
  • Pest データセットを使用して、複数のテストシナリオを効率的に処理する場合
  • バリデーションルール、ビジネスロジック、または API エンドポイントをテストする場合
  • 重要な機能の統合テストを実装する場合
  • コード変更をコミットする前にテストを実行する場合
  • 重要でないユーティリティやエッジケースのテストをスキップする場合(明示的に必要になるまで)

指示

詳細については、次のファイルに記載されている情報を参照してください。 testing test writing

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Testing Test Writing

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle testing test writing.

When to use this skill

  • When creating new test files in tests/Feature/ or tests/Unit/ directories
  • When writing Pest tests with descriptive, clear test names
  • When testing core user workflows and critical business paths
  • When deciding what needs test coverage at feature completion points
  • When mocking external dependencies (databases, APIs, file systems, services)
  • When writing fast-executing unit tests
  • When focusing tests on behavior and outcomes rather than implementation details
  • When using Pest datasets to handle multiple test scenarios efficiently
  • When testing validation rules, business logic, or API endpoints
  • When implementing integration tests for critical features
  • When running tests before committing code changes
  • When skipping tests for non-critical utilities or edge cases (until explicitly required)

Instructions

For details, refer to the information provided in this file: testing test writing