vibe-coder/skills/auto-testing/SKILL.md
Automatically generate and run tests after each code change. Use when: any code is generated or modified in the pipeline. Triggers: internal use only.
npx skillsauth add timequity/plugins auto-testingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run tests automatically. User sees only pass/fail.
After every:
For each code change, generate:
| Code Type | Test Type | |-----------|-----------| | Component | Render, interaction | | API endpoint | Request/response | | Utility function | Unit tests | | Form | Validation, submission | | Auth flow | Login, logout, protected |
test('renders correctly', () => {
render(<Component />);
expect(screen.getByRole('button')).toBeInTheDocument();
});
test('handles click', async () => {
const onClick = jest.fn();
render(<Component onClick={onClick} />);
await userEvent.click(screen.getByRole('button'));
expect(onClick).toHaveBeenCalled();
});
test('returns data', async () => {
const response = await fetch('/api/items');
expect(response.status).toBe(200);
const data = await response.json();
expect(data.items).toBeDefined();
});
| Status | User Sees | |--------|-----------| | All pass | ✅ (nothing else) | | Some fail | "Fixing issues..." then ✅ | | Can't fix | ❌ + simple explanation |
User never sees:
Only: ✅ works or ❌ problem
tools
Backup strategies, disaster recovery planning, and business continuity.
devops
Cloud cost management, rightsizing, and FinOps practices.
testing
CI/CD pipeline design with GitHub Actions, GitLab CI, and best practices.
development
Validate idea and create detailed PRD. Saves docs/PRD.md to project. Use when: user describes an app idea, wants to create something new. Triggers: "I want to build", "create app", "make website", "build MVP", "хочу создать", "сделать приложение".