Skill / SKILL.md

Caliber Testing

caliber-ai-org/ai-setup

All test files MUST be placed in `__tests__/` directories parallel to source files: `src/[module]/__tests__/[module].test.ts` - Register any new `__tests__/` directories in `vitest.config.ts`'s `include` glob (already configured: `src/
1 views 1,318 repository starsUpdated Nov 27, 2026
Overview

All test files MUST be placed in `__tests__/` directories parallel to source files: `src/[module]/__tests__/[module].test.ts` - Register any new `__tests__/` directories in `vitest.config.ts`'s `include` glob (already configured: `src/**/*.test.ts`)

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/caliber-ai-org/ai-setup' skill-source

Use the complete skill-source/.agents/skills/caliber-testing directory with your client’s skill installer.

  • .agents/skills/caliber-testing

    master · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/caliber-testing

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
8cdd36e800d86c72d6d6462e48788f00f0022586eff0314c6804a37437b87503
Format validation findings
  • Invalid YAML: A colon cannot be used in an unquoted mapping value at line 2 (near "description: Writes Vitest tests following project patterns: __tests__/ directories, vi.mock() for module mocking with vi.hoisted() for test-time factories, global LLM mock from src/test/setup.ts, environment variable save/restore in beforeEach/afterEach, vi.clearAllMocks() lifecycle, and test file organization. Use when user says 'write tests', 'add test coverage', 'test this', creates *.test.ts files, or when test failures appear in CI. Do NOT use for non-test code or for debugging without writing tests.").
  • Invalid or missing name.
  • Declared name does not match the source directory.
  • Invalid or missing description.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills