Skip to content
AI & Agents
Agent

testing-incremental

When fixing failing tests in the Cal.diy repository, take an incremental approach by addressing one file at a time rather than attempting to fix all issues simultaneously.

From plugin
caldiy
47k95 skills95 agents
Install
$ npx -y skills add calcom/cal.com --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

When fixing failing tests in the Cal.diy repository, take an incremental approach by addressing one file at a time rather than attempting to fix all issues simultaneously.

Agent definition

testing-incremental.md
title: Incremental Test Fixing
impact: MEDIUM
impactDescription: Methodical approach prevents getting overwhelmed by test failures
tags: testing, debugging, workflow

Incremental Test Fixing

One File at a Time

When fixing failing tests in the Cal.diy repository, take an incremental approach by addressing one file at a time rather than attempting to fix all issues simultaneously.

This methodical approach makes it easier to identify and resolve specific issues without getting overwhelmed by the complexity of multiple failing tests across different files.

Recommended Order

1. Run `yarn type-check:ci --force` to identify TypeScript type errors 2. Run `yarn test` to identify failing unit tests 3. Address both type errors and failing tests before considering the task complete 4. Type errors often need to be fixed first as they may be causing the test failures

Focus Strategy

  • Focus on getting each file's tests passing completely before moving on to the next file
  • Fix type errors before test failures - they're often the root cause
  • Run `yarn prisma generate` if you see missing enum/type errors
Ships withcaldiy

Scheduling infrastructure for absolutely everyone.

Get the whole plugin