選項

product-capability

affaan-m/ECC affaan-m/ECC

在展開跨服務合作之前,將產品構想、產品需求說明書(PRD)或路線圖討論,轉化為明確且可直接實施的功能計畫,其中應包含限制條件、不變條件、介面以及待釐清的問題。

...展開全部
1
更新時間 2026-10-12

產品能力

這項能力能將產品意圖轉化為明確的工程限制條件。

當問題的關鍵不在於「我們應該開發什麼?」,而在於「在開始實作之前,哪些條件必須確實成立?」時,請使用此技巧。

何時使用

  • 當已存在產品需求文件(PRD)、路線圖項目、討論紀錄或創辦人備忘錄,但實作限制仍屬隱含時
  • 某項功能橫跨多個服務、儲存庫或團隊,且在編碼前需要簽訂功能協議
  • 產品意圖雖清晰,但對架構、資料、生命週期或政策的影響仍不明確
  • 資深工程師在審查過程中不斷重提相同的隱含假設
  • 您需要一個可重複使用的產出物,能跨越不同測試框架與會議持續沿用

標準化產出物

若儲存庫中已有持久的產品背景檔案(例如PRODUCT.md、docs/product/ 或 program-spec 目錄),請於該處進行更新。

若尚未存在功能清單,請使用以下模板建立一個:

  • docs/examples/product-capability-template.md

目標並非建立另一個規劃架構,而是要讓隱藏的功能限制具備持久性與可重複使用性。

不可妥協的規則

  • 切勿杜撰產品事實。請明確標示尚未解決的問題。
  • 將使用者可見的承諾與實作細節區分開來。
  • 明確區分哪些是既定政策、哪些是架構偏好,以及哪些仍屬開放討論。
  • 若請求與現有儲存庫限制相衝突,應明確指出,而非輕描淡寫地帶過。
  • 與其散見於各處的臨時筆記,不如優先採用單一可重複使用的功能產出物。

輸入

僅閱讀所需內容:

  1. 產品意圖
    • 問題單、討論串、產品需求說明書(PRD)、路線圖備註、創辦人訊息
  2. 現行架構
    • 相關儲存庫文件、合約、資料結構、路由、現有工作流程
  3. 現有功能背景
    • PRODUCT.md、設計文件、RFC、遷移說明、營運模式文件
  4. 交付限制
    • 授權、計費、合規性、部署、向後相容性、效能、審查政策

核心工作流程

1. 重新闡述該功能

將需求濃縮為一個精確的陳述:

  • 使用者或操作者是誰
  • 此功能上線後將新增哪些功能
  • 因此會帶來哪些結果上的變化

若此陳述不夠明確,實作方向便會偏離。

2. 釐清功能限制

萃取實施前必須滿足的限制條件:

  • 業務規則
  • 範圍邊界
  • 不變式
  • 信任邊界
  • 資料所有權
  • 生命週期轉換
  • 部署/遷移要求
  • 故障與復原預期

這些事項往往僅存在於資深工程師的記憶中。

3. 定義面向實作的合約

編製一份 SRS 風格的功能規劃書,內容應包含:

  • 功能摘要
  • 明確的非目標
  • 參與者與介面
  • 所需狀態與轉換
  • 介面/輸入/輸出
  • 對資料模型的影響
  • 安全性/計費/政策限制
  • 可觀察性與營運商需求
  • 阻礙實作的未解問題

4. 轉化為執行方案

以精確的交接作為結尾:

  • 已準備好直接實施
  • 需先進行架構審查
  • 需先釐清產品細節

若適用,請指向下一個 ECC 原生流程:

  • 專案流程運作
  • 工作區介面稽核
  • API 連接器建構器
  • 儀表板建構器
  • tdd-workflow
  • 驗證迴圈

輸出格式

請按以下順序回傳結果:

能力
- 一段文字的重新陳述

限制條件
- 固定規則、不變式與邊界

實作合約
- 參與者
- 介面
- 狀態與轉換
- 介面/資料影響

非目標
- 此工作線明確不負責的內容

待解決問題
- 仍需處理的阻礙因素或產品決策

交接
- 後續應採取的行動,以及應由哪條 ECC 工作線接手

