Логотип Goat Qa

Goat Qa

Організація
blundergoat
goat-qa

Use when evaluating test coverage gaps, planning test strategy, or assessing testing risk for code changes.

Огляд

Видавецьblundergoat
Репозиторійgoat-flow
Назва навичкиgoat-qa
Зірки
32
Форки
2
Файли в пакеті
1
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: blundergoat. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Goat Qa у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/blundergoat/goat-flow/tree/main/.agents/skills/goat-qa
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/blundergoat/goat-flow.git /tmp/goat-flow
mkdir -p .claude/skills
cp -r /tmp/goat-flow/.agents/skills/goat-qa .claude/skills/goat-qa
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Goat Qa в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Goat Qa, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Goat Qa не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

/goat-qa

Shared Conventions

Read .goat-flow/skill-docs/skill-preamble.md before starting. On full-depth, also read .goat-flow/skill-docs/skill-conventions.md.

When to Use

goat-qa maps changed code or a codebase area to coverage and prioritized must/should/skip guidance. It neither writes nor runs tests.

Boundary Commands

  • NEVER: Run or write tests, verify fixes, review code, or certify merges.
  • ALWAYS: Map code risk to tests read; return tiers with Verification Integrity.
  • DEFER TO: Direct test execution, /goat-debug, /goat-review, /goat-plan, or the dispatcher.
ExcuseReality
"CI is green so coverage is fine"Scanner scored 100% while preflight failed with 8 errors. CI tests what was thought of; gap analysis looks for what wasn't.
"Unit tests cover it"Structural tests that import and snapshot pass at high coverage but miss every behavioural edge. STRUCTURAL is not BEHAVIOURAL.

Coverage Depth

LevelMeaning
NONENo current automated assertion or manual plan found for the named behaviour after a bounded search
STRUCTURALImports, constructs, snapshots, or collaborator choreography only - no behaviour assertion
PARTIAL-BEHAVIOURALHappy path or narrow behaviour only; error/edge paths untested
BEHAVIOURALMeaningful output, side-effect, error-path, or invariant coverage

Exhaustive priority matrix

Use this matrix in Standard and Audit modes so every risk/coverage pair lands in exactly one tier:

RiskNONESTRUCTURALPARTIAL-BEHAVIOURALBEHAVIOURAL
CRITICALBlockingBlockingBlockingDefer
HIGHBlockingBlockingHigh-valueDefer
MEDIUMHigh-valueHigh-valueHigh-valueDefer
LOWDeferDeferDeferDefer

Standard maps Blocking to Must test, High-value to Should test, and Defer to Safe to skip. Audit uses the matrix labels directly.

Test Selection Contract

Before assessing a proposed or existing test, read .goat-flow/skill-docs/playbooks/test-selection.md. Apply its four-part value gate: plausible regression, user or business impact, current overlap and why other coverage is insufficient, and a stable observable contract. Priority and disposition are separate: the matrix says when evidence matters; the playbook says what to do with a candidate.

The playbook owns creation, existing-test, added-test, removed-test, and relocated-test dispositions. Select its matching vocabulary by selector and change state, including added, removed, materially changed, and proven relocated cases in PR or uncommitted work. Failing the creation gate never authorizes deletion. Unresolved evidence keeps an existing test in place and names the next check. CONSOLIDATE and MOVE LEVEL retain the original until trustworthy replacement coverage passes; PRUNE CANDIDATE explains why no replacement is required.

Mock collaborator call counts, call order, non-calls, and simulated cooperation remain STRUCTURAL unless the interaction is a named public protocol; they earn no integration confidence. Prefer consolidation when nearby cases lack distinct regression stories. Every recommendation carries the playbook's compact record. goat-qa stays report-only: ordinary ACT must re-read current code and coverage before any separately approved add, move, consolidation, or prune action.

Candidate Disproval Pass

