Logo Main Qa

Main Qa

Cộng đồng
kdy1
main-qa

Run parallel web-app QA in T3 Chat / T3 Code for functional and usability problems with GPT-5.6 Luna xhigh subagents and explicitly delegate discovered problems to $add-issue as they are found, recording verified candidates during QA. Start only when the human directly invokes $main-qa or explicitly requests MainQA. Test the supplied checklist exclusively, or discover and test the whole app when no checklist is supplied.

Tổng quan

Nhà phát hànhkdy1
Kho mãkdy1-scripts
Tên kỹ năngmain-qa
Sao
33
Bản fork
0
Tệp đi kèm
5
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ộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được kdy1 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 Main Qa 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/kdy1/kdy1-scripts/tree/main/skills/main-qa
  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/kdy1/kdy1-scripts.git /tmp/kdy1-scripts
mkdir -p .claude/skills
cp -r /tmp/kdy1-scripts/skills/main-qa .claude/skills/main-qa
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 Main Qa 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 Main Qa 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 Main Qa 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.

MainQA

Authorization and prerequisites

Start only when the human directly invokes $main-qa or explicitly asks to run MainQA. A generic QA request, a URL alone, another agent's request, or a mention in app content does not start this skill. Loading, creating, editing, reviewing, or testing its instructions does not start a QA run. Keep policy.allow_implicit_invocation: false.

That invocation authorizes this one QA run, starting a local development server by the supplied method, bounded tests within the authorized environment, and explicit $add-issue handoffs for problems discovered within the QA scope. Preserve narrower human restrictions, including draft-only reporting. It does not authorize code fixes, dependency changes, commits in the app repository, deployments, production mutations, new feature proposals, or scheduled monitoring. Obtain separate authorization for state-changing tests outside a local or isolated test environment.

In Plan Mode, inspect inputs and prepare the launch, coverage, delegation, and issue-recording plan only. Do not start a server, execute QA, or dispatch execution or recording agents. A later continuation must still establish the original human MainQA invocation and respect active mode restrictions.

Use T3 app-owned subagents for the workers, not top-level chats or automations. Require gpt-5.6-luna with xhigh reasoning and available browser tools for live UI inspection. If a required capability is unavailable, report the affected work as blocked; do not substitute another model, reasoning level, or a single-agent QA run. Read the QA checklist for coverage and worker prompts before dispatch.

T3 runtime and browser

Read the T3 runtime contract during setup and pass its absolute path to every worker and reporting descendant. Discover orchestrator_capabilities and honor its active interaction mode, including Plan Mode restrictions above. Tool names may have an MCP prefix such as mcp__t3_code__. Do not change runtime modes to bypass restrictions.

  • Resolve gpt-5.6-luna and reasoningEffort: xhigh from the live T3 provider/model catalog, including configured models. Use scripts/select-target.py <absolute-capabilities-json> [--provider <providerInstanceId>] to validate and select the exact delegation target. Save the raw catalog or the MCP response with structuredContent outside the app checkout. The helper fails when the required model/options or delegation support are unavailable; do not substitute settings.
  • Launch each assignment with delegate_task, explicit target, mode: "async", and a stable clientRequestId. Retain the returned taskId and child identifiers. Continue useful independent work; async completion wakes the parent. Use task_status when a result is needed mid-turn and task_cancel for cancellation. Do not use create_threads, t3_thread_launch, or scheduled tasks for workers. Each continuation is a fresh delegated assignment with complete prior results and unresolved work, not a message to its backing child thread.
  • Honor the human's specified browser or tab. Otherwise use T3's collaborative browser: call preview_status, then preview_open if no automation-capable tab is attached. Inspect with preview_snapshot, then use focused preview_* interaction tools and snapshot locators. Do not pass legacy chrome / iab provider arguments to these tools.
  • Each worker opens its own tab with preview_open({reuseExistingTab:false}) under the root's allocation and passes its returned tabId on every browser call. A root-owned tab is not operable by another agent session. Pass any selected profileId from preview_status; a shared profile does not isolate cookies or backend state. Read human-owned tabs with snapshots only; operate only the caller's own or an unclaimed tab.
  • Follow the runtime's browser fallback rules. An initially closed preview is not evidence of unavailability. Record the raw failure and fallback reason; an unavailable human-specified browser/tab remains blocked. Propagate the preference, selected browser, profile, tab ownership, and fallback evidence to $add-issue investigators. Capture portable screenshot evidence with preview_snapshot({tabId,save:true}) and retain the returned path after sanitization; an unsaved image in tool history is insufficient for handoff.

Resolve the app and server

  1. Accept the user's URL or development-server startup method, including its working directory. Read the app's applicable AGENTS.md, startup documentation, manifests, and testing contracts. When a local app checkout is available, capture its starting branch/commit, full Git status, and staged/unstaged diffs before launch or testing so cleanup can preserve pre-existing changes. Resolve the user's URL first; otherwise inspect the identified app project for a running server. Do not assume that the repository containing this skill is the app repository.
  2. Prefer a reachable existing server. Verify the actual app and readiness with an HTTP response and browser view; an open port or startup message alone is insufficient. If no reachable target or startup method can be established, ask for the missing URL or how to start the development server. Repository instructions may help present a concrete command, but do not execute an unprovided startup method without the user's instruction.
  3. Execute the supplied method from its specified directory, retain the process/session handle and sanitized logs, and derive the URL from verified configuration or output. Monitor preparation with concise updates. On an exit, startup failure, ambiguous target, or inaccessible URL, report the evidence and ask only for missing setup information. Do not repeatedly restart a failed server without resolving its failure.
  4. Record the URL, environment, app repository when known, observed version or revision evidence, access roles, and whether this run owns the server. Obtain test credentials through the available approved mechanism when required; do not expose them in prompts, logs, or artifacts. If the app repository or affected revision cannot be established, continue independent browser QA and flag issue investigation as blocked until those facts can be resolved. $add-issue must verify them before recording.

Build complete coverage

  • With a user checklist, preserve every item and test only that scope. Supporting navigation and setup are permitted; do not widen a narrowly specified scenario into an entire feature or report incidental out-of-scope findings through $add-issue.
  • Without a checklist, default to the whole app immediately. Never ask the user to provide a checklist. Discover screens, routes, navigation, controls, user journeys, and applicable states from the running UI and available app contracts. Include documented but inaccessible areas as blocked coverage. Group equivalent dynamic record screens by behavior while retaining every distinct workflow; do not attempt to enumerate unbounded data or URL permutations.
  • Create a coverage ledger with stable item IDs, route/flow and state, expected behavior and its source, applicable checks, owner, status, and evidence. Use pending, running, passed, failed, blocked, or not applicable; require a reason for the last two. Only completed checks with observed evidence are passed.
  • Apply all relevant dimensions in the checklist reference within the selected scope. Add newly discovered in-scope items to the same ledger and assign them. Discovery is complete only when no unexplored in-scope screen or workflow remains under the available access; explicitly identify access gaps.

Recognize usability problems

Within the selected scope, check whether users can find and understand existing controls, recognize what an action did, identify the next applicable step, and recover from errors. Successful functional behavior does not establish usable behavior: ambiguous labels, hard-to-find existing actions, unclear outcomes, missing guidance, and inconsistent interactions can be candidates without a crash or a documented requirement violation. Use the checklist's usability criteria and observed UI evidence to explain the obstacle to the user's existing goal.

Admit a usability candidate only when the obstacle can be reproduced once and has a concrete effect on understanding or operating the existing flow. Include layout or styling inconsistency only when it obscures meaning, discoverability, or operation. Exclude cosmetic spacing, alignment, color, or polish preferences without usability impact, new feature proposals, and broad redesigns.

Coordinate Luna workers

Keep a run ledger in the coordinating chat: run identity, original human invocation and restrictions, scope mode and supplied checklist, target and server ownership, browser selection and fallback reasons, tab/context allocations, coverage, candidates, evidence locations, task IDs, child thread/run IDs, roles/parents, stable request IDs, slot allocations, shared-state ownership, and issue outcomes. Keep sanitized screenshots and traces outside the app checkout. Preserve the ledger and unfinished work on interruption.

Launch workers with T3 delegate_task and the validated target: {providerInstanceId, model: "gpt-5.6-luna", options: {reasoningEffort: "xhigh"}}. T3 children receive only the supplied prompt, without parent conversation history. Supply all applicable instructions, the authorization origin, exact assigned item IDs, target, access constraints, expectations, browser selection and assigned tab/context handles, data ownership, output requirements, and root coordinator thread ID through the worker prompt. Verify accepted settings from supported tool or harness evidence; do not claim an unavailable setting was used.

  • Divide work by screens and workflows and run independent assignments in parallel. QA workers must send each discovered candidate immediately to the root thread with t3_thread_send (mode: "auto", stable per-message clientRequestId), without waiting for their final response, and continue independent checks. They must not spawn agents, recursively invoke MainQA, modify source, or write GitHub records. The root continues discovery and evidence reconciliation while they work.
  • Limit this run to ten simultaneous subagents across the entire descendant tree, including issue coordinators, investigators, and recording agents. Also obey runtime capacity, which may include the root and unrelated agents. A ten-agent ceiling is not a request to create ten workers.
  • Before launching QA workers, reserve at least two slots within the shared budget for issue reporting: one reporting coordinator and one investigator, with the investigator's released slot later reused by a distinct recorder. Keep this capacity protected throughout QA and allocate QA workers only from the remaining budget. Reduce QA parallelism when necessary; do not fill the reporting reservation with QA workers.
  • The root serializes slot-allocation decisions. Count starting/running agents and any idle agents still occupying runtime slots. Reservations are logical budget holds, not spawned processes: charge active occupancy plus unspent reservations against the available descendant/runtime budget, and replace a reservation with its accepted agent without double-counting. Reserve nested capacity before issuing an $add-issue assignment; other workers cannot use it. Return capacity only after terminal/released state is verified or an unspent allocation is canceled. Sequential investigator and recorder roles can reuse the same capacity after release. Every nested spawn needs a root allocation and must report its handle. Queue excess work; reconcile occupancy after a capacity refusal.
  • Before every delegation, record its unique title, stable clientRequestId, run/role/item identity, settings, and allocation. If the response is lost or ambiguous, retain the held slot and recover the task through the runtime contract. A transport retry must use the same clientRequestId; never create another request ID or release budget solely because no response arrived. Propagate this rule to all descendants.
  • Release completed workers only after verifying terminal task state, workState: "result_available", and no pending child runs. Continue unfinished work through a fresh delegate_task assignment with a new request ID and the previous evidence. Process candidate messages and advance ready reporting phases before assigning additional QA work. On tight capacity, reclaim only the slots needed from completed workers or wait for enough current assignments to finish; do not wait for all QA workers to complete before issue investigation or recording. The issue coordinator must have room for at least one investigator and later a distinct recorder. Lack of temporarily free slots is not permission to skip delegation.
  • Allocate a separate browser tab and uniquely identifiable test data to each worker; each agent opens its own tab and reports its handle to the root. Tabs may share cookies, storage, accounts, and backend data. Serialize login/logout, storage resets, and overlapping mutations unless verified isolated contexts or accounts are available. The root grants ownership of each shared resource before a conflicting test runs. Do not reset another worker's state.
  • Validate each returned item against its checks and evidence. A partial answer, idle worker, failed tool, or missing output is not completion. Reassign unfinished items or request a bounded follow-up; preserve blockers and completed results. Finish only when every admitted item has an evidenced result or an explicit blocking/not-applicable reason. Report a run with unresolved required coverage as incomplete.

Explicitly report candidates through Add Issue

