Logo Qa Lead

Qa Lead

Cộng đồng
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

Tổng quan

Nhà phát hànhIbrahim-3d
Kho mãorchestrator-supaconductor
Tên kỹ năngqa-lead
Sao
378
Bản fork
38
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépAGPL-3.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Ibrahim-3d công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Qa Lead trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Ibrahim-3d/orchestrator-supaconductor/tree/master/skills/leads/qa-lead
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Qa Lead trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Qa Lead ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Qa Lead với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Qa Lead làm được gì?

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.

Vì sao nên dùng Qa Lead trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Qa Lead là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Qa Lead trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Ibrahim-3d/orchestrator-supaconductor/tree/master/skills/leads/qa-lead. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Qa Lead?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Qa Lead với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Qa Lead với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Qa Lead có miễn phí không?

Có. Kỹ năng này được Ibrahim-3d phát hành trên GitHub theo giấy phép AGPL-3.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