Borrowing it
Nothing to install: this file belongs to Hack23/European-Parliament-MCP-Server. 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/Hack23/European-Parliament-MCP-Server/main/.github/skills/testing-strategy/SKILL.mdgit clone --depth 1 https://github.com/Hack23/European-Parliament-MCP-ServerWrote 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/skills/hack23/european-parliament-mcp-server/testing-strategy)<a href="https://agentmods.dev/skills/hack23/european-parliament-mcp-server/testing-strategy"><img src="https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/testing-strategy/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/skills/hack23/european-parliament-mcp-server/testing-strategy"><img src="https://agentmods.dev/badge/skills/hack23/european-parliament-mcp-server/testing-strategy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Memory Poisoning · line 921 Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
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.00031 | $0.06622 |
| Opus 5 | $0.00015 | $0.03311 |
| Sonnet 5 | $0.00006 | $0.01324 |
| Haiku 4.5 | $0.00003 | $0.00662 |
Grade A, and why
testing-strategy 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 929 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Strategy Skill
Context
This skill applies when:
- Writing unit tests for functions, classes, or modules
- Creating integration tests for MCP protocol handlers
- Mocking European Parliament API responses
- Testing input validation and error handling
- Writing tests for async/await code and Promises
- Implementing test fixtures and test data
- Measuring and improving code coverage
- Testing security controls and edge cases
- Debugging failing or flaky tests
- Setting up test infrastructure and CI/CD
Testing is mandatory for all code. We maintain 80%+ code coverage with fast, deterministic tests that catch regressions early. Tests serve as living documentation and enable confident refactoring.
Rules
- Test Behavior, Not Implementation: Focus on what code does (inputs/outputs), not how it does it
- 80% Coverage Minimum: Maintain 80%+ line coverage, 70%+ branch coverage
- Fast Tests: Unit tests < 100ms, integration tests < 1s, full suite < 5min
- Deterministic Tests: Tests must pass/fail consistently - no flakiness, no randomness
- AAA Pattern: Arrange (setup), Act (execute), Assert (verify) - clear test structure
- One Assertion Per Test: Test one behavior per test case (exceptions for related assertions)
- Mock External Dependencies: Mock European Parliament API, file system, network calls
- Test Edge Cases: Empty inputs, null values, boundary conditions, error paths
- Describe What, Not How: Test names describe expected behavior, not implementation
- Use Type-Safe Mocks: TypeScript mocks should match actual types
- Test Async Properly: Use async/await, avoid callback hell, handle Promise rejections
- Test Security Controls: Validate input validation, rate limiting, authentication, authorization
- Setup and Teardown: Clean up resources, reset mocks, avoid test pollution
- Snapshot Tests Sparingly: Only for stable data structures, not for debugging
- CI/CD Integration: All tests must pass before merge, run on every commit
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.
- 10d ago First seen · 929 lines · 31 tokens per session scan A cd503025952b
testing-strategy is a skill published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 6,622 once invoked, about $0.0002 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-30.
Other skills, from other repositories
tests-run
Execute Unity tests (EditMode or PlayMode) and return per-test results. Supports filtering by test assembly, namespace, class, and method. Refreshes the AssetDatabase first; defers execution across domain reloads if scripts changed. Precondition: every open scene must be saved — dirty scenes abort the run.
testing-assistant
Manages testing lifecycle including unit tests, integration tests, validation, and quality assurance.
testing
To write thorough, isolated, idempotent tests — 80%+ coverage, external-only mocking, scenario-driven.
write-unit-tests
Write comprehensive unit tests with proper setup, assertions, and coverage of happy paths, edge cases, and error scenarios.
fix-codecov-gaps
Fix Codecov patch coverage gaps reported on a pull request. Use when Codecov bot flags missing or partial lines in a PR comment, when patch coverage is below the project threshold (≥87.55%), or when coverage regresses after new code is merged. Covers reading the Codecov report, identifying uncovered lines per file…
edt-mcp-project-yaxunit
Discover, run, debug, poll, and cancel YAXUnit tests through current EDT-MCP launch and background-job contracts. Not for generic UI tests.