uzomuzo-oss test-design.instructions.md

uzomuzo-oss test-design.instructions.md is an instructions file for GitHub Copilot from future-architect/uzomuzo-oss. It costs 2,490 tokens per session, scanned A, original, Apache-2.0.

Testing guidance for deciding which cases to cover before a pull request, including edge cases, fuzzing, and layer-specific test boundaries.

In plain words
What is it for?
Use it to plan tests for new features, choose representative input groups, review edge-case coverage, and keep domain tests separate from infrastructure code.
Why use it?
It helps prevent missing important inputs and keeps tests from violating the architecture of the codebase.

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/future-architect/uzomuzo-oss/test-design
Clone the repo
git clone --depth 1 https://github.com/future-architect/uzomuzo-oss

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uzomuzo-oss test-design.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/future-architect/uzomuzo-oss/test-design.svg)](https://agentmods.dev/instructions/future-architect/uzomuzo-oss/test-design)
Your own site
<a href="https://agentmods.dev/instructions/future-architect/uzomuzo-oss/test-design"><img src="https://agentmods.dev/badge/instructions/future-architect/uzomuzo-oss/test-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,490 This file is loaded in full into every session.
When invoked 2,490 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.02490 $0.02490
Opus 5 $0.01245 $0.01245
Sonnet 5 $0.00498 $0.00498
Haiku 4.5 $0.00249 $0.00249

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

Security

Grade A, and why

uzomuzo-oss test-design.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 3d 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/instructions/test-design.instructions.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Design — pre-PR lens

A rule for what to test. The companion rule testing-performance.md covers how to write Go tests (t.Parallel, t.Cleanup, fixture layout, race detection, benchmark hygiene). Post-PR review patterns that were actually caught land in copilot-learned-coding.md. This document is the pre-PR lens that prevents the "what cases did I forget?" gap before code review starts.

When to consult

  • A planner or architect drafting a test plan for a new feature
  • An implementer writing a new function / service / infrastructure client
  • A code reviewer asking "is edge-case coverage sufficient?" / "is there a fuzz target missing for this parser?"

Cross-layer rule

Tests respect the same layer rules as production code. Under DDD, internal/domain/** tests must not import internal/infrastructure/** or third-party modules that infrastructure depends on. Domain tests stay pure-Go + stdlib + your own domain types. Application-layer tests may compose mocks of infrastructure interfaces but must not import concrete infrastructure clients (depsdev, GitHub, nuget, pypi, etc.) directly.

When property-based testing (pgregory.net/rapid) is adopted in the future, do not put rapid imports directly under internal/domain/**. Use an isolated package (e.g. internal/propertytests/<layer>/) gated by a build tag (//go:build pbt) so production code remains dep-free.

Input-selection techniques (classical QA)

Each technique gets a 1-2 line definition and a concrete pin in this repo. The pins are existing tests — the point here is to show what each technique looks like in this codebase, not to introduce new tests.

Equivalence Partitioning

Divide the input domain into classes that should behave identically; test one representative per class. The point is not coverage by line count but coverage by behavior class — three inputs in the same class do not add information.

  • Repo pin: internal/common/purl/parser.go::ParsePURL and internal/common/purl/parser_test.go. Input domain partitions by PURL shape: known ecosystem with namespace (Maven), known ecosystem without namespace (Go, npm flat), known ecosystem with version qualifier, malformed string, empty string. One representative per class.

Read the full file on GitHub · 218 lines

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. 3d ago First seen · 218 lines · 2,490 tokens per session scan A 555a46030fd9

Subscribe to this mod's changes

uzomuzo-oss test-design.instructions.md is an instructions file published in the GitHub repository future-architect/uzomuzo-oss (32 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,490 tokens to every session, about $0.0124 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-09-01.