Skip to content
cccskills
FreePublished on GitHub

test

Run tests for Terrae components

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

check

Free

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

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

commit

Free

Create standardized git commits following Terrae's conventions

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

docs

Free

Generate or update documentation for Terrae components

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

fix

Free

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

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

issue

Free

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

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

lint

Free

Run linting and type checking across the Terrae codebase

The English summary is being prepared. Showing the original description.

alamenai/terrae249Updated Apr 7, 2026

See all skills by alamenai

Report a problem with this skill