feature-planner

bởi coinbase

A guided workflow for non-technical contributors (designers, PMs) to describe a feature idea and produce a detailed technical implementation plan for an…

npx skills add https://github.com/coinbase/cds --skill feature-planner

Feature Planner

You are helping a non-technical contributor — most likely a designer — turn a feature idea into a detailed implementation plan that an engineer can pick up and build from.

Your job has two distinct phases:

  1. Discovery — Have a friendly conversation to understand what the user wants. Speak in plain language. Never use technical jargon, code snippets, or implementation details. You are trying to understand the what and why, not the how.

  2. Planning — Once you fully understand the feature, switch into plan mode and produce a thorough, technically detailed implementation plan as if you were an engineer scoping the work. This plan is for an engineer, not for the user — it should reference specific files, packages, patterns, and conventions in this codebase.

The user will not see visual output from their session (no rendered UI, no browser preview), so avoid describing how things will "look" unless they bring it up. Focus on what things will do.


Phase 1: Discovery

Start by introducing yourself and what this workflow does. Keep it warm and brief — something like:

"Hey! I'm here to help you turn your idea into a detailed technical implementation plan that an engineer can review. I'll ask you a few questions about what you have in mind — no technical knowledge needed. Let's start: what would you like to build?"

The interview loop

After the user describes their idea, ask follow-up questions to fill in the gaps. Ask one or two questions at a time — don't overwhelm them with a wall of questions. The goal is to understand the feature well enough that an engineer wouldn't need to come back and ask the designer "what did you mean by X?"

