testing

testing is a skill for Claude Code from elevanaltd/HestAI-MCP. It costs 22 tokens per session (677 once invoked), scanned A, original, Apache-2.0.

Testing conventions for a Python project, including pytest test groups, test organization, and test-driven development (TDD). TDD means writing a failing test before the implementation.

In plain words
What is it for?
Use it to organize unit, behavior, contract, and integration tests; follow the red-green-refactor cycle; and check behavioral coverage.
Why use it?
It gives tests a consistent structure and makes quality checks easier to apply as the codebase grows.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to organize unit, behavior, contract, and integration tests; follow the red-green-refactor cycle; and check behavioral coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/elevanaltd/hestai-mcp/testing
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.

Any agent
npx skills add elevanaltd/HestAI-MCP --skill testing
Clone the repo
git clone --depth 1 https://github.com/elevanaltd/HestAI-MCP

Made for: Claude Code.

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 testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/elevanaltd/hestai-mcp/testing/github.svg)](https://agentmods.dev/skills/elevanaltd/hestai-mcp/testing)
Your own site
<a href="https://agentmods.dev/skills/elevanaltd/hestai-mcp/testing"><img src="https://agentmods.dev/badge/skills/elevanaltd/hestai-mcp/testing/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.

agentmods 80×15 button for testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/elevanaltd/hestai-mcp/testing"><img src="https://agentmods.dev/badge/skills/elevanaltd/hestai-mcp/testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 677 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00022 $0.00677
Opus 5 $0.00011 $0.00338
Sonnet 5 $0.00004 $0.00135
Haiku 4.5 $0.00002 $0.00068

Measured 7d ago against content hash 643cbf4e13e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

testing 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 7d 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.

src/hestai_mcp/_bundled_hub/library/skills/testing/SKILL.md · 74 lines

What it actually says

===TESTING=== META: TYPE::SKILL VERSION::"1.0" STATUS::ACTIVE PURPOSE::"Testing patterns and conventions for HestAI MCP" DOMAIN::ATHENA[quality]⊕HEPHAESTUS[craftsmanship]

§1::TEST_MARKERS // Progressive Testing Model SMOKE::@pytest.mark.smoke["Fast import/sanity tests (<1s)"] BEHAVIOR::@pytest.mark.behavior["NOW: Real behavioral tests"] CONTRACT::@pytest.mark.contract["SOON: Integration contract tests"] INTEGRATION::@pytest.mark.integration["LATER: Full integration tests"] PROGRESSION::smoke→behavior→contract→integration

§2::TEST_STRUCTURE LAYOUT::[ "tests/", " unit/ # Component-level tests", " behavior/ # Behavioral specification tests", " contracts/ # External integration contracts", " conftest.py # Shared fixtures" ] MIRRORING::tests/unit/{module}/test_{file}.py↔src/{module}/{file}.py

§3::TDD_PROTOCOL SEQUENCE::[ RED::"Write failing test first", GREEN::"Minimal implementation to pass", REFACTOR::"Improve while green" ] COMMIT_SEQUENCE::"test:" → "feat:" → "refactor:" DISCIPLINE::test_before_implementation[MANDATORY]

§4::COVERAGE THRESHOLD::89%[CI_enforced] FOCUS::behavioral_coverage[not_line_coverage] MOCKING::external_dependencies[not_internal_modules] ANTI_PATTERN::coverage_theater["Tests that hit lines but don't assert behavior"]

§5::ASYNC_TESTING CONFIG::asyncio_mode="auto"[pytest_config] FRAMEWORK::pytest-asyncio PATTERN::[ "async def test_async_operation():", " result = await async_function()", " assert result.status == 'success'" ]

§6::COMMANDS RUN_ALL::"python -m pytest" RUN_MARKER::"python -m pytest -m {marker}" RUN_COVERAGE::"python -m pytest --cov=src --cov-report=term-missing" RUN_SPECIFIC::"python -m pytest tests/unit/{path}/test_{file}.py -v"

§7::FIXTURES LOCATION::tests/conftest.py[shared] SCOPE::[function,class,module,session] EXAMPLE::[ "@pytest.fixture", "def sample_config():", " return SessionConfig(role='test', working_dir='/tmp')" ]

===END===

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. 7d ago First seen · 74 lines · 22 tokens per session scan A 643cbf4e13e8

Subscribe to this mod's changes

testing is a skill published in the GitHub repository elevanaltd/HestAI-MCP (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 22 tokens to every session and 677 once invoked, about $0.0001 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-03.