test-automation
This Claude Code skill executes Vitest unit tests and Playwright end-to-end tests within isolated worktrees, collecting comprehensive results including pass/fail counts, failure messages, code coverage metrics, and flaky test identification. Use it during the testing phase of automated development workflows to validate implementation changes and identify root causes of test failures.
git clone --depth 1 https://github.com/a5c-ai/babysitter /tmp/test-automation && cp -r /tmp/test-automation/library/methodologies/automaker/skills/test-automation ~/.claude/skills/test-automationSKILL.md
# Test Automation Execute Vitest and Playwright test suites with result collection and failure analysis. ## Agent Test Runner - `automaker-test-runner` ## Workflow 1. Navigate to worktree path 2. Run Vitest unit tests (npx vitest run --reporter=json) 3. Run Playwright E2E tests (npx playwright test --reporter=json) 4. Collect pass/fail counts per suite 5. Extract failure messages and stack traces 6. Measure code coverage 7. Identify flaky tests 8. Analyze failure root causes for convergence ## Inputs - `projectName` - Project name - `featureId` - Feature identifier - `worktreePath` - Path to isolated worktree - `testFramework` - Framework: 'vitest', 'playwright', 'both' - `changedFiles` - Files changed by implementation ## Outputs - Test results with allPassed, counts, failures, coverage, flaky tests ## Process Files - `automaker-orchestrator.js` - Phase 3 (testing) - `automaker-agent-execution.js` - Stages 4-5 - `automaker-review-ship.js` - Integration testing
Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.
System and API design guidance covering component boundaries, data flow, integration patterns, and scalability considerations.
This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research external skills", "find workflow patterns", "survey the skill landscape", "what skills exist out there", or wants to investigate public repositories for extractable processes, babysitter plugins, and reusable procedural insights. Searches GitHub for SKILL.md files, classifies repos by archetype, and maintains structured research under docs/reference-repos/.
>-
This skill should be used when the user asks to "babysit issues", "work on assigned issues", "check a5c-agent issues", "process babysitter issues", or wants to find and work on open GitHub issues assigned to a5c-agent in the babysitter repo.