본문으로 건너뛰기
cccskills
무료GitHub에 공개

bb-plugin-authoring

Create or change BB plugins and Plugin SDK extensions, including CLI commands, agent tools, providers, and UI surfaces.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(21)

  • SKILL.md5.3 KB
  • references/backend-api-index.md12.1 KB
  • references/backend-cli-agents.md14.2 KB
  • references/backend-events.md24.5 KB
  • references/backend-foundation.md14.7 KB
  • references/backend-machines.md12.1 KB
  • references/backend-sdk.md18.0 KB
  • references/backend-ui-lifecycle.md3.2 KB
  • references/distribution.md11.0 KB
  • references/frontend-api-index.md9.0 KB
  • references/frontend-components.md20.0 KB
  • references/frontend-core-slots.md18.8 KB
  • references/frontend-hooks-and-ui.md20.1 KB
  • references/frontend-registration.md18.7 KB
  • references/frontend-renderer-slots.md11.6 KB
  • references/frontend-sidebar-navigation.md5.7 KB
  • references/frontend-testing-api-index.md838 B
  • references/provider-bridge-api-index.md12.5 KB
  • references/providers.md13.3 KB
  • references/quickstart.md11.1 KB
  • references/testing.md12.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Author BB plugins

A BB plugin is a TypeScript package that can add server behavior, agent capabilities, host-rendered UI, or a frontend bundle.

Use the current SDK types and repository source as the contract. This skill routes to detailed references, but the installed BB version decides the exact API.

Implement and verify

Inspect the affected package and current SDK declarations to select backend, frontend, or both. Build the plugin and verify the affected contracts and user workflow. Install or reload when a live check is needed for the requested work.

To find where a plugin can extend the app, open the Plugin Guide in bb or at https://getbb.app/plugin-guide.

Use bb plugin new <name> for a new plugin. The scaffold includes frontend files. Remove bb.app and those files when the plugin is headless.

Every new public Plugin SDK surface starts with an experimental_ prefix and an entry in docs/api_to_audit.md. Add its Plugin Guide card and API inventory in the same change.

Read only the relevant reference

Start, package, and release

  • Read references/quickstart.md for the first plugin, manifest fields, branding, plugin ids, builds, installs, and dependencies.
  • Read references/distribution.md for exact API lookup, updates, Git or npm release, multi-plugin repositories, custom marketplaces, and store text.

Backend

  • Read references/backend-foundation.md for the factory (and which reference covers each bb.* member), logging, settings, storage, server information, and host entries.
  • Read references/backend-sdk.md for the bb.sdk area map, threads, plugin metadata, files, terminals, attachments, and calls to another plugin's RPC.
  • Read references/backend-api-index.md to check every public backend, host, AI-service, and test export.
  • Read references/backend-events.md for lifecycle events, the dispatch hook, environment providers, HTTP, RPC, realtime, background services, and schedules.
  • Read references/backend-machines.md for machine providers, core project source setup, enrollment/bootstrap helpers, and server access.
  • Read references/backend-cli-agents.md for CLI commands, input forms, agent tools, agent configuration, and helper AI services.
  • Read references/providers.md only when the plugin registers an agent provider or contributes provider environment variables. Its contract lives in docs/provider-plugin-api.md and docs/provider-bridge-protocol.md in the bb repository.
  • Read references/provider-bridge-api-index.md to check every public provider bridge, bridge-test, and ACP export.
  • Read references/backend-ui-lifecycle.md for host-rendered UI, status, cleanup, and reload behavior.

Frontend

  • Read references/frontend-registration.md for definePluginApp, thread header and Browser toolbar controls, sidebar replacement, and the provider directory.
  • Read references/frontend-sidebar-navigation.md for navigation providers (rail or list placement) and controls beside the sidebar toggle.
  • Read references/frontend-api-index.md to check every public frontend runtime value and type export.
  • Read references/frontend-core-slots.md for trusted content scripts, homepage, settings, navigation, thread panels, environment and machine provider inputs, interactions, sidebar actions, and file openers.
  • Read references/frontend-renderer-slots.md for source, diff, message, timeline, palette, and provider-icon renderers or actions.
  • Read references/frontend-components.md for ThreadChat, provider controls, source and diff viewers, links, panels, the new-thread composer, and shared icons.
  • Read references/frontend-hooks-and-ui.md for hooks, composer customization, vendored components, runtime shims, crash isolation, and styling.

Testing

  • Read references/frontend-testing-api-index.md to check every frontend test runtime value and type export.
  • Read references/testing.md before you add tests or run a live plugin loop, and for reference plugins to copy from.

Contract rules

  • Parse freeform input at the boundary and pass typed values internally.
  • Declare only manifest fields and settings that the plugin implements.
  • Keep secret settings on the server.
  • Treat frontend parameters and persisted values as untrusted input.
  • Return bounded CLI and agent-tool output.
  • Document plugin commands, settings, and operating constraints in the plugin's own skills/ directory. The core CLI skill owns generic plugin management, not individual plugin behavior.
  • Dispose every service, schedule, listener, content script, and resource.
  • Use SDK host components and navigation for host-owned behavior.
  • Use vendored UI source for plugin-owned controls.
  • Keep experimental names until the public API audit stabilizes them.
  • Use current names. Compatibility aliases can warn and can expire after one release. Removed APIs can throw.
  • Run bb plugin types when SDK declaration versions can drift.
  • Run bb plugin build before install, release, or marketplace submission.

Verification

Confirm the backend contract, frontend contract, manifest, generated bundle, and live behavior that the change affects. Use focused tests for failure-prone policy and lifecycle behavior.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Configure or diagnose Account Pooler accounts, authentication, quota routing, and failover through bb pool.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Configure or troubleshoot ACP agent discovery, custom models, skills, and compaction in BB.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Approve a GitHub contributor to open PRs in get-bb/bb, then land the allowlist change with SlopCop and CI skipped. Use for requests such as "add @username to be able to open PRs" or an explicit add-contributor invocation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Create or edit element annotations in desktop Browser tabs, or update saved annotation comments through the plugin RPC.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Schedule or manage recurring and one-shot BB agent or script automations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

Sign this bb in to or out of its getbb.app account with bb account, and check which account remote access and hosted services use.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

get-bb/bb4.5천2026년 10월 19일 업데이트

get-bb의 스킬 모두 보기

이 스킬의 문제 신고