본문으로 건너뛰기
Skillpedia
일반 코딩7.6k · #13170

onboarding

하는 일

이 스킬은 Agent-Native 앱에 API 키 입력이나 서비스 연결처럼 사용자가 직접 하는 설정 단계를 추가하는 방법을 설명합니다. 이 프레임워크로 앱을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓새 기능이 작동하려면 API 키나 계정 연결이 필요할 때.
  • ✓사용자가 직접 연결해야 하는 서드파티 서비스를 추가할 때.
  • ✓설정 항목이 에이전트 사이드바의 설정 체크리스트에 나타나기를 원할 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/onboarding/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/onboarding/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 기능을 쓰기 전에 사용자가 자신의 계정을 연결할 수 있도록 설정 단계를 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 설정 단계를 등록해 체크리스트에 나타나게 하고, 자격 증명을 코드에 넣는 대신 안전한 입력 위치로 사용자를 안내합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Onboarding Steps

Rule

If a feature requires user-facing setup (API keys, OAuth, connecting a third-party service), register an onboarding step so it appears in the agent sidebar's setup checklist.

Onboarding must point users to a secure credential path; it must never encode the credential value in source, docs, fixtures, prompts, or generated content. For a provider represented in the workspace connection catalog, check the connection readiness and app grant first, then resolve credentials through the scoped workspace-connection helper. Only when no reusable connection exists should API keys and service tokens use registerRequiredSecret() from the secrets skill. For OAuth, check the scoped OAuth token store. Use deployment env vars only for deploy-level configuration, not per-user credentials.

Model onboarding around the logical connection outcome, not its individual fields. Because registerRequiredSecret({ required: true }) auto-injects a checklist item per registration, do not mark every credential/config field as required by reflex. Use one composite onboarding step or connection readiness check when several values are needed for one provider.

A custom setup page is appropriate only when it adds provider-specific prerequisites, sequencing, or health checks. Keep it as a thin guide over the shared settings, vault, OAuth, and action surfaces; never make it a second place that stores or manages credentials.

Registering a Step

import { registerOnboardingStep } from "@agent-native/core/onboarding";
import { hasOAuthTokens } from "@agent-native/core/oauth-tokens";

registerOnboardingStep({
  id: "gmail",
  order: 100,
  title: "Connect Gmail",
  description: "Grant read/send access.",
  methods: [
    {
      id: "oauth",
      kind: "link",
      primary: true,
      label: "Sign in with Google",
      payload: { url: "/_agent-native/google/auth-url" },
    },
  ],
  isComplete: async (ctx) =>
    ctx?.userEmail ? hasOAuthTokens("google", ctx.userEmail) : false,
});

See packages/core/docs/content/onboarding.md for method kinds and built-in steps.

For S3-compatible file storage, declare a kind: "file-storage" method instead of a form with S3_* fields. It renders the shared StorageSettingsForm, which saves through the manage-file-storage action (owners and admins only), so onboarding, Settings, and templates cannot drift into different rules. A provider that serves files without a public URL sets publicBaseUrlOptional: true on its FileUploadProvider.

Shared services: one list for first-run and Infrastructure

WORKSPACE_SERVICES (packages/core/src/onboarding/workspace-services.ts, exported from @agent-native/core/onboarding) is the one list of services every app shares: AI model, storage, voice, images, embeddings, and the Builder.io-only services. First-run "Choose your setup" reads it through getOnboardingAppProfile(), which tags each capability with its service id (and builderOnly). Settings › Organization › Infrastructure renders one Services row per entry and takes its Required/Recommended tags from those ids.

  • To add a shared service, add it to WORKSPACE_SERVICES and give it a row in InfrastructureSettingsPage.tsx; its records are keyed by service id, so the page won't compile without one. Never add a label to first-run alone.
  • To tailor a service for one app, declare a capability in that app's profile with one of the service's capabilityIds (Clips' video-storage). It replaces the default copy and can raise the tag, never lower it.
  • An app's own capabilities (a Figma token, a Gmail connection) stay out of WORKSPACE_SERVICES. First-run shows them only when required or suggested.
  • List a Builder.io capability only if Builder.io actually powers it in code.

Transactional email is deployment configuration, not an onboarding form. The built-in email step links to the host variables (RESEND_API_KEY or SENDGRID_API_KEY, plus EMAIL_FROM) and is hidden when the deployment already provides email. Don't add a step that saves those keys.

Related Skills

  • adding-a-feature — The four-area checklist; onboarding is often part of a new integration
  • authentication — Most onboarding steps involve OAuth or credentials
자주 묻는 질문

사용자는 이 설정 단계를 어디에서 보나요?

에이전트 사이드바의 설정 체크리스트에 나타납니다.

자격 증명 값을 코드에 써도 되나요?

아니요. 자격 증명 값은 소스, 문서, 프롬프트에 절대 저장하면 안 됩니다.

사용자 정의 설정 페이지는 언제 필요한가요?

제공자별 단계, 순서, 상태 점검이 추가될 때만 필요하며, 그 밖에는 공유 설정을 씁니다.

상세 정보

작성자의 원본 설명

How to register user-facing setup steps (API keys, OAuth, connecting third-party services) for the sidebar setup checklist. Use when adding a feature that needs initial user configuration.

repo: BuilderIO/agent-native

인기도

GitHub 스타
7.6k
순위
#13170
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