スキル一覧に戻る
timequity

auto-testing

by timequity

Claude Code plugins for developers

2🍴 0📅 2026年1月24日
GitHubで見るManusで実行

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 TypeTest Type
ComponentRender, interaction
API endpointRequest/response
Utility functionUnit tests
FormValidation, submission
Auth flowLogin, 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

StatusUser 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

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です