本文へスキップ
Skillpedia
テスト48k · #4064

brooks-test

できること

このツールは、ソフトウェアテストの品質を分析します。テストがもろくないか、モック(模擬オブジェクト)を誤って使っていないか、セットアップが分かりにくくないか、検証が弱くないか、実行に時間がかかりすぎないか、将来の保守で問題を起こしそうではないかを確認します。

使う場面

  • ✓既存のテストの品質を改善したいとき。
  • ✓大きなコード変更の前に、テストに関するリスクを把握したいとき。
  • ✓実行に時間がかかりすぎているテストを見つけたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-test/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-test/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のソフトウェアテストの品質を分析して、改善できる点を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、古典的なソフトウェアテストの書籍を参照して、よくある問題を把握します。その後、あなたのテストを調べて問題の兆候を探し、改善案をまとめたレポートを作成します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Brooks-Lint — Test Quality Review

When to Use

Use this skill when you need test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock...

Setup

  1. Read ../_shared/common.md for the Iron Law, Project Config, Report Template, and Health Score rules
  2. Read ../_shared/source-coverage.md for book-level coverage, exceptions, and tradeoffs
  3. Read ../_shared/test-decay-risks.md for test-space symptom definitions and source attributions
  4. Read test-guide.md in this directory for the test quality review framework

Process

If the user has not shared test files or pointed to a test directory: apply Auto Scope Detection from ../_shared/common.md to determine the review scope before proceeding.

  1. Build the test suite map (guide's "Before You Start" section)
  2. Scan for each test decay risk in the order specified (Steps 1–4 of the guide)
  3. Apply the Iron Law and output using the Report Template (Step 5 of the guide)

Mode line in report: Test Quality Review

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
よくある質問

「モック」とは何ですか?

「モック」は、ソフトウェアの他の部分を模した偽物で、ある一部分を単独でテストするために使われます。使いすぎたり誤った使い方をしたりすると、テストがもろくなる原因になります。

「もろいテスト」とはどういう意味ですか?

もろいテストとは、本体のコードが正しく動いていても、失敗しやすいテストのことです。多くの場合、実装の細部に依存しすぎていることが原因です。

「書籍のカバレッジ」とは何ですか?

分析に使われたソフトウェア工学の書籍のうち、どの考え方を参照してあなたのテストを分析したかを示すものです。

詳細

作者による元の説明

Review test-suite quality using established testing literature; identify brittleness, mock abuse, unclear fixtures, weak assertions, slow feedback, and maintenance risks.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4064
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル