sumo-qa copilot-instructions.md

Instructions that route software-quality questions to the sumo-qa service. Software quality assurance, or QA, covers work such as testing, regression checks, test planning, and reviewing whether code is safe to merge; TDD means writing tests as part of the development process.

In plain words
What is it for?
Handling test plans, test strategies, regression scope, exploratory testing, code reviews for merge safety, test scaffolding, mutation testing, test data, QA audits, and test-pyramid design.
Why use it?
It prevents the agent from giving general testing advice when this project requires the QA service and its catalogue of approved guidance. It also says how to handle principles that are not covered by that catalogue.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sumithr/sumo-qa/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/sumithr/sumo-qa

Made for: GitHub Copilot.

Per session 861 This file is loaded in full into every session.
When invoked 861 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00861 $0.00861
Opus 5 $0.00430 $0.00430
Sonnet 5 $0.00172 $0.00172
Haiku 4.5 $0.00086 $0.00086

Measured 2d ago against content hash 88a0666cd542, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sumo-qa copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 55 lines

What it actually says

QA tasks via sumo-qa MCP

Hard rule: for any QA-shaped request — testing, test plan, test strategy, test approach, regression scope, risk-based testing, exploratory testing, code review for safety-to-merge, scaffolding tests, TDD, mutation testing, finding or validating test data, QA audit, test pyramid design — you MUST call sumo_qa_using_sumo_qa (the entry router) before answering. Do not produce QA advice from general training-data knowledge. When citing principles, techniques, classifications, or approaches, load them first via the sumo_qa_load_* tools and cite the loaded catalogue verbatim; say "not in the catalogue" rather than supplementing from memory.

For QA-shaped requests in this repo (test plans, code review, scaffolding tests, finding test data, deciding QA approach), fetch the relevant prompt from the sumo-qa MCP and follow its checklist.

Available skills (each registered as an MCP prompt with the same name, hyphens replaced by underscores):

  • using_sumo_qa — entry router; load this first for any QA intent
  • sumo_qa_deciding_approach — pick the QA approach for the work
  • sumo_qa_preparing_for_work — plan QA before coding starts
  • sumo_qa_creating_test_plan — produce entry/exit criteria, phases, deliverables
  • sumo_qa_implementing_with_tdd — red-green-refactor cycle
  • sumo_qa_reviewing_before_merge — review local diff
  • sumo_qa_strengthening_tests — mutation-testing follow-up
  • sumo_qa_finding_test_data — known-good test data discovery and validation
  • sumo_qa_answering_testing_question — generic "how do I test this?"
  • sumo_qa_strategising — repo-wide QA strategy
  • sumo_qa_planning_qa_rollout — turn a QA chunk into a written plan of bite-sized tasks
  • sumo_qa_executing_qa_rollout — dispatch a signed-off plan task-by-task to fresh subagents
  • sumo_qa_finishing_qa_work — capture evidence and write a PR-ready summary
  • sumo_qa_measuring_coverage — run the repo's coverage/mutation tools, collect the results, persist them for the QA report
  • sumo_qa_suggesting_external_skill — fallback when no native skill fits the intent
  • sumo_qa_closing_qa_gaps — close a named uncovered-behavior gap, one evidenced loop at a time
  • sumo_qa_triaging_test_failures — triage a failing/flaky test: classify the cause, name the smallest isolation step before any fix

The skills carry the senior-QA discipline (Iron Laws, checklists, Red Flags). Knowledge catalogues are accessed via the sumo_qa_load_* tools — use them for principles, techniques, classifications, approaches, and specialty tool fits before relying on training-data knowledge.

Repo-map accelerators: when a .sumo-qa/repo-map.json artifact is present, sumo_qa_scan_repo, sumo_qa_analyze_diff_impact, and sumo_qa_query_repo_map provide fast, deterministic evidence over the codebase (inventory, changed-file impact, ranked search) for the review, strategy, and prepare-for-work skills. sumo_qa_generate_qa_report composes the persisted .sumo-qa artifacts into the static local QA report (.sumo-qa/qa-report.html) when the user asks for a QA report or dashboard.

When creating GitHub issues, use the closest template in .github/ISSUE_TEMPLATE/ and include every required field in the issue body. For implementation tasks raised by an AI agent, use .github/ISSUE_TEMPLATE/ai-task.yml unless a more specific template fits better.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 55 lines · 861 tokens per session scan A 88a0666cd542

Subscribe to this mod's changes

sumo-qa copilot-instructions.md is an instructions file published in the GitHub repository sumithr/sumo-qa (6 stars, last pushed 9d ago), licensed Apache-2.0. It adds 861 tokens to every session, about $0.0043 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens