jpskill.com
📄 ドキュメント コミュニティ

casely

プロジェクトのドキュメントからテストケースを自動で作成し、要件定義に基づいたテスト計画、テストケースの生成、TestRail形式でのエクスポートまでを効率的に行うQAアシスタントとして、品質保証業務を支援するSkill。

📜 元の英語説明(参考)

Intelligent QA assistant that automates writing test cases from project documentation. Use when the user wants to generate test cases from requirements, runs /init, /parse, /style, /plan, /generate, /export, or works with PDF/DOCX/XLSX requirement documents and TestRail-ready Excel export.

🇯🇵 日本人クリエイター向け解説

一言でいうと

プロジェクトのドキュメントからテストケースを自動で作成し、要件定義に基づいたテスト計画、テストケースの生成、TestRail形式でのエクスポートまでを効率的に行うQAアシスタントとして、品質保証業務を支援するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して casely.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → casely フォルダができる
  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
同梱ファイル
6

📖 Skill本文(日本語訳)

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

[Skill 名] casely

Casely — QAテストケースジェネレーター

Caselyは、QAエンジニアの仕事で最も時間のかかる部分であるテストケースの作成を自動化します。 要件ドキュメントを読み込み、チームの既存のテストケース例から学習して、 構造化され、スタイルが一貫したテストスイートを生成し、あらゆるテスト管理システムにインポートできる状態にします。

なぜこれが重要なのか

手動でのテストケース作成は、QAエンジニアの時間の約40%を占めます。要件は 断片的な形式(PDF、DOCX、XLSX)で提供されます。各チームには独自の列構造、命名規則、 および記述スタイルがあります。Caselyはこれを以下の方法で解決します。

  • doclingを介して、あらゆるドキュメント形式をクリーンなMarkdownに変換します。
  • チームのテストケース例から正式なスタイルルールを抽出します。
  • チームの正確な構造とトーンに一致するテストケースを生成します。
  • TMSインポート用の正しい列マッピングでExcelにエクスポートします。

コマンド

/init [ProjectName]

新しい独立したプロジェクトワークスペースを作成し、環境を検証します。

/parse

CaselyParserを実行して、すべての生のアセット(要件と例)をMarkdownに変換します。

/style

テストケース例を分析し、永続的なtest_style_guide.mdを生成します。

/plan

解析された要件をスキャンし、モジュールとテストタイプを含むテスト計画を提案します。

/generate [type]

指定されたタイプ(機能、ネガティブ、統合、境界など)のアトミックなテストケースを生成します。

/export

生成されたMarkdownテストケースをフォーマットされた.xlsxファイルに変換します。


完全なワークフロー

