Back to list
carlos-algms

frontend-unit-test

by carlos-algms

shareable dotfiles configuration for mac, linux and windows

1🍴 0📅 Jan 25, 2026

SKILL.md


name: frontend-unit-test description: Writes unit tests for JavaScript/TypeScript and frontend projects using Vitest or Jest. Use when writing or running tests.

Unit Test Protocol

Framework Detection

Never assume Jest or Vitest. Detect first:

  • Check imports in test files
  • Check config: vitest.config.*, jest.config.*
  • Check package.json dependencies (workspace-specific in monorepos)
  • Grep test scripts in package.json

Running Tests

Run relevant tests only unless explicitly requested:

pnpm run test path/to/file.test.ts
# monorepo: cd apps/demo-app && pnpm run test path/to/file.test.ts

For all tests, use test script in closest package.json:

pnpm run test
# monorepo: cd apps/demo-app && pnpm run test

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon