depot-ci
Что он делает
Этот скилл направляет ИИ-агента на настройку и запуск workflow в Depot CI. Он предназначен для разработчиков, которые хотят перенести свои workflow GitHub Actions в Depot и проверить, как проходят запуски.
Когда использовать
- ✓Когда вы хотите перенести существующие workflow GitHub Actions в Depot CI.
- ✓Когда нужно запустить workflow в Depot CI или управлять его секретами и переменными.
- ✓Когда запуск в Depot CI упал и вы хотите прочитать логи и найти причину.
Ссылка на скилл
https://github.com/PostHog/posthog/blob/master/.agents/skills/depot-ci/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Помоги перенести мои workflow GitHub Actions в Depot CI и запусти один, чтобы проверить, что он работает.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент использует инструмент командной строки Depot, чтобы перенести файлы workflow, запустить их и проверить статус и логи. Подробные справочники команд он открывает, только когда они нужны.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Depot CI
Depot CI is a programmable CI system for engineers and agents. Workflows in Depot CI run entirely on Depot compute with built-in job visibility, debuggability, and control. GitHub Actions is the first syntax Depot CI supports: migrate your existing GitHub Actions workflows, and get fast, reliable runs on optimized infrastructure.
This SKILL.md covers the core workflow plus the most common commands. Detailed flag tables, JSON output shapes, and less-common commands live in focused files under references/, pointed to from the relevant sections below. Load a reference file only when you need the detail it contains.
PostHog addition: read references/posthog-check-run-semantics.md before you reason about what a Depot CI run reports to GitHub.
It covers what Depot CI and GitHub Actions each post for a skipped, empty-matrix or continue-on-error job, how GitHub and the Trunk merge queue score those conclusions, and how the two engines differ on check naming and reruns.
This repo runs Depot CI workflows out of .depot/workflows/ alongside GitHub Actions, so both engines report on the same commit.
Depot posts each check from one of three GitHub apps.
The "Which app posts a Depot check" section of references/posthog-check-run-semantics.md lists the apps and how to match their checks.
Architecture
Three subsystems: compute (provisions and executes work), orchestrator (schedules multi-step workflows, handles dependencies), GitHub Actions parser (translates Actions YAML into orchestrator workflows). The system is fully programmable.
Common flags
Nearly every depot ci command (and depot tests) accepts:
--org <id>: organization ID, required when the user belongs to multiple organizations (see Org Context Check below).--token <token>: Depot API token.-o, --output json: machine-readable output, useful for agents and scripting. Mostdepot cisubcommands accept the-oshorthand, butdepot tests,depot ci secrets, anddepot ci varsaccept only the long--outputform.
Per-command tables in the reference files omit these to cut noise; assume they're available.
Org Context Check for Multi-Org Users
If a user belongs to multiple organizations, before setup/migration or if CI commands can't find expected workflows, verify Depot org context first:
depot org show # Current org ID
depot org list # Orgs the user belongs to
depot org switch <org-id> # Option A: switch default org for this shell/session
# Option B: keep current org and target explicitly per command
depot ci run --org <org-id> --workflow .depot/workflows/ci.yml
Use --org <org-id> when the workflow/repo lives in a different org than the current default.
Getting Started
1. Install the Depot Code Access GitHub App
Depot dashboard → Settings → GitHub Code Access → Connect to GitHub. (If you've used Claude Code on Depot, this may already be installed.)
2. Migrate workflows
depot ci migrate
This interactive wizard:
- Checks that the Depot Code Access app is installed and configured.
- Discovers all workflows in
.github/workflows/and analyzes each for Depot CI compatibility. - Copies selected workflows to
.depot/workflows/with inline corrections and comments, and copies local actions from.github/actions/to.depot/actions/. - Detects secrets and variables referenced in workflows and prints next steps for importing them.
Your .github/ directory is untouched, so workflows run in both GitHub and Depot simultaneously. Warning: workflows that cause side effects (deploys, artifact updates) will execute twice.
3. Import secrets and variables
depot ci migrate secrets-and-vars
This creates and runs a one-shot GitHub Actions workflow on a temporary branch that reads your existing secrets and variables and imports them into Depot CI. You can also add them manually with depot ci secrets add / depot ci vars add (see Managing Secrets and Variables below).
For migration detail (the preflight/workflows/secrets-and-vars subcommands, their flag tables, exactly what gets transformed, and manual setup), read references/migration.md.
Managing Secrets and Variables
Secrets (referenced as ${{ secrets.NAME }}, encrypted, never rea
Частые вопросы
Нужно ли переписывать workflow?
Скилл описывает команду миграции для существующих workflow GitHub Actions, так как Depot CI поддерживает этот синтаксис.
Может ли он управлять секретами?
Да. Скилл охватывает управление секретами и переменными Depot CI.
Может ли он объяснить, почему запуск упал?
Да. Скилл охватывает команды для просмотра запусков, проверки статуса, чтения логов и диагностики запуска.
Подробности
Оригинальное описание автора
Configures and manages Depot CI, a drop-in replacement for GitHub Actions that runs workflows entirely within Depot. Use when migrating GitHub Actions workflows to Depot CI, running `depot ci migrate`, managing Depot CI secrets and variables, running workflows with `depot ci run`, debugging Depot CI runs with `depot ci run list`, `depot ci status`, `depot ci logs`, `depot ci diagnose`, or `depot ci ssh`, inspecting test results with `depot tests` or run artifacts with `depot ci artifacts`, checking workflow compatibility, or understanding Depot CI capabilities. Also use when the user mentions
repo: PostHog/posthog
Популярность
- Звёзды на GitHub
- 41k
- Место в рейтинге
- #6810
- Лицензия
- —
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
depot-container-builds
41kПомогает агенту собирать Docker-образы на удалённых сборщиках Depot, включая мультиплатформенные образы, отправку в реестры и исправление ошибок сборки.
depot-github-runners
41kПомогает агенту переносить задачи GitHub Actions на раннеры Depot: выбирать размер и метки раннера и устранять проблемы настройки.
editing-agents-md
41kПомогает агенту решить, нужно ли правило в файле AGENTS.md или CLAUDE.md, и записать его так, чтобы оно работало, не раздувая файл.
formatting-slack-messages
41kПомогает агенту создавать понятные сообщения, модальные окна и главные экраны в Slack с правильной версткой по текущим правилам Slack.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.