Borrowing it
Nothing to install: this file belongs to bug-ops/mcpls. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bug-ops/mcpls/main/.github/instructions/tests.instructions.mdgit clone --depth 1 https://github.com/bug-ops/mcplsWrote 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.
[](https://agentmods.dev/instructions/bug-ops/mcpls/tests)<a href="https://agentmods.dev/instructions/bug-ops/mcpls/tests"><img src="https://agentmods.dev/badge/instructions/bug-ops/mcpls/tests/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/bug-ops/mcpls/tests"><img src="https://agentmods.dev/badge/instructions/bug-ops/mcpls/tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00425 | $0.00425 |
| Opus 5.5 | $0.00170 | $0.00170 |
| Sonnet 5.5 | $0.00085 | $0.00085 |
| Haiku 4.5 | $0.00042 | $0.00042 |
Grade A, and why
mcpls tests.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 2mo 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.
What it actually says
Test design
Tests for async code must use #[tokio::test] and exercise the actual async paths, not
synchronous wrappers that bypass scheduler interactions. Concurrency bugs (lock
contention, channel saturation) are only reachable through genuine async execution.
Tests that require an external binary must be marked #[ignore = "Requires <binary> in PATH"]. CI runners do not have language server binaries; an unmarked test will fail
on every clean run.
Correctness invariants to cover
Any code path that pairs a filesystem operation with a subsequent network notification (open, close, re-open after external edit) must have a test that exercises the full sequence using a mock network client and a real temporary file — not just the filesystem primitive in isolation.
Glob matching tests must use absolute path strings as input. Passing a bare filename
to a glob set will pass even when the production code fails on absolute paths, because
globset anchoring behaviour differs between the two cases.
Round-trip tests for serialisable types must cover every variant, and must assert the
serialised string value, not just that deserialisation succeeds. A rename_all typo
produces a wrong on-disk format that round-trips correctly in isolation.
Idiomatic test code
Prefer assert_eq! over assert!(a == b) — assert_eq! prints both values on
failure, making diagnosis faster.
Use tempfile::tempdir() for tests that need real filesystem paths. Hard-coded /tmp
paths cause test interference when multiple test threads run in parallel.
Prefer #[tokio::test] over tokio::runtime::Runtime::block_on in test bodies —
block_on does not integrate with tokio's test utilities (time::pause,
time::advance) needed for testing debounce and timeout logic.
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.
- 2mo ago First seen · 41 lines · 425 tokens per session scan A e4d33a021f7c
mcpls tests.instructions.md is an instructions file published in the GitHub repository bug-ops/mcpls (81 stars, last pushed 2d ago), licensed Apache-2.0. It adds 425 tokens to every session, about $0.0017 per session on Opus 5.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-30.
mcpls tests.instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcpls tests.instructions.mdbug-ops/mcpls | Instructions file | 81 | 2d ago | Apache-2.0 | A | 425 | GitHub Copilot |
| vibetags com-example-indexed-app-DocumentService.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 234 | GitHub Copilot |
| vibetags com-example-service-NewAnnotationsShowcase-SandboxTestHelper.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 98 | GitHub Copilot |
| vibetags com-example-testing-GoldenPayloadFixtures.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 75 | GitHub Copilot |
| vibetags com-example-testing-PaymentFixturesTest.instructions.mdPIsberg/vibetags | Instructions file | 25 | today | MIT | A | 91 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |