Development
Command
/test-unit
Write unit tests following best practices
Install
$ npx -y skills add mrwogu/promptscript --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/test-unit
Context preview
What this command does when you run it.
Write unit tests following best practices
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
Ships withpromptscript
Agent platform configuration as code _Define instructions, skills, agents, MCP servers, hooks, workflows, and policies once.
Get the whole plugin
Stats
465
Stars
1
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1d ago
Last commit
6mo ago
Created
Repo: mrwogu/promptscript

