depot-ci
Fungsinya
Skill ini memandu agent AI dalam menyiapkan dan menjalankan alur kerja Depot CI. Ditujukan untuk pengembang yang ingin memindahkan alur kerja GitHub Actions mereka ke Depot dan memeriksa bagaimana eksekusinya berjalan.
Kapan dipakai
- βSaat Anda ingin memindahkan alur kerja GitHub Actions yang ada ke Depot CI.
- βSaat Anda perlu menjalankan alur kerja Depot CI atau mengelola secret dan variabelnya.
- βSaat eksekusi Depot CI gagal dan Anda ingin membaca log serta mencari penyebabnya.
Link skill
https://github.com/PostHog/posthog/blob/master/.agents/skills/depot-ci/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBantu saya memindahkan alur kerja GitHub Actions ke Depot CI dan jalankan salah satunya untuk memastikan semuanya berfungsi.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menggunakan alat baris perintah Depot untuk memigrasikan berkas alur kerja, menjalankannya, serta memeriksa status dan log-nya. Agent hanya membuka referensi perintah yang lebih rinci ketika diperlukan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah saya perlu menulis ulang alur kerja saya?
Skill menjelaskan perintah migrasi untuk alur kerja GitHub Actions yang sudah ada, karena Depot CI mendukung sintaks tersebut.
Bisakah mengelola secret?
Bisa. Skill ini mencakup pengelolaan secret dan variabel Depot CI.
Bisakah menunjukkan mengapa eksekusi gagal?
Bisa. Skill ini mencakup perintah untuk mencantumkan eksekusi, memeriksa status, membaca log, dan mendiagnosis eksekusi.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6810
- Lisensi
- β
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
depot-container-builds
41kMembantu agent Anda membangun image Docker di builder jarak jauh Depot, termasuk image multi-platform, pengiriman ke registry, dan perbaikan kegagalan build.
depot-github-runners
41kMembantu agent Anda memindahkan job GitHub Actions ke runner yang dikelola Depot, memilih ukuran dan label runner, serta memecahkan masalah pengaturan runner.
editing-agents-md
41kMembantu agent Anda memutuskan apakah sebuah aturan layak masuk ke berkas AGENTS.md atau CLAUDE.md, dan menulisnya agar tetap dipatuhi tanpa membuat berkas membengkak.
formatting-slack-messages
41kMembantu agent Anda membuat pesan, modal, dan layar beranda Slack yang jelas dengan tata letak yang tepat, diperiksa sesuai aturan Slack terkini.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.