Skip to content
Back to skills

Test Writing

ASecurity

Enforces Given-When-Then test structure

  • 28 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
developmentjavascriptgojava

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add galando/piv-speckit --skill test-writing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Test Writing?

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

Security grade badge for Test Writing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/galando-test-writing/badge)](https://www.skillsdirectory.com/skills/galando-test-writing)

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
---
description: Enforces Given-When-Then test structure
triggers:
  - file_pattern: "*.test.*;*.spec.*;*Test.java;*_test.go;test_*.py"
---

# Test Writing Skill

**Naming:** `should{Behavior}When{State}`

**Structure:**
```javascript
// GIVEN - setup
// WHEN - act
// THEN - assert
```

**Requirements:** Independent, Fast (<100ms), Edge cases

**For complete test writing guidelines:** Read `${CLAUDE_PLUGIN_ROOT}/.claude-plugin/reference/skills-full/test-writing-full.md`

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.

Comments

Loading comments…

Newsletter

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