Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/joaoguirunas/team-osnpx agentmods add skills/joaoguirunas/team-os/dev-testing-strategyWrote 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/joaoguirunas/team-os/dev-testing-strategy)<a href="https://agentmods.dev/skills/joaoguirunas/team-os/dev-testing-strategy"><img src="https://agentmods.dev/badge/skills/joaoguirunas/team-os/dev-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/joaoguirunas/team-os/dev-testing-strategy"><img src="https://agentmods.dev/badge/skills/joaoguirunas/team-os/dev-testing-strategy.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.00034 | $0.01441 |
| Opus 5.5 | $0.00014 | $0.00576 |
| Sonnet 5.5 | $0.00007 | $0.00288 |
| Haiku 4.5 | $0.00003 | $0.00144 |
Grade A, and why
dev-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 27d 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 — 179 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Testing Strategy — Software Complexo
Pirâmide de Testes
/E2E\ → poucos, lentos, fluxos completos
/------\
/ Integr.\ → moderados, módulos integrados
/----------\
/ Unit \ → muitos, rápidos, funções isoladas
| Tipo | Proporção | Ferramenta |
|---|---|---|
| Unit | ~70% | Jest / Vitest |
| Integration | ~20% | Jest + supertest |
| E2E | ~10% | Playwright |
Unit Tests
Testam uma função em isolamento, sem dependências externas reais.
describe('calculateDiscount', () => {
it('should apply 10% for premium users', () => {
expect(calculateDiscount({ price: 100, tier: 'premium' })).toBe(90)
})
it('should not apply discount for free users', () => {
expect(calculateDiscount({ price: 100, tier: 'free' })).toBe(100)
})
it('should throw for negative price', () => {
expect(() => calculateDiscount({ price: -10, tier: 'free' }))
.toThrow('Price must be positive')
})
})
Regras: Um describe por função. Um comportamento por it. Testar: happy path + edge cases + erros. Sem banco, sem API externa.
Integration Tests
Testam módulos integrados — endpoint + middleware + banco real de teste.
describe('POST /users', () => {
it('should create user and return 201', async () => {
const res = await request(app)
.post('/users')
.send({ email: '[email protected]', name: 'Test' })
expect(res.status).toBe(201)
expect(res.body.data).toMatchObject({ email: '[email protected]' })
expect(res.body.meta.requestId).toBeDefined() // requestId obrigatório
})
it('should return 409 when email exists', async () => {
await createUser({ email: '[email protected]' })
const res = await request(app)
.post('/users').send({ email: '[email protected]', name: 'Other' })
expect(res.status).toBe(409)
expect(res.body.error.code).toBe('CONFLICT')
expect(res.body.error.requestId).toBeDefined()
})
})
Para software complexo: Usar banco real em teste — mocks de banco escondem problemas de query e migração.
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.
- 27d ago Changed a6d7b0df3f6d
- 1mo ago Changed · +2 lines 2a72fae4aea6
- 1mo ago First seen · 177 lines · 34 tokens per session scan A b26c03b4f5b3
dev-testing-strategy is a skill published in the GitHub repository joaoguirunas/team-os (5 stars, last pushed 3d ago), licensed MIT. It adds 34 tokens to every session and 1,441 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
writing-tests
Write unit, integration, and E2E tests that follow the testing pyramid, the Arrange-Act-Assert pattern, the shouldXwhenY naming convention, and meet a 75% (target 80%) branch coverage gate per supported OS. Use when the user asks to write tests, add coverage, build a test suite, fix flaky tests, or verify a feature…
testing-strategies
Strategic guidance for choosing and implementing testing approaches across the test pyramid. Use when building comprehensive test suites that balance unit, integration, E2E, and contract testing for optimal speed and confidence. Covers multi-language patterns (TypeScript, Python, Go, Rust) and modern best practices…
quinn
Proves the system works by writing and executing comprehensive test suites.
tdd-workflow
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
test-master
Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation…
memstack-development-test-writer
Use this skill when the user says 'write tests', 'add tests', 'test coverage', 'unit tests', 'integration tests', 'component tests', 'mocking', 'edge cases', or needs to generate tests with proper mocking and edge case coverage. Do NOT use for refactoring plans or database migrations.