良好成果

  • 產品意圖現已具體到足以進行實作,且無需在 Pull Request 過程中重新發現隱藏的限制條件。
  • 工程審查擁有持久的產出物,而非僅依賴記憶或 Slack 對話脈絡。
  • 最終產出的計畫可在 Claude Code、Codex、Cursor、OpenCode 及 ECC 2.0 等規劃平台間重複使用。
在 GitHub 上查看
---
name: product-capability
description: Translate product intent, PRDs, or roadmap discussions into explicit, implementation-ready capability plans with constraints, invariants, interfaces, and open questions before multi-service work begins.
---

# Product Capability

This skill turns product intent into explicit engineering constraints.

Use it when the gap is not "what should we build?" but "what exactly must be true before implementation starts?"

## When to Use

- A PRD, roadmap item, discussion, or founder note exists, but the implementation constraints are still implicit
- A feature crosses multiple services, repos, or teams and needs a capability contract before coding
- Product intent is clear, but architecture, data, lifecycle, or policy implications are still fuzzy
- Senior engineers keep restating the same hidden assumptions during review
- You need a reusable artifact that can survive across harnesses and sessions

## Canonical Artifact

If the repo has a durable product-context file such as `PRODUCT.md`, `docs/product/`, or a program-spec directory, update it there.

If no capability manifest exists yet, create one using the template at:

- `docs/examples/product-capability-template.md`

The goal is not to create another planning stack. The goal is to make hidden capability constraints durable and reusable.

## Non-Negotiable Rules

- Do not invent product truth. Mark unresolved questions explicitly.
- Separate user-visible promises from implementation details.
- Call out what is fixed policy, what is architecture preference, and what is still open.
- If the request conflicts with existing repo constraints, say so clearly instead of smoothing it over.
- Prefer one reusable capability artifact over scattered ad hoc notes.

## Inputs

Read only what is needed:

1. Product intent
   - issue, discussion, PRD, roadmap note, founder message
2. Current architecture
   - relevant repo docs, contracts, schemas, routes, existing workflows
3. Existing capability context
   - `PRODUCT.md`, design docs, RFCs, migration notes, operating-model docs
4. Delivery constraints
   - auth, billing, compliance, rollout, backwards compatibility, performance, review policy

## Core Workflow

### 1. Restate the capability

Compress the ask into one precise statement:

- who the user or operator is
- what new capability exists after this ships
- what outcome changes because of it

If this statement is weak, the implementation will drift.

### 2. Resolve capability constraints

Extract the constraints that must hold before implementation:

- business rules
- scope boundaries
- invariants
- trust boundaries
- data ownership
- lifecycle transitions
- rollout / migration requirements
- failure and recovery expectations

These are the things that often live only in senior-engineer memory.

### 3. Define the implementation-facing contract

Produce an SRS-style capability plan with:

- capability summary
- explicit non-goals
- actors and surfaces
- required states and transitions
- interfaces / inputs / outputs
- data model implications
- security / billing / policy constraints
- observability and operator requirements
- open questions blocking implementation

### 4. Translate into execution

End with the exact handoff:

- ready for direct implementation
- needs architecture review first
- needs product clarification first

If useful, point to the next ECC-native lane:

- `project-flow-ops`
- `workspace-surface-audit`
- `api-connector-builder`
- `dashboard-builder`
- `tdd-workflow`
- `verification-loop`

## Output Format

Return the result in this order:

```text
CAPABILITY
- one-paragraph restatement

CONSTRAINTS
- fixed rules, invariants, and boundaries

IMPLEMENTATION CONTRACT
- actors
- surfaces
- states and transitions
- interface/data implications

NON-GOALS
- what this lane explicitly does not own

OPEN QUESTIONS
- blockers or product decisions still required

HANDOFF
- what should happen next and which ECC lane should take it
```

## Good Outcomes

- Product intent is now concrete enough to implement without rediscovering hidden constraints mid-PR.
- Engineering review has a durable artifact instead of relying on memory or Slack context.
- The resulting plan is reusable across Claude Code, Codex, Cursor, OpenCode, and ECC 2.0 planning surfaces.

所有檔案

1 個檔案

安裝 product-capability

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/affaan-m/ECC/tree/main/skills/product-capability # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/ Claude 會自動偵測並使用該技能
儲存庫 affaan-m/ECC

相關技能

airtable-automation
更新時間 2026-06-29
notion-automation
更新時間 2026-06-29
seo-programmatic
更新時間 2026-06-29
revops
更新時間 2026-06-29
OR