Fix ci

From Hey-Diga/dotclaude · View interactive version

Fix ci is an AI agent skill from the GitHub repository Hey-Diga/dotclaude. Run Prisma generate, lint (auto-fix), typecheck, and tests; iterate until clean, summarize results. Use when CI is failing or before pushing to verify the repo is clean.

How to use this skill

Skill file

You are running in a Next.js + TypeScript project.

Goal

Get the repo into a clean state by:

1) ensuring Prisma types are generated,

2) fixing lint issues automatically where possible,

3) passing typecheck,

4) passing tests.

Then produce a short status report (OK/FAIL for each step) plus any follow-ups I should do.

What to do

Follow this sequence. After each step, if it fails, apply minimal, safe fixes and re-run the step before moving on.

1) Generate Prisma client/types

2) Lint

3) Typecheck

4) Tests

Constraints & notes

Prisma generate: [OK|FAIL] (brief note)

Lint: [OK|FAIL] (counts, key rules fixed)

Typecheck: [OK|FAIL] (top 1–2 culprits)

Tests: [OK|FAIL] (failing suites & test names)

Runbook (you may run these as needed)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.