git.detect-breaking-changes

bởi coinbase

git.detect-breaking-changes — một kỹ năng có thể cài đặt cho các tác nhân AI, được phát hành bởi coinbase/cds.

npx skills add https://github.com/coinbase/cds --skill git.detect-breaking-changes

Your task

Analyze the previous $ARGUMENTS commits for breaking changes across the CDS public API surface.

Scope

Only analyze changes within these packages:

  • packages/web/
  • packages/mobile/
  • packages/common/

Determining the public API surface

Each package is fully ESM. Inspect each package's package.json "exports" map to determine the public entry points. Every symbol (component, function, hook, constant, type, interface, enum) that is reachable through these export paths is part of the public API and subject to breaking change analysis.

Follow the export chain: package.json exports -> entry index.ts barrel file -> re-exported modules. Any symbol that a consumer could import via the package's published entry points is in scope.

How to analyze

  1. Use git log --oneline -$ARGUMENTS -- <package-path> for each package to identify relevant commits.
  2. Use git diff HEAD~$ARGUMENTS..HEAD -- <package-path> and git show <sha> to inspect the actual changes.
  3. For each changed file, determine if it is reachable from a public export path. If not, skip it.
  4. For files that are part of the public API, classify each change using the categories below.

Breaking change categories

1. Removal

A previously exported symbol (component, function, hook, type, interface, constant, enum) has been deleted or is no longer exported.

Examples:

  • A component is removed from the barrel export
  • A named export is deleted
  • A type or interface is no longer re-exported

2. API change (props / function signature)

The call signature of a public function, hook, or component has changed in a way that would break existing consumers.

Examples:

  • A required prop is added to a component
  • A prop is renamed
  • A prop's accepted values are narrowed (e.g., union type member removed)
  • A function parameter is removed, reordered, or made required
  • A hook's return type changes shape
  • Default values are removed or changed in a way that alters behavior

3. Type definition change

A publicly exported type, interface, or enum has been modified in a way that would cause consumer TypeScript compilation to fail.

Examples:

  • A property is removed from an exported interface
  • A type union is narrowed
  • An enum member is removed or renamed
  • Generic type parameters are added, removed, or reordered
  • A type is changed from a type alias to an interface (or vice versa) in a way that breaks assignability

4. Visual / layout change

A change to styles, spacing, sizing, or visual output that would shift the consumer's application layout or appearance without any API-level change.

Examples:

  • Default margin, padding, or gap values changed
  • Component dimensions (width, height, min/max) changed
  • CSS display, position, or flex properties changed
  • Default visual variants or theme token mappings changed
  • Border, border-radius, or shadow values changed
  • Font size, line height, or font weight defaults changed

5. DOM / element structure change (web packages only)

Applies to packages/web/ only. Changes to the rendered HTML element tree that could break consumer CSS selectors or DOM queries targeting internal component structure.

Examples:

  • Wrapper elements added or removed
  • Element tag names changed (e.g., div -> section)
  • Nesting order of child elements changed
  • CSS class names or data attributes on internal elements removed or renamed
  • role or aria-* attributes removed or changed

6. Behavioral change

A change in runtime behavior that could break consumer expectations even though the API signature remains the same.

Examples:

  • Event handler calling conventions changed (e.g., different event object shape)
  • State management or controlled/uncontrolled behavior changed
  • Animation or transition behavior changed
  • Focus management behavior changed
  • Accessibility behavior changed (e.g., keyboard navigation patterns)

Output format

Organize findings by package. Within each package, group by category. For each breaking change, include:

  • Entity: The name of the affected component, type, function, hook, etc.
  • Category: One of the categories above
  • Description: A concise explanation of what changed and why it is breaking
  • File: The file path where the change occurred
  • Commit: The commit SHA that introduced the change

Use this structure:


packages/<package-name>/

Removals

EntityDescriptionFileCommit
............

API Changes

EntityDescriptionFileCommit
............

(Continue for each category that has findings. Omit empty categories.)


(Repeat for each package that has breaking changes. Omit packages with no breaking changes.)

Summary

After the per-package breakdown, provide a brief summary section:

  1. Total breaking changes by category across all packages
  2. Highest-risk changes: call out the changes most likely to cause widespread consumer breakage
  3. Migration notes: brief guidance on what consumers would need to do to adapt to each breaking change

Important guidelines

  • Be thorough but precise. Do not flag internal refactors that do not affect the public API.
  • When in doubt about whether something is publicly exported, trace the export chain from package.json exports -> barrel files -> source modules.
  • For visual/layout changes, note the before and after values when possible.
  • For DOM structure changes, describe the structural difference clearly enough that a consumer could update their CSS selectors.
  • Do not speculate. Only report changes you can verify from the diff.

