Back to list
ykzts

testing

by ykzts

Real-time bingo application for streamers and communities.

0🍴 0📅 Jan 22, 2026

SKILL.md


name: testing description: Write and run tests using Vitest. Understand linting and formatting with Biome. Apply testing patterns for components, utilities, and Server Actions. metadata: author: Bingify version: "1.0"

Testing & Code Quality

このスキルは、Bingifyプロジェクトのテスト戦略とコード品質管理をカバーします。

概要

BingifyはVitestでテストを実行し、Biomeでリント・フォーマットを管理します。

テストファイルの配置

テストファイルは以下のパターンで配置:

lib/
  utils.ts
  __tests__/
    utils.test.ts

テストの作成

import { describe, it, expect } from "vitest";
import { formatDate } from "../utils";

describe("ユーティリティ関数", () => {
  it("日付を正しくフォーマットする", () => {
    const date = new Date("2026-01-11");
    const result = formatDate(date, "YYYY-MM-DD");
    expect(result).toBe("2026-01-11");
  });
});

テスト実行

# すべてのテスト
pnpm test

# ウォッチモード
pnpm test -- --watch

# カバレッジ
pnpm test -- --coverage

参考

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

Reviews

💬

Reviews coming soon