Command Palette

Search for a command to run...

Назад к скиллам
скилл № 28777

onboarding

Agent-driven onboarding guide for CircleCI. Walks a user through the full setup journey: account creation, org setup, GitHub App connection, project creation…

БесплатноБез исполняемых скриптов
fanfan-deот fanfan-de★ 55 звёзд на GitHub

Установить onboarding в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

CircleCI Onboarding

Guide the user through setting up CircleCI from scratch. Work through the stages below in order. At each stage, use AskUserQuestion to collect structured input rather than asking in prose — this keeps the flow crisp and unambiguous. Run CLI commands to verify state before asking questions you can answer yourself. Skip stages that are already complete.


Stage 0: Check prerequisites

First, verify the CLI version:

circleci version

Extract the version number from the output (e.g. circleci 0.1.2+... → 0.1.2). If the major version is 0 (i.e. below 1.0.0), stop and tell the user:

"This onboarding flow requires CircleCI CLI version 1.0.0 or later. Your installed version is <version>. Please upgrade with:

brew tap circleci-public/homebrew-circleci
brew remove circleci
brew install --cask circleci@next
```"

Do not proceed past this stage if the version check fails.

Then run circleci auth me before asking anything. If it returns a user, skip Stage 1 and note the username.


Stage 1: Account

If not authenticated, ask:

AskUserQuestion(
  "Are you new to CircleCI or do you already have an account?",
  header: "Account",
  options: [
    { label: "New — create an account", description: "Open signup in browser via circleci auth signup" },
    { label: "Existing — log in",        description: "Open login in browser via circleci auth login" }
  ]
)

Then run the appropriate command and verify with circleci auth me.


Stage 2: Org

Ask:

AskUserQuestion(
  "Which CircleCI org do you want to use?",
  header: "Organization",
  options: [
    { label: "Use an existing org",  description: "I'll provide the org slug" },
    { label: "Create a new org",     description: "I'll walk you to app.circleci.com/organization-setup" }
  ]
)
  • Existing: Ask for the slug via a follow-up text input (e.g. gh/myorg or circleci/<uuid>). Found at Organization Settings → Organization slug.
  • New: Direct to https://app.circleci.com/organization-setup, wait for confirmation, then ask for the resulting slug.

Note the org slug — it's needed in every subsequent stage.


Stage 3: GitHub App connection

Run circleci project list silently. If it returns repositories, the GitHub App is already connected — skip to Stage 4.

If the list is empty or errors, ask:

AskUserQuestion(
  "Has the CircleCI GitHub App been installed on your GitHub org?",
  header: "GitHub App",
  options: [
    { label: "Yes, already installed", description: "Repos should be visible in CircleCI" },
    { label: "No, need to install it", description: "I'll guide you through the installation" }
  ]
)

For installation: direct to https://app.circleci.com/settings/organization/<vcs>/<orgname>/vcs, tell them to install the GitHub App and grant access to relevant repos, then confirm by running circleci project list again.


Stage 4: Project

Ask:

AskUserQuestion(
  "Which repository do you want to set up CI for?",
  header: "Repository",
  options: [
    { label: "A repo already in CircleCI (follow existing)", description: "circleci project follow" },
    { label: "A new repo (create project)",                  description: "circleci project create" }
  ]
)

For a new project, ask the repo name (default to current directory name if in a git repo), then:

circleci project create <repo-name> --org <org-slug> --json

Then link the local checkout:

circleci project link
circleci project get --json   # verify and capture project UUID

Save the project slug (e.g. gh/myorg/myrepo) and id (UUID).


Stage 5: Pipeline definition + trigger

You need the GitHub repo's numeric ID. Try:

gh api /repos/<owner>/<repo> --jq .id 2>/dev/null

If gh isn't available or fails, ask the user to provide it (it's the number in github.com/<owner>/<repo> → Settings → General, shown as "Repository ID").

Ask which trigger preset to use, then immediately create both the definition and trigger without any further confirmation:

AskUserQuestion(
  "What events should trigger this pipeline?",
  header: "Trigger",
  options: [
    { label: "All pushes + PRs (recommended)", description: "all-pushes preset — runs on every push to any branch and PR events" },
    { label: "Pull requests only",             description: "only-open-prs — runs on PR open/update" },
    { label: "Default branch only",            description: "default-branch-pushes — runs only on pushes to main/master" },
    { label: "All pushes",                     description: "all-pushes — runs on every push to any branch" }
  ]
)

Map the choice to --event-preset:

  • "All pushes + PRs" → all-pushes
  • "Pull requests only" → only-open-prs
  • "Default branch only" → default-branch-pushes
  • "All pushes" → all-pushes

Then immediately (no further confirmation needed):

# Create pipeline definition
circleci pip
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл onboarding?

Agent-driven onboarding guide for CircleCI. Walks a user through the full setup journey: account creation, org setup, GitHub App connection, project creation, pipeline definition + trigger, and iterating a config file until it passes. Use this skill whenever a user says "onboard to CircleCI", "set up CircleCI", "get started with CircleCI", "connect my repo to CircleCI", "create a CircleCI project", or asks for help with any early CircleCI setup step. Also trigger if the user has a new repo and wants CI running on it.

Как установить скилл onboarding?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл onboarding запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить onboarding с