explain
CommandExplain code in detail - what it does, how it works, and why
Generate tests for code - unit tests, integration tests, or edge cases
$ npx -y skills add TheDecipherist/claude-code-mastery --agent claude-code
description: Generate tests for code - unit tests, integration tests, or edge cases
Generate comprehensive tests for the specified code.
The user will provide one of:
Optional flags via $ARGUMENTS:
Check the project for:
If unclear, ask the user.
Identify:
For each function, create tests for:
**Happy Path**
**Edge Cases**
**Error Cases**
Follow AAA pattern:
describe('functionName', () => {
it('should return X when given Y', () => {
// Arrange
const input = { ... };
// Act
const result = functionName(input);
// Assert
expect(result).toEqual(expected);
});
});Test names should be readable as sentences:
NOT:
1. Create test file at conventional location:
2. Show summary:
3. Run the tests to verify they pass:
npm test -- --run <test-file>
The complete guide to maximizing Claude Code: Global CLAUDE.md, MCP Servers, Commands, Hooks, Skills, and Why Single-Purpose Chats Matter. This version is obsolete by now.
Explain code in detail - what it does, how it works, and why
Review code changes for bugs, security issues, and improvements
Compare two or more options side by side, recommend one, and let the reader pick in the page
Create smart commit with quality checks and conventional format
Meta-skill that loads all llmwiki governance docs and exposes the three maintainer slash commands.