MCP HubMCP Hub
SKILL·476DDB

testing-anti-patterns

obra
更新日 2 months ago
41 閲覧
255,889
22,791
255,889
GitHubで表示
テストtesting

について

このスキルは、開発者がテストを作成または修正する際、モックを追加する際、あるいはテスト専用の本番コード変更を検討する際に、一般的なテストアンチパターンを回避するのに役立ちます。モックの動作をテストすること、テストメソッドで本番コードを汚染すること、依存関係を理解せずにモックを作成することなどを防ぎます。中核となる原則は、テストがモック実装ではなく実際のコードの動作を検証することを保証することです。

クイックインストール

Claude Code

推奨
メイン
npx skills add obra/superpowers -a claude-code
プラグインコマンド代替
/plugin add https://github.com/obra/superpowers
Git クローン代替
git clone https://github.com/obra/superpowers.git ~/.claude/skills/testing-anti-patterns

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

GitHub リポジトリ

obra/superpowers
パス: skills/testing-anti-patterns
0
aibrainstormingcodingobrasdlcskills
FAQ

Frequently asked questions

What is the testing-anti-patterns skill?

testing-anti-patterns is a Claude Skill by obra. Skills package instructions and resources that Claude loads on demand, so Claude can perform testing-anti-patterns-related tasks without extra prompting.

How do I install testing-anti-patterns?

Use the install commands on this page: add testing-anti-patterns to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does testing-anti-patterns belong to?

testing-anti-patterns is in the Testing category, tagged testing.

Is testing-anti-patterns free to use?

Yes. testing-anti-patterns is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

関連スキル

evaluating-llms-harness
テスト

このClaudeスキルは、lm-evaluation-harnessを実行し、MMLUやGSM8Kなど60以上の標準化学術タスクでLLMをベンチマークします。開発者がモデルの品質を比較し、トレーニングの進捗を追跡し、学術的な結果を報告するために設計されています。このツールはHuggingFaceやvLLMモデルを含む様々なバックエンドをサポートしています。

スキルを見る
cloudflare-cron-triggers
テスト

このスキルは、cron式を使用してWorkersをスケジュールするためのCloudflare Cron Triggersの実装に関する包括的な知識を提供します。定期的なタスクの設定、メンテナンスジョブ、自動化されたワークフローの構築を網羅し、無効なcron式やタイムゾーン問題といった一般的な課題への対処法も含みます。開発者はこれを使用して、スケジュールされたハンドラーの設定、cronトリガーのテスト、WorkflowsやGreen Computeとの連携を構成できます。

スキルを見る
webapp-testing
テスト

このClaude Skillは、Playwrightベースのツールキットを提供し、Pythonスクリプトを通じてローカルWebアプリケーションのテストを可能にします。フロントエンドの検証、UIデバッグ、スクリーンショット撮影、ログ表示を実現し、サーバーライフサイクルを管理します。ブラウザ自動化タスクにご利用いただけますが、コンテキストの汚染を避けるため、スクリプトのソースコードを読むのではなく直接実行してください。

スキルを見る
finishing-a-development-branch
テスト

このスキルは、開発者がテストの合格を確認し、構造化された統合オプションを提示することで、完成した作業を仕上げることを支援します。実装が完了した後のマージ、PR作成、ブランチの整理といったワークフローを案内します。コードが準備できてテスト済みの際に使用し、開発プロセスを体系的に完了させましょう。

スキルを見る