Skip to content
Development
Command

/test-unit

Write unit tests following best practices

From plugin
promptscript
34414 skills3 agents14 commands1 MCP
$ npx -y skills add mrwogu/promptscript --agent claude-code

Command definition

test-unit.md
# promptscript-generated: 2026-05-30T23:22:42.935Z | source: .promptscript/project.prs | target: claude
description: 'Write unit tests following best practices'

Write unit tests following:

  • AAA pattern (Arrange, Act, Assert)
  • Proper test isolation with mocks
  • Descriptive test names
  • Edge cases and error conditions
  • No testing of implementation details
@mrwogu
Ships withpromptscript

Write your AI rules once. Every agent follows them. _One source for Claude Code, GitHub Copilot, Cursor, and 47 more tools.

3442 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
344
Star history of mrwogu/promptscript on GitHub, a chart by star-history.com

Other commands on promptscript.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command