フェーズ1:プロジェクトの初期化と環境設定(/init

ユーザーが/init [ProjectName]を実行したとき(または新しいテストプロジェクトの開始を要求したとき):

  1. ディレクトリの作成: リポジトリルートのprojects/の下にプロジェクトディレクトリ構造を作成します。

    • input/requirements/
    • input/examples/
    • processed/requirements/
    • processed/examples/
    • results/
    • exports/
  2. uvによる環境設定:

    • 場所: 依存関係は、リポジトリルート(スキルフォルダ内ではない)のpyproject.tomlで定義されます。スクリプトは、そのルートからuv syncが実行されていることを想定しています。
    • リポジトリルートにpyproject.tomlが存在するかどうかを確認します。存在しない場合は、そこでuv initを実行します。
    • 依存関係をインストール/検証します:uv add docling openpyxl(またはリポジトリルートからuv sync)。
    • これにより、超高速なセットアップが保証され、すべてのサブ依存関係(例:doclingtorch)が自動的に処理されます。
  3. ユーザーへの確認:

    • 「プロジェクト{project_name}はUVを介して初期化されました。環境と依存関係(doclingopenpyxl)は準備完了です。」
    • 「要件ドキュメントをprojects/{project_name}/input/requirements/に、例をprojects/{project_name}/input/examples/に配置してください。」

フェーズ2:ドキュメントの解析(/parse

ユーザーが/parseを実行したとき(またはドキュメントの解析/処理を要求したとき):

  1. プロジェクトの特定。 projects/の下にプロジェクトが1つしかない場合は、自動的にそれを使用します。 複数存在する場合は、ユーザーにどれを使用するか尋ねます。

  2. CaselyParserの実行 — パーサーはこのスキル内のscripts/casely_parser.pyにあります。 doclingを使用し、すべての主要な形式をサポートしています。

    CLI経由(オプションの引数、省略された場合は最新のプロジェクトを自動検出):

     uv run python <skill-path>/scripts/casely_parser.py

    (または必要に応じて手動パス)

     uv run python <skill-path>/scripts/casely_parser.py "projects/{name}/input/requirements" "projects/{name}/processed/requirements"
  3. 結果をユーザーに報告します: 解析されたファイルの数、エラー、処理されたファイルの概要。

フェーズ3:スタイルガイドの作成(/style

  1. processed/examples/から解析されたすべてのサンプルファイルを読み込みます

  2. テーブル構造を分析し、 ヘッダー、データ型、必須フィールドを抽出します。

    • 重要: スタイルガイドは、サンプルの列構造と完全に一致している必要があります。
    • 必須: サンプルファイルからすべてのヘッダーを、その正確な順序でtest_style_guide.mdに転送してください。明示的に要求されない限り、名前の変更、省略(例:「Comments」、「Author」)、または新しい列の追加は行わないでください。
  3. 記述スタイルを分析し、 言語、トーン、書式設定パターン(例:手順の表現方法)を抽出します。

  4. プロジェクトルートにtest_style_guide.mdを生成します。このファイルは「信頼できる唯一の情報源」として機能し、水平テーブル行構造を明示的に定義する必要があります。

  5. スタイルガイドをユーザーに提示し、 レビューを求めます。このファイルへの手動での調整は、ジェネレーターによって尊重されます。

フェーズ4:プロフェッショナルなテスト設計と計画(/plan

  1. コンテキストと分析の読み込み:

    • processed/requirements/から解析された要件を読み込みます。
    • test_style_guide.mdを読み込み、サンプル構造(列 → テストの複雑さ)に合わせます。
  2. 構造的分解:

    • 要件からモジュール/エンドポイント/ロジックブロックを抽出します。
    • レベル別に分類します:API(フィールド/ステータス)、統合(フロー)、E2E(シナリオ)。[web:8]
  3. スマートな見積もり(スタイル駆動):

    • スタイルガイドからのメトリクス: テストあたりのフィールド数(列から)、ロジックからの分岐。
    • カバレッジティア(サンプルに基づく合計ケース数): | ティア | ケース/モジュール | カバレッジ | 焦点 | |------|--------------|----------|-------| | スモーク | 1-3 | 最小 | ゴールデンパス[web:13] | クリティカル (80%) | N (フィールド*0.8) | 主要パス | 高リスク (金融/認証) | フル | 全ての組み合わせ | 100% | エッジ/ネガティブ
    • リスクスコアリング: 高(セキュリティ)、中(ロジック)、低(UI)。[web:8]
  4. トレーサビリティと準備:

    • クイックRTMプレビュー:要件ID → 計画されたケース(例:「REQ-001 → 5ケース」)。
    • データ/依存関係: テストデータルール(有効/エッジ)、必要なモック。
  5. 計画の出力:

    • モジュールごとのテーブル:モジュール | レベル | 推定ケース数 (80%) | タイプ | ツール
    • 必須: 各モジュールについて、すぐにコピーできるコマンドを提供します。
    • test_plan.mdを保存します(TMSにインポート可能)。
    • 質問:「クリティカルパスを生成しますか?/generate functional MODULE_NAME」または「/generate negative MODULE_NAME」。

次へ:/generate [type]は、推定された数のファイルを正確に作成し、各ファイルには

(原文がここで切り詰められています)

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

Casely — QA Test Case Generator

Casely automates the most time-consuming part of a QA engineer's job: writing test cases. It reads requirement documents and learns from your team's existing test case examples to produce structured, style-consistent test suites ready for import into any Test Management System.

Why this matters

Manual test case writing accounts for ~40% of a QA engineer's time. Requirements come in fragmented formats (PDF, DOCX, XLSX). Every team has its own column structure, naming conventions, and writing style. Casely solves this by:

  • Converting any document format to clean Markdown via docling.
  • Extracting formal style rules from your team's example test cases.
  • Generating test cases that match your team's exact structure and tone.
  • Exporting to Excel with correct column mapping for TMS import.

Commands

/init [ProjectName]

Creates a new isolated project workspace and verifies the environment.

/parse

Runs the CaselyParser to convert all raw assets (requirements and examples) to Markdown.

/style

Analyzes example test cases and generates a persistent test_style_guide.md.

/plan

Scans parsed requirements and suggests a testing plan with modules and test types.

/generate [type]

Generates atomic test cases of the specified type (functional, negative, integration, boundary, etc.).

/export

Converts generated Markdown test cases into a formatted .xlsx file.


Full Workflow

Phase 1: Project Initialization & Environment Setup (/init)

When the user runs /init [ProjectName] (or asks to start a new testing project):

  1. Create Directories: Create the project directory structure under projects/ in the repository root:

    • input/requirements/
    • input/examples/
    • processed/requirements/
    • processed/examples/
    • results/
    • exports/
  2. Environment Setup via uv:

    • Location: Dependencies are defined in pyproject.toml at the repository root (not inside the skill folder). Scripts expect uv sync to have been run from that root.
    • Check if pyproject.toml exists at the repo root. If not, run uv init there.
    • Install/verify dependencies: uv add docling openpyxl (or uv sync from repo root).
    • This ensures a lightning-fast setup and handles all sub-dependencies (e.g. torch for docling) automatically.
  3. Confirm to the user:

    • "Project {project_name} initialized via UV. Environment and dependencies (docling, openpyxl) are ready."
    • "Place your requirement documents into projects/{project_name}/input/requirements/ and examples into projects/{project_name}/input/examples/."

Phase 2: Document Parsing (/parse)

When the user runs /parse (or asks to parse/process documents):

  1. Locate the project. If there's only one project under projects/, use it automatically. If multiple exist, ask the user which one.

  2. Run CaselyParser — The parser is located at scripts/casely_parser.py within this skill. It uses docling and supports all major formats.

    Via CLI (optional arguments, auto-detects latest project if omitted):

     uv run python <skill-path>/scripts/casely_parser.py

    (Or manual path if needed)

     uv run python <skill-path>/scripts/casely_parser.py "projects/{name}/input/requirements" "projects/{name}/processed/requirements"
  3. Report results to the user: how many files were parsed, any errors, and summary of processed files.

Phase 3: Style Guide Creation (/style)

  1. Read all parsed example files from processed/examples/.

  2. Analyze the table structure to extract headers, data types, and mandatory fields.

    • CRITICAL: The style guide MUST be an exact replica of the example's column structure.
    • MANDATORY: Transfer ALL headers from the example files to the test_style_guide.md in their exact order. Do not rename, omit (e.g., "Comments", "Author"), or add new columns unless explicitly requested.
  3. Analyze the writing style to extract language, tone, and formatting patterns (e.g., how steps are phrased).

  4. Generate test_style_guide.md in the project root. This file acts as the "source of truth" and must explicitly define the horizontal table row structure.

  5. Present the style guide to the user for review. Any manual adjustments to this file will be respected by the generator.

Phase 4: Professional Test Design & Planning (/plan)

  1. Load Context & Analysis:

    • Read parsed requirements from processed/requirements/.
    • Load test_style_guide.md to match example structure (columns → test complexity).
  2. Structural Breakdown:

    • Extract modules/endpoints/logic blocks from requirements.
    • Categorize by Level: API (fields/status), Integration (flows), E2E (scenarios).[web:8]
  3. Smart Estimation (Style-Driven):

    • Metrics from Style Guide: Fields per test (from columns), branches from logic.
    • Coverage Tiers (total cases based on examples): | Tier | Cases/Module | Coverage | Focus | |------|--------------|----------|-------| | Smoke | 1-3 | Min | Golden Path[web:13] | Critical (80%) | N (fields*0.8) | Key paths | High-risk (finance/auth) | Full | All perms | 100% | Edges/negatives
    • Risk Scoring: High (security), Med (logic), Low (UI).[web:8]
  4. Traceability & Prep:

    • Quick RTM Preview: Req ID → Planned Cases (e.g., "REQ-001 → 5 cases").
    • Data/Deps: Test data rules (valid/edge), mocks needed.
  5. Output Plan:

    • Table by Module: Module | Level | Est. Cases (80%) | Type | Tools.
    • MANDATORY: Provide ready-to-copy commands for each module.
    • Save test_plan.md (importable to TMS).
    • Ask: "Generate Critical Path? /generate functional MODULE_NAME" or "/generate negative MODULE_NAME".

Next: "/generate [type] will create exactly the estimated number of files, with each file containing one atomic test case matching your style guide."

Phase 5: Test Case Generation (/generate [type])

  1. Load context:

    • BIDING: Read test_style_guide.md (Mandatory Source of Truth).
    • Read relevant parsed requirement files.
    • Target specific module and test type.
  2. Generate ATOMIC test cases:

    • One File = One Test Case (1 ID = 1 Scenario): Each test case MUST be saved as a separate Markdown file in results/.
    • Horizontal Structure: Each file MUST contain exactly ONE horizontal table row (header row + data row). Do NOT use vertical "key-value" lists.
    • Naming Convention: {type}_{id}_{short_description}.md.
    • Match the style guide exactly — same columns (1:1 with example), same tone, same structure.
    • No Hallucinations — only use columns and data points supported by the guide and requirements.
  3. Proactive Report:

    • Notify the user of created files.
    • Mandatory Next Step: Always advise the user on what else they can generate. Example: "I've generated functional cases. You can now run /generate negative to check error handling or /generate security for device metadata."

Phase 6: Export to Excel (/export)

  1. Convert Markdown files to Excel using scripts/export_to_xlsx.py.
    • Smart Execution: The script automatically detects the most recently modified project in the projects/ directory if no paths are provided.
  2. Atomic One-to-One Export: For every .md file in results/, the tool creates exactly one corresponding .xlsx file in exports/.
    • Behavior: Direct format conversion preserving the file count.
    • Naming: Files are named identically to their source: {type}_{id}_{short_description}.xlsx.
  3. Internal Structure: Each Excel file contains a single sheet called "Test Case" with the columns exactly matching the project's style guide.
  4. Plain Text Export: Content is exported as plain text with support for multi-line cells (using <br>).
  5. Save to exports/.

Important Guidelines

Proactive Guidance (Crucial)

After every command, Casely MUST provide a "Next Step" block.

  • After /init -> suggest /parse.
  • After /parse -> suggest /style.
  • After /style -> suggest /plan.
  • After /plan -> list specific commands like /generate functional or /generate negative.
  • After /generate -> suggest /export OR other generation types.

Language Awareness

Casely is language-agnostic for data. It will detect the language of the provided examples (e.g., Russian) and generate test cases in that same language. The internal logic and style guide should bridge this gap.

Atomic over Composite

Validators should always prefer multiple specialized test cases over one "all-in-one" case. This ensures clearer test results and easier bug localization.

Style Guide is King

The style guide is the single source of truth. Do not invent new columns or change formatting unless the style guide is updated first.


Skill Files

Scripts (scripts/)

  • scripts/casely_parser.py — Document-to-Markdown converter (Docling).
  • scripts/export_to_xlsx.py — Markdown-to-Excel exporter.

References (references/)

  • references/parser_usage.md — Technical details on calling the parser.
  • references/export_guide.md — Details on the MD-to-Excel conversion logic.
  • references/style_analysis_prompts.md — Methodologies for style extraction.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。