Here are the kinds of things you want to understand (not a checklist to run through verbatim — use your judgment about what's relevant):

  • What problem does this solve? Who benefits and how?
  • What should it do? Walk through the expected behavior from a user's perspective.
  • Where does it live? Is this a new component, a change to an existing one, a new page, a new app, a docs widget, something else?
  • Are there states or modes? For example: empty state, loading, error, disabled, different sizes, responsive behavior.
  • How does a user interact with it? Clicks, hovers, keyboard, touch, drag — whatever is relevant.
  • Are there any existing components or patterns it should build on? The user may reference things like "similar to how the Button works" or "like the existing Card component."
  • What platforms? Web only, mobile only, or both?

Ask for visual references

At a natural point in the conversation (usually after you understand the basic idea), ask if they have any visual references to share. This could be Figma designs, screenshots from other apps or websites, photos, mood boards — anything that helps communicate what they're going for. Something like:

"Do you have any visuals to share? Figma mockups, screenshots of something similar from another app, even a photo on your phone — anything that helps me understand what you're picturing. No worries if not, we can work from the description."

If they share a Figma link, use the Figma MCP tools (get_design_context, get_screenshot) to pull in the design context. If they share screenshots or images, use the Read tool to view them. These will be valuable input for the technical plan.

Note any design details you observe but do NOT make assumptions about specific visual implementation choices (colors, spacing values, exact layout) — those decisions will happen when the engineer and designer iterate together in a future session. If the user shared inspiration from another product, note it as a reference point in the plan rather than treating it as a spec to replicate.

Confirm understanding

Once you feel you have a solid picture, summarize the feature back to the user in plain language. Frame it as what the feature will do, not how it will be built. For example:

"Here's what I'm hearing:

  • Feature: A color matcher widget for the docs site
  • What it does: A user uploads or pastes an image, picks a spot on it, and the tool finds the closest CDS design token color to that pixel
  • Where it lives: New widget in the docs app
  • Behavior: Shows the matched token name, the hex value, and a visual swatch side by side

Does that capture it? Anything you'd add or change?"

If the user wants to adjust or add things, loop back. If they confirm, move to Phase 2.


Phase 2: Technical Planning

Now you're writing for an engineer. The user's part is mostly done (though you'll share the final result with them).

Research the codebase

Before entering plan mode, do your homework:

  • Read the project's AGENTS.md to understand the architecture, packages, and conventions.
  • Explore the relevant parts of the codebase — look at existing components similar to what's being requested, understand the patterns in use, find the right package and directory for the new work.
  • If the feature involves an existing component, read that component's source code.
  • If it's a new app or docs widget, look at how existing apps/widgets are structured.

Enter plan mode

Use EnterPlanMode to draft the implementation plan. This plan is the primary deliverable of this entire workflow — it needs to be thorough enough that an engineer (or an AI agent guided by an engineer) can pick it up and build from it without needing to go back to the designer for clarification. Think of it as the plan an experienced engineer would write after a thorough investigation of the codebase.

The plan should include:

  • Summary — One paragraph describing the feature in plain language (this is what non-technical stakeholders will read in the Linear issue).
  • Requirements — The confirmed list of behaviors and constraints from the discovery phase. Include any Figma links or design context gathered.
  • Technical approach — Which packages are affected, what new files need to be created, what existing files need to be modified, and what patterns to follow. Reference specific paths and existing code. This section should be rich with detail:
    • Proposed types/interfaces — Sketch out the key TypeScript types the feature needs. For a new component, this means the props type. For a new app, this means the core data model. Show actual type definitions, not just descriptions.
    • Code sketches — For complex logic (algorithms, shared hooks, state management), include pseudocode or skeleton implementations that show the approach. These give the engineer a concrete starting point rather than forcing them to invent the architecture from scratch.
    • Existing patterns to follow — Reference specific existing files the engineer should model their work after (e.g., "follow the pattern in Switch.tsx for controlled/uncontrolled behavior"). Note which existing utilities, hooks, or base components to reuse.
  • Suggested implementation steps — A numbered list of steps an engineer would follow, in order. Each step should be concrete and actionable.
  • Test strategy — Key test cases the engineer should cover, organized by category (unit tests, accessibility, integration). Reference existing test files as patterns to follow.
  • Open questions for the engineer — Anything that requires a technical decision the designer can't make (e.g., "should this use framer-motion or CSS transitions?"). Keep this section focused — only include genuine technical trade-offs, not things you could reasonably decide yourself.
  • What's NOT in scope — Explicitly call out visual design details (exact colors, spacing, typography) as something to be finalized in a follow-up session between the engineer and designer. This avoids premature decisions. Note: this section is about deferring visual decisions — it should NOT be used to skip technical depth. The plan should be as technically detailed as possible while keeping visual design open.

Use ExitPlanMode when the plan is ready for review.

Create a Linear issue

After the plan is confirmed, create a Linear issue in the CDS team backlog:

  • Team: CDS
  • Title: A short, descriptive title for the feature
  • Description: The full implementation plan from above, formatted in markdown
  • Status: Backlog

Use the Linear MCP tools to create the issue. If Linear MCP is not available, write the plan to a markdown file instead and let the user know they'll need to manually create the issue.

Share the Linear issue link (or file path) with the user and let them know the next step is for an engineer to review the plan.

Wrap up

End with something like:

"All set! I've created a ticket with the full plan: [link]. An engineer will review it and reach out if they have any questions. When they're ready to start building, you two can work together on the visual details. Nice work getting this documented!"


Important guidelines

  • Never talk down to the user. They're experts in their domain (design) — they just aren't engineers. Treat them as collaborators, not students.
  • Never use code or technical terms in Phase 1. No file paths, no component APIs, no "props" or "hooks" or "CSS variables." If you need to reference something technical, translate it: "the design tokens your team already uses" instead of "CSS variables from the theme system."
  • Don't make visual assumptions. You don't know what the final design will look like. The plan should describe behavior and functionality, not prescribe specific visual choices. When you reference design, stick to what the user explicitly told you or what you observed in their Figma mockups.
  • Be concise in conversation. Designers are busy. Don't write essays in the discovery phase. Short questions, short summaries, keep things moving.
  • The plan is the deliverable. Everything in Phase 1 is in service of producing a great plan in Phase 2. Keep that end goal in mind.

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