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.
npx skills add Muriel-Salvan/x_aeon_agents --skill applying-test-conventionsgit clone --depth 1 https://github.com/Muriel-Salvan/x_aeon_agentsWrote 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/muriel-salvan/x_aeon_agents/applying-test-conventions)<a href="https://agentmods.dev/skills/muriel-salvan/x_aeon_agents/applying-test-conventions"><img src="https://agentmods.dev/badge/skills/muriel-salvan/x_aeon_agents/applying-test-conventions/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/muriel-salvan/x_aeon_agents/applying-test-conventions"><img src="https://agentmods.dev/badge/skills/muriel-salvan/x_aeon_agents/applying-test-conventions.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.00078 | $0.00871 |
| Opus 5 | $0.00039 | $0.00436 |
| Sonnet 5 | $0.00016 | $0.00174 |
| Haiku 4.5 | $0.00008 | $0.00087 |
Grade A, and why
applying-test-conventions 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 12d 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 — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Applying test conventions
Inform the user
- Always tell the user "SKILL: I am applying test conventions" to inform the user that you are running this skill.
Conventions to be followed when testing
Those conventions use examples using Ruby, but are applicable to any programming language and test framework.
Rule: Always write concise scenarios with a 3-steps structure: setup, run and expect
Always respect this structure for a test scenario:
- Setup test data and mocks. Use defaults to only express test data relevant to the test scenario at hand.
- Always call only the public interface of the class to be tested. Never call private methods of the interface.
- Write simple expectations and assertions on results of the public interface of the class to be tested. Never assert results from private methods or internal states of the interface. Use test helpers to make sure each step takes very few lines in each scenario.
Example: Incorrect
it 'counts comments' do
collection = MyCollection.new([
{ author: 'test_author1', comment: 'test_comment1' },
{ author: 'test_author1', comment: 'test_comment2' },
{ author: 'test_author2', comment: 'test_comment3' }
])
comments = collection.instance_variable_get(:@items)
expect(comments.size).to eq 3
end
Example: Correct
# Helper providing test comments
def comment_factory(author: 'test_author', comment: 'test_comment')
{ author:, comment: }
end
it 'counts comments' do
collection = MyCollection.new(3.times.map { comment_factory })
expect(collection.nbr_elements).to eq 3
end
Rationale
Concise unit tests that have a clear structure are much easier to read and maintain. Only relying on public methods to run and assert guarantees freedom to refactor the internals of the classes being tested, without impacting unit tests.
Rule: Make sure each test scenario runs in an isolated way
Running scenarios in whatever order or group should never change the result of the test suite run. If this is not the case, understand what could break the isolation of those unit tests and fix it.
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.
- 12d ago First seen · 107 lines · 78 tokens per session scan A a216b7455b01
applying-test-conventions is a skill published in the GitHub repository Muriel-Salvan/x_aeon_agents (2 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 78 tokens to every session and 871 once invoked, about $0.0004 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.
Other skills, from other repositories
migrate-xunit-to-xunit-v3
Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…
go-testing
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
nw-fp-clojure
Clojure language-specific patterns, data-first modeling, REPL-driven development, and spec.
mobiai-ios-testing
Use when writing or running tests in an iOS project — unit tests, UI tests, snapshot tests, choosing the right framework.
junit-5-skill
Generates production-grade JUnit 5 unit and integration tests in Java. Covers assertions, parameterized tests, lifecycle hooks, mocking with Mockito, and nested tests. Use when user mentions "JUnit", "JUnit 5", "@Test", "assertEquals", "Assertions", "Java unit test". Triggers on: "JUnit", "@Test", "assertEquals"…
restore-internals-seams-in-finally-blocks-after-each-test
When delegating a task affected by this skill, include.