test-auto
БесплатноБез исполняемых скриптовНе проверенCreate unit, integration, and e2e test suites. Use when setting up or improving tests.
от htlin222★ 78 звёзд на GitHubОб этом скилле
Test Automation
Create comprehensive test suites following the testing pyramid.
When to Use
- Setting up tests for new code
- User asks to "add tests" or "improve coverage"
- Before refactoring (add tests first)
- Implementing CI/CD test pipelines
Testing Pyramid
/\ E2E (few, critical paths)
/ \ Integration (moderate)
/____\ Unit (many, fast)
Test Structure
Unit Tests
- Test individual functions/methods
- Mock external dependencies
- Fast execution (<100ms per test)
- High coverage (>80%)
Integration Tests
- Test component interactions
- Use test databases/containers
- Moderate execution time
- Cover critical integrations
E2E Tests
- Test complete user flows
- Use Playwright/Cypress
- Slowest execution
- Cover happy paths only
Test Patterns
// Arrange-Act-Assert
describe("UserService", () => {
it("should create user with valid data", async () => {
// Arrange
const userData = { name: "Test", email: "[email protected]" };
// Act
const result = await userService.create(userData);
// Assert
expect(result.id).toBeDefined();
expect(result.name).toBe("Test");
});
});
Output
- Test files with clear naming
- Mock/stub implementations
- Test data factories
- Coverage configuration
- CI pipeline integration
Examples
Input: "Add tests for the auth module" Action: Analyze auth module, create unit tests for functions, integration tests for flows
Input: "Set up testing for this project" Action: Detect framework, configure test runner, create example tests, add CI config
Установить test-auto в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл test-auto?
Create unit, integration, and e2e test suites. Use when setting up or improving tests.
Как установить скилл test-auto?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл test-auto запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic