MCP HubMCP Hub
スキル一覧に戻る

backend-test

alekspetrov
更新日 Today
42 閲覧
47
3
47
GitHubで表示
メタtesting

について

backend-testスキルは、開発者が「write test for」や「add test」といったテスト関連のフレーズを言及すると自動的に起動します。Jest/Vitestを使用して、フィクスチャ、モック、正常系と異常系の両方のカバレッジを含む、包括的なバックエンドテストファイルを生成します。これにより、テストが適切に構造化され、独立しており、すぐに実行可能な状態であることが保証されます。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/alekspetrov/navigator
Git クローン代替
git clone https://github.com/alekspetrov/navigator.git ~/.claude/skills/backend-test

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Backend Test Generator

Generate comprehensive backend tests with Jest/Vitest including fixtures and mocks.

When to Invoke

Auto-invoke when user mentions:

  • "Write test for"
  • "Add test"
  • "Test this"
  • "Create test"
  • "Test [component/function]"

What This Does

  1. Generates test file with describe/it blocks
  2. Creates test fixtures
  3. Generates mocks for dependencies
  4. Includes edge cases
  5. Follows testing best practices

Success Criteria

  • Test file generated with proper structure
  • Tests cover happy path and error cases
  • Mocks isolate unit under test
  • Fixtures provide test data
  • Tests are runnable and pass

Auto-invoke when writing backend tests 🧪

GitHub リポジトリ

alekspetrov/navigator
パス: skills/backend-test

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

cloudflare-turnstile

メタ

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

スキルを見る

webapp-testing

テスト

This Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.

スキルを見る