本文へ移動
cccskills
無料GitHub で公開

test

Run tests for Terrae components

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Test Skill

Run tests for Terrae components.

Instructions

  1. Run All Tests

    npm run test:run
    

    This runs vitest in single-run mode.

  2. Run Tests in Watch Mode If the user wants to develop with live feedback:

    npm run test
    

    Note: This runs in watch mode and won't exit automatically.

  3. Run Specific Tests To run tests for a specific component:

    npx vitest run {component-name}
    

    Example: npx vitest run marker

  4. Report Results

    • Show passing/failing test counts
    • For failures, show:
      • Test name
      • Expected vs received values
      • File and line number
  5. Handle Failures If tests fail:

    • Analyze the failure reason
    • Ask if the user wants help fixing the test or the code
    • Show the relevant test file and component code
  6. Test File Location Tests are typically located at:

    • src/registry/map/__tests__/{component}.test.tsx
    • Or alongside components: {component}.test.tsx

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

check

無料

Verify all outputs exist after creating a new component and fix any issues

日本語の概要は準備中です。原文の説明を表示しています。

alamenai/terrae2442026年4月7日 更新

commit

無料

Create standardized git commits following Terrae's conventions

日本語の概要は準備中です。原文の説明を表示しています。

alamenai/terrae2442026年4月7日 更新

docs

無料

Generate or update documentation for Terrae components

日本語の概要は準備中です。原文の説明を表示しています。

alamenai/terrae2442026年4月7日 更新

fix

無料

Systematically fix issues found by /review or reported by the user

日本語の概要は準備中です。原文の説明を表示しています。

alamenai/terrae2442026年4月7日 更新

issue

無料

Read a GitHub issue, summarize it, and create a branch for it

日本語の概要は準備中です。原文の説明を表示しています。

alamenai/terrae2442026年4月7日 更新

lint

無料

Run linting and type checking across the Terrae codebase

日本語の概要は準備中です。原文の説明を表示しています。

alamenai/terrae2442026年4月7日 更新

alamenai のスキルをすべて見る

このスキルの問題を報告する