Przejdź do treści
Biblioteka skilli
DevOps i chmura · Automatyzacja

ci-fix

/ci-fix

Przegląda wszystkie buildy i testy CI, znajduje porażki, pobiera logi błędów i poprawia kod, zaczynając od testów jednostkowych, potem przykładów i platform takich jak esp32s3 czy teensy41.

Repozytorium
fastled ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przegląda wszystkie buildy i testy CI, znajduje porażki, pobiera logi błędów i poprawia kod, zaczynając od testów jednostkowych, potem przykładów i platform takich jak esp32s3 czy teensy41.

Argumenty

/ci-fix [--board <name>] [--all]
Oryginalny opis (EN)

Scan all CI builds and tests, find failures, fetch error logs, and fix the code. Prioritizes unit tests, example tests, then uno, attiny85, esp32s3, esp32c6, teensy41. Use when CI is red and you need to diagnose and repair build/test failures.

Jak działa

  1. Step 1: Scan builds and get error logs
  2. Step 2: Analyze and prioritize
  3. Step 3: For each failing test or build
  4. Step 4: Verify fixes don't break other platforms
  5. Notes
Sekcje z nagłówków SKILL.md, w oryginale · 75 linii, 498 słów
Podgląd SKILL.md
---
name: ci-fix
description: Scan all CI builds and tests, find failures, fetch error logs, and fix the code. Prioritizes unit tests, example tests, then uno, attiny85, esp32s3, esp32c6, teensy41. Use when CI is red and you need to diagnose and repair build/test failures.
argument-hint: [--board <name>] [--all]
context: fork
---

Find and fix CI build and test failures across all platforms.

Arguments: $ARGUMENTS

## Step 1: Scan builds and get error logs

Run the CI build scanner to discover all failing builds and tests with error context:

```bash
uv run ci/tools/gh/ci_builds.py --errors $ARGUMENTS
```

This auto-discovers workflows from `.github/workflows/` matching `build_*.yml`, `unit_test_*.yml`, and `example_test_*.yml`. Adding a new workflow file automatically adds it to this report.

## Step 2: Analyze and prioritize

Review the output. Builds are already sorted by priority:

1. **unit tests** — unit_test_linux, unit_test_macos, unit_test_windows — fix first, these validate core logic
2. **example tests** — example_test_linux, example_test_macos, example_test_windows — validate example compilation
3. **uno** — AVR 8-bit, most constrained, most users
4. **attiny85** — AVR tiny, extreme flash/RAM constraints
5. **esp32s3** — ESP32-S3, primary ESP target
6. **esp32c6** — ESP32-C6, RISC-V ESP target
7. **teensy41** — Teensy 4.1, ARM Cortex-M7
8. **Everything else** — alphabetical within non-priority builds

Fix priority builds first. If `--board <name>` was passed, focus only on those.

## Step 3: For each failing test or build

### For unit test failures:
1. Read the error logs from the scan output
2. Run the failing test(s) locally: `bash test` or `bash test <TestName>`
3. If a test fails, re-run in debug mode: `bash test <TestName> --debug`
4. Identify the root cause and fix the source code or test
5. Verify: `bash test`

### For example test failures:
1. Read the error logs from the scan output
2. Run the failing example(s) locally: `bash compile wasm --examples <ExampleName>`
3. Identify the root cause (missing include, type error, API change, etc.)
4. Fix the source or example code
5. Verify: `bash compile wasm --examples <ExampleName>`

### For board build failures:
1. Read the error logs from the scan output
2. Identify the root cause (missing header, type error, platform ifdef, linker error, etc.)
3. Find the relevant source file(s) and read them
4. Make the fix — prefer the simplest change that fixes the error:
   - Missing platform guard → add `#ifdef` / `#if defined()`
   - Missing include → add the include
   - Type mismatch → fix the type
   - API difference → use conditional compilation
5. After fixing, verify by compiling: `bash compile <board> --examples Blink`
   (use the board arg from the scan output, e.g. `bash compile uno --examples Blink`)

## Step 4: Verify fixes don't break other platforms

After fixing a failing build, consider whether the change could break other platforms. If you changed shared code (not platform-guarded), spot-check by compiling another platform:

```bash
bash compile wasm --examples Blink
```

## Notes

- The scanner discovers workflows dynamically — no hardcoded list to maintain
- Workflow patterns: `build_*.yml`, `unit_test_*.yml`, `example_test_*.yml`
- Use `--board uno,esp32s3` to focus on specific boards
- Use `--all` flag if you want to see passing builds too (default: only failing with --errors)
- Error logs show up to 5 error blocks per build with surrounding context
- The priority list is defined in `ci/tools/gh/ci_builds.py` in the `PRIORITY_BOARDS` constant

Wersje

RepozytoriumWynikLicencja
Ta strona · fastled/fastled100MIT
gosuda/dalcom-skills100Apache-2.0
grixu/cc-toolkit100MIT
kcenon/claude-config100BSD-3-Clause
OutlineDriven/outline-driven-development100Apache-2.0
sean-sunagaku/claude-code-plugin100MIT
dotnet/maui90MIT
jMerta/codex-skills90MIT

Migawka bazy z 13.11.2026 · wersja paczki 604eb7ada5a8 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100diagnose-ci-failures
    Diagnozuje błędy CI w pull requeście przez GitHub CLI, wyciąga logi błędów i generuje plan naprawy.
  • 100ci-fix-loop
    Diagnozuje awarie CI w GitHub Actions w pętli: pobiera logi, znajduje przyczynę, stosuje celową poprawkę, pushuje i czeka na kolejny przebieg, aż wszystkie checki zazielenieją lub potrzebny jest człowiek.
  • 100ci-fix-loop
    Diagnozuje awarie CI w GitHub Actions w pętli: pobiera logi, znajduje przyczynę, stosuje celową poprawkę, pushuje i czeka na kolejny przebieg, aż wszystkie checki zazielenieją lub potrzebny jest człowiek.
  • 100fix-ci-failures
    Znajduje nieudane sprawdzenia CI w pull requeście, pobiera logi i artefakty przez gh, ustala przyczynę i iteruje poprawkę.
  • 100test-fixing
    Znajduje i naprawia wszystkie nieprzechodzące testy strategiami grupowania, gdy użytkownik prosi o poprawę testów, zgłasza porażki albo kończy implementację.
  • 100test-fixing
    Znajduje i naprawia wszystkie nieprzechodzące testy strategiami grupowania, gdy użytkownik prosi o poprawę testów, zgłasza porażki albo kończy implementację.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.