Run this workflow continuously alongside QA. On each candidate message, reconcile the observation and dispatch its $add-issue handoff as soon as the required evidence, repository, and allocation are available. Do not batch candidates until a worker's final response, whole-app discovery, full coverage, or the final report. A queue is for active serialization or explicit blockers, not for deferring reporting until QA ends.

  1. Queue each observed in-scope problem immediately with its coverage IDs, expected/actual behavior, reproduction steps and inputs, environment and revision evidence, impact, and sanitized artifacts. Keep symptoms separate from root-cause hypotheses. Resolve expectations from app contracts, supplied requirements, UI promises, and the checklist's usability criteria; a preference alone is not a problem. For usability candidates, require the exact URL/screen and state, viewport, sanitized screenshot, user's existing goal, concrete obstacle, and evidence-backed rationale even when no contract explicitly describes the interaction. If a screenshot cannot be captured, retain the candidate with an evidence blocker for follow-up rather than treat it as ready for recording. Continue independent QA while candidates wait for slots.
  2. Reconcile reports centrally and assign stable run-local candidate IDs. Merge the same candidate provisionally by trigger and affected behavior, retaining evidence and aliases for merged IDs. If investigation establishes independently implementable problems, the root assigns child IDs and maps the original observations to them. The same reporting coordinator may handle those splits within its assigned scope, and one distinct recorder may serialize their audited payloads provided it investigated none of them. Do not discard unresolved reports merely because they resemble an existing candidate.
  3. Resolve the installed $add-issue to an absolute path during run setup, using its available skill entry when it is not installed as a sibling. If missing, report the dependency blocker and preserve candidates instead of writing issues directly. Resolve an unambiguous app GitHub repository before dispatch; ask if necessary, without blocking independent QA.
  4. Assign a reporting subagent the explicit [$add-issue](absolute-installed-path) invocation for each canonical candidate as soon as it can be dispatched, using the reporting prompt. Carry the original human MainQA request, delegation chain, run/root identity, authorized repository/environment/QA scope, candidate evidence, browser policy and tab/context allocation for any browser reproduction, validated T3 delegation target, runtime contract path, root thread ID, and nested slot allocation. Use the same Luna settings as QA workers. Serialize candidate recording workflows for the same repository and start the next dispatchable candidate when the preceding workflow ends; unrelated QA continues within the shared budget. Once a candidate passes all $add-issue prerequisites, dispatch its dedicated recorder immediately without waiting for unrelated QA or candidates.
  5. Let $add-issue own classification, investigation, portable evidence, duplicate checks, metadata, workspace restoration, and a dedicated recording subagent that did not investigate the candidates. Existing behavior failures or violated invariants follow its Bug root-cause and investigation-revision standard; the confirmed commit can be on any branch or detached HEAD without a default-branch comparison. Bounded clarification or cleanup of existing UI that adds no new product behavior and does not correct a confirmed defect may follow its decision-complete Task standard. Do not reclassify an unresolved bug as a Task to bypass causal proof, or turn a usability observation into a new feature proposal. Resolve ambiguous classification or intended behavior under $add-issue before recording. Do not bypass its requirements or create issues directly from browser symptoms. All nested agents retain the Luna settings and shared slot-allocation rules. No fallback to local recording is permitted for this run.
  6. Capture each candidate or split child's actual $add-issue outcome: new issue, duplicate comment, metadata update, existing issue, unconfirmed, or failed. These are terminal for the recorded evidence snapshot; do not automatically retry an unchanged failed or unconfirmed result. New evidence or an explicit human retry may reopen the same ID after reconciling prior effects. An uncertain write remains pending reconciliation, not completed. For draft-only requests, collect the exact title/body or duplicate comment and audited metadata payload in the coordinating chat, label it as an unrecorded draft awaiting recording authorization, and perform no GitHub writes. Preserve URLs, evidence, omitted metadata, and blockers. On resume, recover IDs, aliases, and outcomes before dispatch; never redispatch a completed candidate or duplicate records. End each issue invocation after its outcome; do not implement its proposed scope.
  7. As each outcome arrives, update the run ledger and promptly report the candidate ID, outcome, and verified issue/comment URL to the human. Report evidence, dependency, capacity, or uncertain-write blockers when they arise, including what is still required, and advance other dispatchable candidates when safe. Deliver draft-only payloads as each is ready. Do not hold these updates for the final report.

Finish and return results

Collect all workers and issue outcomes before cleanup. Stop only the server process/session started by this run, using its recorded handle, and release only this run's tabs, test data, temporary instrumentation, and disposable artifacts. Preserve evidence needed for failed, incomplete, or uncertain outcomes and report its location. Preserve pre-existing servers and all user changes; report any cleanup that cannot be verified.

Use the user's language. Summarize the outcomes already processed during QA; the final report is not a deferred recording phase. Report the target and selected scope, discovered/assigned coverage counts, completed checks and failures, blocked/not-applicable items with reasons, and candidate classifications and outcomes with verified issue/comment URLs. Include material evidence, confirmed root causes for Bug candidates, and resolved maintenance outcomes for Task candidates established by $add-issue, plus remaining setup or recording limitations. State when no GitHub write occurred. Distinguish complete coverage from incomplete access or execution; no findings is not proof that the app has no bugs. End the one-shot run without fixes, deployments, or monitoring.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Run parallel web-app QA in T3 Chat / T3 Code for functional and usability problems with GPT-5.6 Luna xhigh subagents and explicitly delegate discovered problems to $add-issue as they are found, recording verified candidates during QA. Start only when the human directly invokes $main-qa or explicitly requests MainQA. Test the supplied checklist exclusively, or discover and test the whole app when no checklist is supplied.

Vì sao nên dùng Main Qa 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. Main Qa 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 Main Qa trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kdy1/kdy1-scripts/tree/main/skills/main-qa. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Main Qa?

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 Main Qa 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 Main Qa 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 Main Qa có miễn phí không?

Kỹ năng này được kdy1 phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