test-comments
CommunityClarify tests with GIVEN/WHEN/THEN comments
Authordaominah
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams write clear, behavior-focused test comments by using the GIVEN/WHEN/THEN structure so tests communicate intent rather than implementation.
Core Features & Use Cases
- GIVEN/WHEN/THEN template for describing setup, action, and expected outcome.
- Improves code review clarity and makes tests understandable to non-technical stakeholders.
- Useful when authoring unit or integration tests, fixing failing tests, or performing test reviews.
Quick Start
Add GIVEN, WHEN, and THEN comments to your test to describe preconditions, the action under test, and the expected result.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: test-comments Download link: https://github.com/daominah/gostructure/archive/main.zip#test-comments Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.