Jest configuration, mocking strategies, snapshot testing, and coverage.
Generates and configures Jest tests with mocking strategies, snapshots, and coverage analysis.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdExpert assistance for testing with Jest.
describe('UserService', () => {
let service: UserService;
let mockRepository: jest.Mocked<UserRepository>;
beforeEach(() => {
mockRepository = {
findAll: jest.fn(),
findById: jest.fn(),
create: jest.fn(),
};
service = new UserService(mockRepository);
});
it('should return all users', async () => {
mockRepository.findAll.mockResolvedValue([{ id: '1', name: 'John' }]);
const result = await service.findAll();
expect(result).toHaveLength(1);
expect(mockRepository.findAll).toHaveBeenCalled();
});
});
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.