ci-pitfalls
БесплатноБез исполняемых скриптовНе проверенCI gotchas across projectbluefin repos. Use when debugging silent CI failures, startup_failure, or workflow skip behavior.
от projectbluefin★ 34 звезды на GitHubОб этом скилле
CI Pitfalls
This skill covers failure signatures; CI tooling owns workflow policy and shell scripts owns shell authoring and testability.
Validate a failure against the current workflow and upstream documentation; an old incident does not establish present behavior.
When to Use
- Debugging a CI failure that silently skips a gate or shows
startup_failurewith no error output - A merge queue PR is stuck or a post-merge e2e gate never fires
- A Renovate PR passes all checks but never merges
- A
build.ymlpush step fails withimage not knownorUNAUTHORIZED - A ruleset blocks the merge queue with no matching check name
When NOT to Use
- Policy and configuration (SHA pinning, floating-tag guard, pre-commit hooks) →
ci-tooling.md - Shell script authoring and testability patterns →
shell-scripts
Brewfile metadata validation must preserve the actual failure
just check-brewfiles runs scripts/validate-brewfiles.sh, the same entrypoint
as .github/workflows/validate-brewfiles.yaml. It checks every shared Brewfile,
not only changed entries. The workflow also triggers for validator/test changes.
This is networked and syncs the declared taps, so it stays outside just check.
Sync the complete declared tap set before checking any package names. Per-file
tap setup makes bare-name resolution depend on traversal order: ChairLift adds
projectbluefin/tap, which also provides bluefin-wallpapers-extra, while
ublue-os/tap provides the other wallpaper casks.
Use fully qualified names in artwork.Brewfile; do not hide the collision by
isolating taps or skipping unchanged Brewfiles. Zed's Linux cask lives in
ublue-os/tap, not ublue-os/experimental-tap.
A tap-setup failure must fail validation before package checks. For package
failures, report the Brewfile and line, exact command, exit status, and captured
stdout/stderr, then continue to collect the remaining failures. Do not collapse
ambiguity, authentication, trust, network, and unavailable-cask errors into
"invalid or missing tap". Pass package names as arguments, never into bash -c.
The validator accepts literal brew/cask declarations (both quote styles,
indentation, comments, and inline options). Malformed or computed names fail
explicitly. tap lines must also be literal names; trusted: true|false is
the only accepted option, and anything else fails before brew bundle runs.
On brew/cask lines, trusted: may appear once, as the literal true or
false. A fully qualified entry from a non-homebrew/* tap must be
item-trusted or come from a tap declared trusted: true in the same Brewfile;
otherwise it fails with third-party <type> <name> needs trusted: true instead
of a generic brew info failure. Item-trusted entries get brew trust first.
This is a metadata check, not a complete Ruby DSL, Flatpak, installation,
checksum-download, or desktop-runtime test. It never installs
formulae or casks. Keep mock regression tests in tests/test_validate_brewfiles.bats
and retain real Homebrew validation in CI.
Required checks must survive transient GitHub API failures
A merge queue re-runs every required check for each group, and a failure ejects the PR and rebuilds the group, so flaky network calls multiply.
- Tool installers.
extractions/setup-justlistsGET /repos/casey/just/releaseson every run, even withjust-versionset (it only skips the API on a tool-cache hit, and hosted runners start empty). Parallel merge groups exhausted the installation token's limit (API rate limit exceeded for installation). Installjustwithtaiki-e/install-action(tool: just), which resolves from its bundled manifest and never calls the REST API. - Registry lookups.
scripts/check-oci-refs.pyretries 429/5xx and rate-limit 403s, and also connection errors (URLError,RemoteDisconnected, timeouts). After retries it reports the ref as unverified instead of failing; only a definite missing tag fails.
Classify a red merge-group check by its log before re-queueing. An infrastructure failure gets a re-run of the failed job, not a code change.
Registry checks must handle socket timeouts
scripts/check-oci-refs.py applies a per-request socket timeout (REQUEST_TIMEOUT_SECONDS).
Both opening a connection and reading its response can time out; catch
URLError and TimeoutError inside the existing retry loop. Exhausted
transient retries return unknown (None), not missing (False); HTTP 401
and non-rate-limit 403 still fail immediately. Run the complete
tests/test_check_oci_refs.py module and exercise a stalled local HTTP server
when changing this path. A test that only checks the timeout argument does
not cover recovery or exhaustion.
Red Flags
- A PR targets
testingbut the branch was created frommain - A reusable workflow job shows
startup_failurewith
Установить ci-pitfalls в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ci-pitfalls?
CI gotchas across projectbluefin repos. Use when debugging silent CI failures, startup_failure, or workflow skip behavior.
Как установить скилл ci-pitfalls?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ci-pitfalls запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub