Skip to content
Back to skills

Testing

ASecurity

Verifies changed behavior through meaningful assertions and appropriate boundaries. Use when designing or reviewing tests.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 12, 2026
ai-agentspythonkotlintestingdatabasefrontend

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 12, 2026

npx -y skills add magnusrodseth/dotfiles --skill testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/magnusrodseth-testing/badge)](https://www.skillsdirectory.com/skills/magnusrodseth-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: testing
description: "Verifies changed behavior through meaningful assertions and appropriate boundaries. Use when designing or reviewing tests."
---

# Testing changed behavior

Read AGENTS.md and the repository's docs for language/framework, fixtures, commands,
container/integration requirements and CI ownership. Do not apply a Python recipe
to Kotlin, frontend or infrastructure work.

Read [external-contract assertions](change-detectors.md) when deciding whether
a constant guard is meaningful.

1. State the behavior and a failure scenario before choosing a test seam. The
   assertion must distinguish a defect from the intended behavior; an exact
   mirror of an implementation or a reversible prose edit rarely needs a test.
2. Exercise the public contract at the nearest meaningful boundary. Mock external
   failures deliberately, not the code being claimed as verified. Locking,
   transactions, migrations and composed wiring require their actual relevant
   boundary; in-memory substitutes cannot establish database concurrency.
3. Use existing fixtures and bounded local checks. Follow the repository's split
   between fast local and full CI/integration suites. Keep data deterministic
   across parallel workers and isolate cross-test state.
4. Run the relevant check, repair in-scope failures and repeat until it passes.
   Preserve assertions and enforcement. Report environment/access blockers and
   failed or unrun checks precisely; do not weaken tests to obtain green output.

Files in this skill

  • SKILL.md1.5 KB
  • change-detectors.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.