Skip to main content

onboarding

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.

소스 정보

저장소
BuilderIO/builder-agent-native-starter
최근 소스 활동
2026년 7월 28일 19:09
감지된 SKILL.md 언어
영어
스타
8
포크
3

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
onboarding
description
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.
scope
dev
metadata
{"internal":true}
# 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 API keys and service tokens, prefer `registerRequiredSecret()` from the `secrets` skill so the settings UI, encrypted storage, validation, and onboarding checklist stay in one place. For OAuth, check the scoped OAuth token store. Use deployment env vars only for deploy-level configuration, not per-user credentials. ## Registering a Step ```ts 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. ## 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
GitHub에서 보기