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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Ibrahim-3d 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Qa Lead AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Qa Lead。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Qa Lead 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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

常见问题

Qa Lead AI 技能有什么作用?

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,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Qa Lead?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Qa Lead 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Qa Lead 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Qa Lead AI 技能免费吗?

是的。Ibrahim-3d 已在 GitHub 上根据 AGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