aaa-pattern
✓Use when writing tests. Use when test structure is unclear. Use when arrange/act/assert phases are mixed.
Installation
SKILL.md
Every test has three phases: Arrange, Act, Assert. Keep them separate.
Clear structure makes tests readable, maintainable, and debuggable. When phases blur together, tests become confusing.
Guideline, not rule. Multiple asserts are fine if they verify ONE behavior:
Use when writing tests. Use when test structure is unclear. Use when arrange/act/assert phases are mixed. Source: yanko-belov/code-craft.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/yanko-belov/code-craft --skill aaa-pattern- Source
- yanko-belov/code-craft
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is aaa-pattern?
Use when writing tests. Use when test structure is unclear. Use when arrange/act/assert phases are mixed. Source: yanko-belov/code-craft.
How do I install aaa-pattern?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill aaa-pattern Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/yanko-belov/code-craft
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01