跳到正文
cccskills
免费在 GitHub 公开

plugin-guide-maintenance

Keep Plugin Guide reference cards, example screens, and annotations aligned with public SDK changes and the actual app. It covers source references, annotation placement, interaction checks, and focused tests for the affected entries.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Update Plugin Guide cards, fixtures, and annotations when public SDK contracts or Guide presentation change.

查看安装方法

适用场景

  • Update Guide entries after a public SDK change
  • Add a Guide card for a new product surface
  • Adjust annotation order and placement
  • Check annotation hover, focus, and click behavior

包含的文件(1)

  • SKILL.md5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Maintain the Plugin Guide

The Plugin Guide is bb's public Plugin SDK reference. For a public API change, follow the full workflow. For annotation-only maintenance, start at Maintain annotation layout, skip the public-API section, and then follow the annotation-only verification path.

Confirm a public API change

Build the declarations and inspect the SDK change:

pnpm exec turbo run build:types --filter=@get-bb/plugin-sdk
git diff -- packages/plugin-sdk/package.json packages/plugin-sdk/src

Continue only when the API change affects a Guide card, API symbol list, or fixture. If the Guide remains accurate, do not change it.

New public members also require:

  • an experimental_ name, or an Experimental type name;
  • an entry in docs/api_to_audit.md;
  • compatibility with released SDK users unless the user approves the break.

Find the product source

For a visible method, inspect these sources:

  1. The app component that shows the surface.
  2. The slot, collector, or adapter that inserts the plugin content.
  3. The closest app test that defines the real states.

Record stable source paths and anchors in plugins/plugin-api-docs/src/anatomy-manifest.json. Use labels, roles, data attributes, class constants, and state names as anchors. The @bb/app tests check the anchors against the source.

For a method without a visible surface, use the Plugin backend group. Do not invent interface elements.

Add the Guide entry

For a new Guide entry, run the scaffold command with its sources and symbols:

pnpm exec turbo run scaffold:surface-entry --filter=bb-plugin-plugin-api-docs -- \
  --id <stable-id> \
  --title "<visible-product-object>" \
  --group <group> \
  --source <source-path> \
  --api-symbol <exported-name>

Complete the applicable changes:

  • Update plugins/plugin-api-docs/src/surfaces.ts.
  • Prefer an existing card unless the API creates a new product surface.
  • Keep existing surface IDs stable and list each exact exported symbol.
  • Name example plugins in firstParty by display name. A plugin missing from plugins/plugin-api-docs/src/first-party-plugins.json needs a row there; the @bb/scripts tests check each row against the plugin's manifest.
  • For a visible method, update wireframes.tsx and its marker.
  • Match the real ownership, labels, roles, order, states, actions, and outcome.
  • Keep Guide annotations separate from the product interface.
  • Add focused tests for the entry, source anchors, trigger, and outcome.

Maintain annotation layout

Annotation numbers follow the rendered fixture: columns from left to right, then annotations within each column from top to bottom. Read annotations that share a row from left to right.

Treat each annotation's badge, visible target, and interactive overlay as separate layout contracts. Whenever an annotation is added, removed, moved, or renumbered, or its target or surrounding layout changes:

  1. Build and reload the real Plugin Guide at each relevant viewport. Redraw the complete affected sequence, then update surfaces.ts and the focused order test. test/wireframes.test.ts ("draws exactly the surfaces of each visual group on its fixture") fails until the fixture's targets match the group's surface ids.
  2. Inspect each rendered badge footprint, including its outline, ring, and hover scaling. It must remain inside its container, not intersect another badge, and leave its annotated content readable.
  3. Inspect target and overlay bounds, including shared edges and nested areas. An overlay must not enter a sibling surface, cover its content, or capture its hover, focus, or click behavior. A nested child must own its full visible target; do not rely on DOM order or z-index to resolve ownership.
  4. Hover, focus, and click every affected badge and visible target. Confirm that only the matching annotation activates, the full target is reachable, and badge numbers, cards, and previous/next navigation agree.
  5. Add or update a focused test for any boundary or ownership rule that could regress. Every annotation must appear exactly once; DOM nesting alone does not prove correct overlay ownership.

If responsive layouts cannot share one spatial order, fix the layout or define one stable readable sequence before shipping.

Verify the result

For a public API change, run:

pnpm exec turbo run test typecheck lint \
  --filter=@get-bb/plugin-sdk \
  --filter=@bb/app \
  --filter=bb-plugin-plugin-api-docs
bb plugin build plugins/plugin-api-docs

When first-party-plugins.json changes, also run pnpm exec turbo run test --filter=@bb/scripts.

For annotation-only maintenance, use the affected package and Plugin Guide checks required by repository validation policy. Start pnpm dev; inspect the affected entry and reachable actions for a public API change, or the affected annotations and adjacent interactive surfaces for annotation-only maintenance.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Configure and diagnose Account Pooler in BB, including accounts, authentication, quota-based routing, and failover, which switches to another account. Inspect account and routing state, plus Provider Retry decisions after pooled rate-limit failures.

中文简介正在准备中。当前显示英语简介。

  • Inspect registered accounts and routing state
  • Configure account login or credential import
  • Investigate quota routing and account failover
get-bb/bb45282026年10月20日 更新

Configure and troubleshoot agents connected to BB through ACP, an agent connection protocol. Manage agent discovery, registry additions, model choices, custom agent settings, skill locations, and supported conversation compaction, which condenses session context.

中文简介正在准备中。当前显示英语简介。

  • Add an agent from the official ACP registry
  • Investigate missing OpenCode models or modes
  • Configure custom agents and skill locations
get-bb/bb45282026年10月20日 更新

Approve a GitHub account to open pull requests in get-bb/bb by updating its allowlist. The workflow verifies the account, checks the change, and creates and merges an approval PR while skipping SlopCop review and CI.

中文简介正在准备中。当前显示英语简介。

  • Approving a contributor to open pull requests
  • Preparing an approval PR for review only
  • Checking whether an account is already approved
get-bb/bb45282026年10月20日 更新

Add comments to specific elements in desktop Browser tabs and include those references in prompts. Edit or delete annotation pins, or update saved comments through the plugin RPC, a command interface for plugins.

中文简介正在准备中。当前显示英语简介。

  • Point out a button to change in a prompt
  • Revise a comment before sending a prompt
  • Update a saved annotation comment
get-bb/bb45282026年10月20日 更新

Schedule recurring or one-time BB tasks using an agent for work that needs reasoning or a server-side script for fixed checks. Manage schedules, pause and resume tasks, run them manually, and inspect execution history.

中文简介正在准备中。当前显示英语简介。

  • Schedule recurring feed summaries
  • Run periodic health checks or API polling
  • Schedule a one-time agent task
get-bb/bb45282026年10月20日 更新

Manage the getbb.app account linked to a bb server. Check which account remote access and hosted services use, sign in through a browser or pairing code, and sign out to revoke the server's credential.

中文简介正在准备中。当前显示英语简介。

  • Check which account a bb server uses
  • Sign in through a browser or pairing code
  • Switch the account linked to a bb server
get-bb/bb45282026年10月20日 更新

查看 get-bb 的全部技能

报告此技能的问题