Thêm skills từ coinbase

git.repo-manager
coinbase
git.repo-manager — một kỹ năng có thể cài đặt cho các tác nhân AI, được xuất bản bởi coinbase/cds.
official
agentic-wallet
coinbase
Các thao tác ví tiền điện tử qua CLI awal — đăng nhập, kiểm tra số dư, gửi USDC/ETH/POL/SOL, giao dịch token, nạp tiền vào ví, và sử dụng giao thức thanh toán x402 để…
official
authenticate-wallet
coinbase
Xác thực ví dựa trên OTP qua email với kiểm tra trạng thái và xác thực. Quy trình đăng nhập hai bước: khởi tạo bằng email để nhận mã OTP 6 chữ số, sau đó xác minh với flowId và mã để hoàn tất xác thực. Bao gồm các quy tắc kiểm tra đầu vào cho email, flowId và OTP nhằm ngăn chặn tấn công shell trước khi thực thi lệnh. Cung cấp kiểm tra trạng thái, truy vấn số dư, lấy địa chỉ và truy cập cửa sổ ví thông qua các lệnh CLI đi kèm. Tất cả lệnh đều hỗ trợ đầu ra --json để máy có thể đọc được...
official
fund
coinbase
Nạp USDC vào ví qua Coinbase Onramp hoặc chuyển khoản trực tiếp. Mở giao diện đồng hành cho phép người dùng chọn số tiền định sẵn ($10, $20, $50) hoặc giá trị tùy chỉnh và chọn thanh toán qua Apple Pay, thẻ ghi nợ, chuyển khoản ngân hàng hoặc tài khoản Coinbase. Hỗ trợ nhiều phương thức thanh toán với thời gian xử lý khác nhau: thanh toán ngay lập tức qua thẻ và Apple Pay, 1–3 ngày đối với chuyển khoản ngân hàng ACH. Nạp tiền dưới dạng USDC trên mạng Base; ngoài ra, người dùng có thể gửi USDC trực tiếp đến địa chỉ ví qua npx awal@2.0.3...
official
monetize-service
coinbase
Triển khai một điểm cuối API trả phí mà các tác nhân khác có thể khám phá và thanh toán qua giao thức x402. Tính phí USDC mỗi yêu cầu trên Base bằng giao thức thanh toán HTTP 402; khách hàng thanh toán bằng giao dịch đã ký, không cần khóa API hoặc tài khoản. Tự động đăng ký điểm cuối với x402 Bazaar để các tác nhân khám phá khi bạn khai báo phần mở rộng khám phá. Hỗ trợ nhiều mức giá, tuyến đường ký tự đại diện và nhiều tùy chọn thanh toán cho mỗi điểm cuối bằng phần mềm trung gian Express. Được xây dựng trên @x402/express và @x402/core...
official
pay-for-service
coinbase
Gọi các API trả phí trên Base với thanh toán USDC tự động qua giao thức x402. Thực thi các yêu cầu HTTP (GET, POST, v.v.) đến các điểm cuối hỗ trợ x402 với thanh toán USDC nguyên tử được xử lý tự động. Hỗ trợ tùy chỉnh yêu cầu thông qua phương thức, nội dung JSON, tham số truy vấn và tiêu đề tùy chỉnh. Bao gồm các kiểm soát thanh toán: đặt số tiền USDC tối đa cho mỗi yêu cầu và nhóm các thao tác liên quan với ID tương quan. Yêu cầu xác thực ví và số dư USDC đủ; xác thực tất cả đầu vào của người dùng để ngăn chặn shell...
official
query-blockchain-data
coinbase
Truy vấn dữ liệu onchain blockchain trên Base bằng CDP SQL API qua x402. Sử dụng khi bạn hoặc người dùng muốn xem thông tin onchain về các block đã được giải mã,…
official
query-onchain-data
coinbase
Truy vấn dữ liệu onchain trên Base bằng SQL với thanh toán x402 theo từng truy vấn. Truy cập các sự kiện, giao dịch và khối đã được giải mã qua CoinbaseQL, một phương ngữ SQL dựa trên ClickHouse hỗ trợ joins, CTEs, truy vấn con và các hàm tiêu chuẩn. Ba bảng chính có sẵn: base.events (log hợp đồng thông minh đã giải mã), base.transactions (dữ liệu giao dịch đầy đủ) và base.blocks (siêu dữ liệu khối). Yêu cầu lọc trên các trường được đánh chỉ mục (event_signature, address, block_timestamp) trong truy vấn sự kiện để tránh quét toàn bộ bảng...
official