Run this pass immediately before every gated or final output. Re-read the evidence for each candidate and assign exactly one outcome:

  • confirm - the candidate survives disproval and may enter the gap report or testing plan when it also passes the test-selection gate.
  • kill as false positive - current evidence disproves the candidate, so exclude it from gaps and recommendations.
  • keep with named missing evidence - the available evidence cannot settle the candidate; keep it UNRESOLVED and name the next check.

Preserve every killed candidate under Refuted Candidates: claim, exclusion reason, evidence quality/method/summary, nullable file/line, and any command, exit, or excerpt. Static evidence cites file and semantic anchor; runtime/mixed evidence names command and exit. Write None when empty. Never promote killed candidates into gaps or recommendations.

Step 0 - Intake

Mode detection - scope wins over vocabulary:

  • Explicit request to preserve a verified fix, prevent regression, or add regression guards → Regression Guard mode
  • Explicit diff, PR, branch, changed-file, or recent-change scope → Standard mode (quick depth), even when the request also says "audit", "coverage", or "gaps"
  • Explicit codebase area, directory, module, or risk-class coverage audit with no recent-change scope → Audit mode (full depth)
  • Bare "audit", "coverage", or "gaps" with no change or area scope → ask whether the user means recent-change Standard or no-diff area Audit

Depth mapping: Regression Guard reads cited evidence plus code/tests; Standard reads changes; Audit reads a no-diff area. Scope semantics outrank dispatcher depth.

Gather: scope, existing test plan (if any), audience. Check instruction Essential Commands or package.json for test/lint commands.

Standard Scope-Size Gate: Count changed files before deep analysis. If too large, rank a load-bearing/interface slice; proceed after confirmation.

Footgun check: Run the preamble's target-area learning-loop retrieval. Emit matches or an explicit miss; never broad-load a bucket.

PR / issue link: benchmark acceptance criteria. With gh, read the PR and diff; otherwise record no-intent-spec, lowering safe to skip confidence.

No existing tests: mark coverage NONE: "No automated tests; verification falls to human and AI reviewers."

CHECKPOINT: Regression Guard: "Mapping [N] invariants against [prior fix evidence / unavailable evidence]." Standard: "Analysing [N] changed files against [existing test plan / no test plan]." Audit: "Auditing [scope] against [existing tests / no tests]." Proceed unless scope, audience, or test plan is ambiguous.

Phase 1 - Change Risk Analysis

Read every changed file. For each, understand WHAT changed and WHY it's risky.

Diff analysis - not just file names. Read the actual diff, not just --stat; one auth line can outrank 200 CSS lines.

Classify each change:

RiskWhat it meansExamples
CRITICALIf this breaks, users are directly affected or security is compromisedAuth logic, payment flow, data mutation, permission checks, API contracts
HIGHBusiness logic or integration that affects correctnessCalculations, state transitions, cross-service calls, database queries
MEDIUMInternal logic with limited blast radiusUtilities, validators, formatters, isolated components
LOWCosmetic, config, or changes with no behavioural impactStyling, copy, constants, private/internal type-only changes with no contract impact

Risk precedence: Risk follows impact, not syntax. A type-only change is LOW only when it cannot change or misrepresent a public/exported, serialized, persisted, or cross-module contract. When classifications overlap, use the higher risk.

For each CRITICAL/HIGH change, trace callers, consumers, user-visible flows, downstream services, and matched footguns/lessons.

Output: Change Risk Map

FileLines ChangedWhat Changed (plain English)RiskBlast RadiusUser-Visible Impact

CHECKPOINT: "Risk map complete. [N] CRITICAL, [M] HIGH risk changes. Proceeding to gap analysis."

Phase 2 - Gap Analysis

Compare risk and coverage bidirectionally:

  • With a test plan, map every case and CRITICAL/HIGH/MEDIUM change in both directions.
  • Without one, map every changed behaviour to automated tests and flag gaps.
  • Read each matched test file and classify coverage depth; record unavailable tests in Verification Integrity.
  • Apply the exhaustive priority matrix to every changed behaviour. Blocking/High-value gaps are Undertested risk; evidence-backed test-to-risk mismatches are Misaligned effort.
  • Apply the test-selection value gate and record one applicable playbook disposition for every assessed or proposed test; incomplete evidence is UNRESOLVED, not omission; use the matching change-state qualifier.

For CRITICAL items with no coverage, annotate why: new path / missed coverage on existing path / hard-to-test.

Intent vs Reality Diff (when intent spec exists): If a PR, issue, test plan, or user-provided acceptance criteria is available, add:

| Expected Behaviour | Observed Code Behaviour | Gap | Risk |

Map each stated expectation to the code path that implements it. Gaps between intent and code are undertested-risk candidates.

BLOCKING GATE (auto-released on explicit test-plan intent): Run the Candidate Disproval Pass, then present gap analysis, Refuted Candidates, and Verification Integrity. Ask "Continue to Phase 3, or adjust first?" unless the invocation explicitly requested what to test or a test plan; then treat it as a CHECKPOINT and continue. Reserve diagrams for Phase 3, then suggest /goat-plan.

Illustrative scenario - input/output shape only; never evidence.

Worked Standard example: A terminal-launch diff is HIGH risk. Read its smoke tests; safe to skip more PTY timing tests only when current target evidence proves timing code is unchanged.

Phase 3 - Targeted Testing Plan

Based on the gaps, produce a focused plan and order by risk.

Must test (matrix Blocking): value-gated recommendations with dispositions, what breaks, and grounded effort estimate; if effort is unknown, write unknown - needs harness/project context Should test if time allows (matrix High-value): same record, lower priority Safe to skip this round (matrix Defer): name considered areas, disposition, and why they can wait Misaligned effort: assign an evidence-backed existing-test disposition; do not turn mismatch into deletion authority

CHECKPOINT: "Targeted testing plan ready. Want a flow diagram for any CRITICAL item?"


Audit Mode

For a codebase area with no recent change. Audit mode analyses existing load-bearing files, coverage depth, and structural-vs-behavioural gaps. It does NOT read a diff; skip Phase 1.

A1 - Scope

Declare the audit boundary explicitly. Supported shapes:

  • A directory (e.g. src/payments/) - every source file inside.
  • A module (e.g. src/reporting/) - the module's entry point and direct callees.
  • A risk class (e.g. "everything touching auth tokens") - files you would need to read to verify the claim.

If unsure, ask the user before A1.5.

A1.5 - Scope-Size Gate

Count files before deep analysis. If too large, rank a load-bearing/interface slice; proceed after scope confirmation.

A2 - Inventory and Risk Ranking

Without any diff, classify each in-scope file by its role, not its recency:

RoleExamples
Load-bearingauth, payments, permission checks, data mutation, migration
Interface boundaryAPI routes, CLI commands, public exports
Integration glueconfig loaders, filesystem bridges, external clients
UI / presentationviews, templates, styling
Supporttypes, constants, pure helpers

File role sets inspection priority, not risk. Assign risk from each named behaviour's demonstrated impact and blast radius after inventory. A public export or route alone does not force CRITICAL or HIGH.

A3 - Coverage Analysis

For each in-scope file:

  1. Inventory named behaviours/invariants with a code anchor and risk before coverage; CRITICAL/HIGH/MEDIUM inventory must be exhaustive.
  2. Create one row per named behaviour; files may have multiple rows/labels.
  3. Search all tests and exported-symbol references. No matching test/manual plan → coverage NONE.
  4. Read matches; classify assertions for that behaviour. Mock choreography stays STRUCTURAL and skipped real boundaries stay explicit.

A file summary cannot promote a row. BEHAVIOURAL applies only to the named behaviour/invariant actually asserted.

Misaligned effort is an observed test-to-risk mismatch. Evidence must show duplicate tests adding no distinct branch/invariant while higher-risk behaviour is uncovered; mock-heavy/structural tests displacing user-visible or error paths; or deeper LOW-risk coverage beside uncovered CRITICAL/HIGH paths. Do not infer misalignment from high coverage alone or recommend deleting safety coverage. If no item meets these evidence conditions, report none found and name the comparison.

A4 - Gap Report

Rank each behaviour row by Risk × uncovered fraction: CRITICAL=4, HIGH=3, MEDIUM=2, LOW=1; NONE=1.0, STRUCTURAL=0.66, PARTIAL-BEHAVIOURAL=0.33, BEHAVIOURAL=0. Output:

  • Blocking gaps - every matrix Blocking pair. One line per behaviour/invariant: file + code anchor, missing assertion, value-gated disposition, and intended owning surface or next evidence check.
  • High-value additions - every matrix High-value pair; describe the untested path and value-gated disposition.
  • Defer - every matrix Defer pair; record an evidence-backed disposition. A BEHAVIOURAL row never defers uncovered sibling behaviours in the same file.
  • Misaligned effort - evidence-backed test-to-risk mismatches with an existing-test disposition, or none found with named comparison.

Illustrative scenario - input/output shape only; never evidence.

Worked Audit example: Read tests, not filenames: integration coverage can make a file PARTIAL-BEHAVIOURAL. Classify <target-project>/src/content-check.ts as NONE only after checking unit, integration, and exported-symbol references.

BLOCKING GATE: Run the Candidate Disproval Pass, then present the gap report and Refuted Candidates. Wait for human decision before generating a testing plan response. Create no plan file unless separately approved. After approval, preserve the A4 tiers in the Audit post-gate template in references/output-templates.md.

Regression Guard Mode

After a verified fix, cite its source; define the human-readable invariants; compare existing tests/manual coverage; apply the value gate and disposition set; run the Candidate Disproval Pass; then emit the standalone template with Refuted Candidates and Verification Integrity. Do NOT verify the fix. This mode replaces the phase flow; skip Phases 1-3.

Constraints

  • goat-qa is a testing GAP ANALYSER - it finds mismatches between code (changed or existing) and testing coverage
  • MUST compare in-scope code against existing testing coverage (manual plan, automated tests, or neither)
  • MUST assess gaps in BOTH directions: undertested risks AND misaligned test effort; report none found rather than inventing either
  • MUST use the declared mode's priority tiers: Standard uses "must test / should test / safe to skip"; Audit uses "Blocking / High-value / Defer"
  • MUST include Verification Integrity section
  • MUST run the Candidate Disproval Pass before every gated or final output and preserve killed candidates under Refuted Candidates
  • MUST apply the preamble's Proof Gate to every claim made in the gap analysis or testing plan.
  • MUST apply test-selection.md before recommending an addition or an existing-test change; priority never substitutes for disposition
  • MUST NOT generate test code - hand off to the coding agent
  • If flow diagrams are requested, use Mermaid flowcharts (8-15 nodes, happy path first, annotate gap status per node).
  • Regression guard: MUST state invariants as human-readable sentences; MUST cite prior fix-verification source; MUST NOT verify the fix itself
  • MUST defend zero-gap results explicitly: state what was checked and why no gaps surfaced. Zero gaps without justification is an error condition, not a clean bill.

Output Format

After analysis, read references/output-templates.md and select only the template matching the mode and gate reached. Do not load the reference during intake; the phase bodies above define analysis and gate behaviour.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Goat Qa?

Use when evaluating test coverage gaps, planning test strategy, or assessing testing risk for code changes.

Навіщо використовувати Goat Qa у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Goat Qa — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Goat Qa у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/blundergoat/goat-flow/tree/main/.agents/skills/goat-qa. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Goat Qa?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Goat Qa?

Зі скількома забажаєте. У TypingMind ви можете використовувати Goat Qa із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Goat Qa?

Так. На GitHub цю навичку публікує blundergoat за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