Skip to content
AI & Agents
Agent

ci-git-workflow

Always push committed changes to the remote repository before waiting for or checking CI status.

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.

Always push committed changes to the remote repository before waiting for or checking CI status.

Agent definition

ci-git-workflow.md
title: Git and CI Workflow
impact: HIGH
impactDescription: Incorrect workflow causes wasted CI cycles and confusion
tags: git, ci, workflow

Git and CI Workflow

Push Before Checking CI

Always push committed changes to the remote repository before waiting for or checking CI status.

Waiting for CI checks on unpushed local commits is backwards - the CI runs on the remote repository state, not local commits.

**Proper sequence:** 1. Commit locally 2. Run local checks (`yarn type-check:ci --force`, `yarn biome check --write .`) 3. Push to remote 4. Monitor CI status

Branch Operations

When asked to move changes to a different branch, use git commands to commit existing changes to the specified branch rather than redoing the work. This is more efficient and prevents duplication of effort.

Never Force Push

**Never force push to main or production branches** - under any circumstances.

Working with tRPC Changes

When making changes that affect tRPC components or after pulling updates that modify tRPC-related files:

1. First run `yarn prisma generate` to ensure all database types are up-to-date 2. Then run `cd packages/trpc && yarn build` to rebuild the tRPC package

This sequence ensures that type definitions are properly generated before building.

Ships withcaldiy

Scheduling infrastructure for absolutely everyone.

Get the whole plugin