Claude Code Plugins

Community-maintained marketplace

Feedback

auto-testing

@timequity/plugins
0
0

|

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name auto-testing
description Automatically generate and run tests after each code change. Use when: any code is generated or modified in the pipeline. Triggers: internal use only.

Auto Testing

Run tests automatically. User sees only pass/fail.

When to Run

After every:

  • Component generation
  • Feature addition
  • Code modification
  • Refactoring

Test Generation

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 Patterns

Components

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();
});

API

test('returns data', async () => {
  const response = await fetch('/api/items');
  expect(response.status).toBe(200);
  const data = await response.json();
  expect(data.items).toBeDefined();
});

Reporting

Status User Sees
All pass ✅ (nothing else)
Some fail "Fixing issues..." then ✅
Can't fix ❌ + simple explanation

Hidden Details

User never sees:

  • Test file contents
  • Number of tests
  • Coverage percentage
  • Individual test names

Only: ✅ works or ❌ problem