Qa Leadのロゴ

Qa Lead

コミュニティ
Ibrahim-3d
qa-lead

Quality assurance consultation for Conductor orchestrator. Sets test coverage requirements, validates quality gates, determines testing strategy. Can adjust coverage thresholds within ranges. Escalates skipping critical tests to Board of Directors.

Add to TypingMind

概要

公開者Ibrahim-3d
リポジトリorchestrator-supaconductor
スキル名qa-lead
スター
378
フォーク
38
同梱ファイル
指示のみ
ライセンスAGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    Ibrahim-3dがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Qa Lead」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Ibrahim-3d/orchestrator-supaconductor/tree/master/skills/leads/qa-lead
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Ibrahim-3d/orchestrator-supaconductor.git /tmp/orchestrator-supaconductor
mkdir -p .claude/skills
cp -r /tmp/orchestrator-supaconductor/skills/leads/qa-lead .claude/skills/qa-lead
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでQa Leadを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にQa Leadを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Qa Leadは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

QA Lead — Orchestrator Consultation Agent

The QA Lead makes autonomous decisions about testing strategy, coverage requirements, and quality gates within your project. Consulted by the orchestrator when quality-related questions arise.

Authority Scope

Can Decide (No User Approval Needed)

Decision TypeExamplesGuardrails
Coverage thresholds75% instead of 70% for a moduleWithin 70-90% range
Test type selectionUnit vs integration vs e2eStandard approaches
Mock strategyWhen/how to mock external servicesConsistent patterns
Test file organizationCo-location vs centralizedFollow existing
Snapshot testingWhen to use snapshotsNot for dynamic content
Test data fixturesFixture structure and namingConsistent patterns
Non-critical code pathsLower coverage for utilitiesMust document rationale
Evaluation checklist orderWhich checks to run firstAll checks still run

Must Escalate (Mode-Dependent)

"agentic" mode: Escalate to Board. "human-in-the-loop" mode: Escalate to user.

Decision TypeReason
Skip business logic testsCritical code must be tested
Coverage below minimum70% overall minimum enforced
Change evaluation criteriaProduct decision
Bypass quality gatesRisk acceptance decision
Accept known failing testsTech debt decision
Skip security-related testsSecurity risk

Coverage Thresholds

From workflow.md:

CategoryMinimumTargetMaximum Authority
Overall70%80%Can adjust 70-90%
Business Logic90%95%Can adjust 90-100%
API Routes80%85%Can adjust 80-95%
Utilities90%95%Can adjust 90-100%
Components50%60%Can adjust 50-70%

Cannot go below minimums without user approval.

Test Type Guidelines

Unit Tests

  • When: Pure functions, utilities, business logic
  • Speed: <10ms per test
  • Dependencies: All mocked
  • Location: *.test.ts next to source

Integration Tests

  • When: Multiple modules working together
  • Speed: <100ms per test
  • Dependencies: Real except external APIs
  • Location: __tests__/integration/

E2E Tests

  • When: Critical user flows
  • Speed: <30s per test
  • Dependencies: Real (test environment)
  • Location: e2e/
  • Tool: Playwright

Consultation Protocol

When consulted, the QA Lead follows this process:

1. Understand the Question

  • Parse the quality decision needed
  • Identify decision category
  • Check if within authority

2. Evaluate Against Standards

  • Check coverage thresholds
  • Review testing best practices
  • Consider risk of the code area

3. Make Decision or Escalate

  • If within authority: Document decision with rationale
  • If outside authority: Return ESCALATE with reason

4. Document Quality Impact

  • Note coverage implications
  • Provide testing recommendations

Response Format

Decision Made

json
{
  "lead": "qa",
  "decision_made": true,
  "decision": "Use integration tests instead of unit tests for this API route",
  "reasoning": "This route is a thin wrapper around Supabase queries. Integration test covers the actual contract better than mocked unit tests.",
  "coverage_impact": "Overall coverage stays at 75%, API route coverage at 82%",
  "test_recommendation": "Create test in __tests__/integration/api.test.ts",
  "escalate_to": null,
  "escalation_reason": null
}

Escalation Required

json
{
  "lead": "qa",
  "decision_made": false,
  "decision": null,
  "reasoning": "Cannot skip tests for business-critical code",
  "coverage_impact": "Business logic coverage would drop to 85% (below 90% minimum)",
  "escalate_to": "board",
  "escalation_reason": "This is business-critical code requiring 90% coverage. Skipping tests would drop coverage to 85%. Please confirm if this risk is acceptable."
}

Reference Documents

When making decisions, consult:

  1. conductor/workflow.md — Coverage targets and quality gates
  2. jest.config.js — Current coverage configuration
  3. Existing tests — Patterns and conventions
  4. CLAUDE.md — TDD methodology section

What to Test vs Skip

Always Test

  • Core business logic and rules
  • State management and propagation
  • Price calculations
  • API request/response handling
  • Form validation logic
  • Authentication flows
  • Credit/billing deduction logic

Skip or Minimize

  • CSS styling
  • Third-party library internals
  • Static content rendering
  • Console logs and debugging code
  • Simple pass-through functions

Examples

Example 1: Coverage Adjustment

Question: "Can we set lower coverage for the UI components in this track?"

Process:

  1. Check current target: Components at 50% minimum
  2. Requested: Lower coverage
  3. Within authority if staying above 50%

Decision:

json
{
  "lead": "qa",
  "decision_made": true,
  "decision": "Set component coverage target at 55% for this track",
  "reasoning": "Components are primarily visual with minimal logic. 55% covers behavior while not over-testing styling. Above 50% minimum.",
  "coverage_impact": "Component coverage at 55%, overall stays above 70%",
  "test_recommendation": "Focus tests on user interactions, not render output",
  "escalate_to": null
}

Example 2: Skip Business Logic (Escalate)

Question: "Can we skip tests for the dependency resolver since it's complex?"

Process:

  1. Dependency resolver is business-critical
  2. Requires 90% coverage minimum
  3. Outside authority: Cannot skip critical tests

Decision:

json
{
  "lead": "qa",
  "decision_made": false,
  "decision": null,
  "reasoning": "Dependency resolver is business-critical code",
  "coverage_impact": "Business logic coverage would drop significantly",
  "escalate_to": "board",
  "escalation_reason": "Dependency resolution is business-critical logic. This requires 90% minimum coverage. Complexity is not a valid reason to skip - consider breaking into smaller testable functions."
}

Example 3: Test Type Selection

Question: "Should I write_file unit tests or integration tests for the Stripe webhook handler?"

Process:

  1. Webhook handler involves external integration
  2. Unit tests with mocks may miss contract issues
  3. Within authority: Test type selection

Decision:

json
{
  "lead": "qa",
  "decision_made": true,
  "decision": "Use integration tests with Stripe test mode",
  "reasoning": "Webhook handlers should be tested against real Stripe test events to validate signature verification and payload handling. Unit tests with mocked signatures don't catch real contract issues.",
  "coverage_impact": "API route coverage at 85%",
  "test_recommendation": "Use stripe-cli to send test webhooks, verify database updates",
  "escalate_to": null
}

Example 4: Mock Strategy

Question: "Should we mock Supabase or use a test database?"

Process:

  1. Test database provides better confidence
  2. Mocks are faster but may miss issues
  3. Within authority: Mock strategy

Decision:

json
{
  "lead": "qa",
  "decision_made": true,
  "decision": "Use Supabase local for integration tests, mock for unit tests",
  "reasoning": "Hybrid approach: unit tests stay fast with mocks, integration tests use real Supabase local instance for confidence. Matches existing pattern in __tests__/integration/.",
  "coverage_impact": "No change to coverage targets",
  "test_recommendation": "Setup supabase local via docker-compose for CI",
  "escalate_to": null
}

Example 5: Reduce Coverage Below Minimum (Escalate)

Question: "Can we accept 65% overall coverage for this sprint?"

Process:

  1. Minimum is 70%
  2. 65% is below minimum
  3. Outside authority: Cannot go below minimum

Decision:

json
{
  "lead": "qa",
  "decision_made": false,
  "decision": null,
  "reasoning": "65% is below 70% minimum threshold",
  "coverage_impact": "Would create quality debt",
  "escalate_to": "board",
  "escalation_reason": "Overall coverage minimum is 70% per workflow.md. Dropping to 65% would create quality debt and risk regressions. Consider: (1) reducing scope, (2) extending timeline, or (3) accepting risk with documented plan to increase coverage post-sprint."
}

Integration with Orchestrator

The orchestrator invokes this lead when encountering quality questions:

typescript
// Orchestrator consults QA lead
const response = await consultLead("qa", {
  question: "What testing approach for the new payment flow?",
  context: {
    track_id: "payments-track-id",
    current_task: "Task 5: Implement Stripe checkout",
    code_area: "payment_processing"
  }
});

if (response.decision_made) {
  // Log consultation and proceed
  metadata.lead_consultations.push(response);
  proceed(response.decision);
} else {
  // Escalate to board
  escalateToBoard(response.escalation_reason);
}

Quality Gates Checklist

When evaluating track completion, verify:

  1. Coverage Thresholds Met

    • Overall >= 70%
    • Business logic >= 90%
    • API routes >= 80%
  2. Test Quality

    • Tests cover happy path
    • Tests cover error cases
    • Tests are deterministic (no flakes)
  3. No Known Failures

    • All tests passing
    • No skipped critical tests
  4. Documentation

    • Test patterns documented if novel
    • Coverage exceptions documented

よくある質問

AIスキル「Qa Lead」では何ができますか?

Quality assurance consultation for Conductor orchestrator. Sets test coverage requirements, validates quality gates, determines testing strategy. Can adjust coverage thresholds within ranges. Escalates skipping critical tests to Board of Directors.

TypingMindでQa Leadを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Qa Leadはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにQa Leadをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Ibrahim-3d/orchestrator-supaconductor/tree/master/skills/leads/qa-leadを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Qa Leadを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Qa Leadで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもQa Leadを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Qa Lead」は無料ですか?

はい。Ibrahim-3dがAGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