npx skills add https://github.com/boshu2/agentops --skill product目的: 引导用户创建
PRODUCT.md,以解锁/pre-mortem和/vibe中基于产品认知的委员会评审。
你必须执行此工作流。不要仅仅描述它。
CLI 依赖项: 无要求。
给定 /product [target-dir]:
target-dir 默认为当前工作目录。检查 PRODUCT.md 是否已存在:
ls PRODUCT.md 2>/dev/null
如果存在:
使用 AskUserQuestion:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
如果不存在: 继续步骤 2。
读取可用的项目文件以预填充建议:
ls 以获取结构提示利用你的发现为每个部分起草初始建议。如果没有任何文件存在,则使用空白建议继续。
使用 AskUserQuestion 向用户询问每个部分。对于每个问题,尽可能提供步骤 2 中获得的预填充建议。
询问:"您产品的使命是什么?(一句话:它为谁做什么?)"
基于 README 分析的选项:
询问:"您的主要用户是谁?描述 2-3 个用户画像。"
为每个画像收集:
使用 AskUserQuestion 询问第一个画像的角色,然后以对话方式跟进细节和额外的画像。当用户表示完成或收集了 3 个画像后停止。
询问:"是什么让您的产品值得使用?列出 2-4 个关键价值主张。"
选项:
询问:"存在哪些替代方案,您如何区分?"
收集:
如果用户说"没有"或"跳过",则在该部分写入"未识别出直接竞争对手"。
将 PRODUCT.md 写入目标目录,结构如下:
---
last_reviewed: YYYY-MM-DD
---
# PRODUCT.md
## 使命
{来自 3a 的使命}
## 目标用户画像
### 画像 1: {角色}
- **目标:** {目标}
- **痛点:** {痛点}
{为每个画像重复}
## 核心价值主张
{来自 3c 的要点列表}
## 竞争格局
| 替代方案 | 优势 | 我们的差异化点 |
|-------------|----------|---------------------|
{来自 3d 的行}
## 用法
此文件启用基于产品认知的委员会评审:
- **`/pre-mortem`** — 当此文件存在时,自动包含 `product` 视角(用户价值、采用障碍、竞争地位)以及计划评审评委。
- **`/vibe`** — 当此文件存在时,自动包含 `developer-experience` 视角(API 清晰度、错误体验、可发现性)以及代码评审评委。
- **`/council --preset=product`** — 按需运行产品评审。
- **`/council --preset=developer-experience`** — 按需运行 DX 评审。
用户显式指定的 `--preset` 覆盖会跳过自动包含(用户意图优先)。
将 last_reviewed 设置为今天的日期(YYYY-MM-DD 格式)。
告知用户:
{path} 处的 PRODUCT.md/pre-mortem 现在将自动包含产品视角(用户价值、采用障碍、竞争地位)/vibe 现在将自动包含开发者体验视角(API 清晰度、错误体验、可发现性)/council --preset=product 和 /council --preset=developer-experience 可按需使用/pre-mortem 以查看产品视角的实际效果用户说: /product
发生的情况:
结果: 创建了 PRODUCT.md,在未来的验证中解锁了基于产品认知的委员会视角。
用户说: /product
发生的情况:
last_reviewed 日期结果: PRODUCT.md 已刷新,添加了新画像,为下一个验证周期做好准备。
| 问题 | 原因 | 解决方案 |
|---|---|---|
| 没有上下文来预填充建议 | 缺少 README 或项目元数据文件 | 使用空白建议继续。请用户用自己的话描述项目。从对话中提取使命。 |
| 用户不清楚画像与用户的区别 | 对画像定义感到困惑 | 解释:"画像是具有目标和痛点的特定用户原型。想象一个会使用此产品的真实人物。"提供示例。 |
| 竞争格局感觉牵强 | 真正新颖的产品或小众工具 | 接受"无直接竞争对手"为有效答案。专注于替代方法(手动流程、脚本)而非产品。 |
| PRODUCT.md 感觉泛泛而谈 | 用户输入不足或访谈仓促 | 提出后续问题。请求具体示例。挑战模糊的陈述,如"让事情更容易" — 如何更容易?如何衡量? |
每周安装量
200
仓库
GitHub 星标数
197
首次出现
2026年2月12日
安全审计
安装于
opencode199
codex196
github-copilot195
gemini-cli195
kimi-cli193
amp193
Purpose: Guide the user through creating a
PRODUCT.mdthat unlocks product-aware council reviews in/pre-mortemand/vibe.
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
CLI dependencies: None required.
Given /product [target-dir]:
target-dir defaults to the current working directory.Check if PRODUCT.md already exists:
ls PRODUCT.md 2>/dev/null
If it exists:
Use AskUserQuestion:
If it does not exist: continue to Step 2.
Read available project files to pre-populate suggestions:
ls the project root for structural hintsUse what you find to draft initial suggestions for each section. If no files exist, proceed with blank suggestions.
Ask the user about each section using AskUserQuestion. For each question, offer pre-populated suggestions from Step 2 where available.
Ask: "What is your product's mission? (One sentence: what does it do and for whom?)"
Options based on README analysis:
Ask: "Who are your primary users? Describe 2-3 personas."
For each persona, gather:
Use AskUserQuestion for the first persona's role, then follow up conversationally for details and additional personas. Stop when the user says they're done or after 3 personas.
Ask: "What makes your product worth using? List 2-4 key value propositions."
Options:
Ask: "What alternatives exist, and how do you differentiate?"
Gather:
If the user says "none" or "skip", write "No direct competitors identified" in the section.
Write PRODUCT.md to the target directory with this structure:
---
last_reviewed: YYYY-MM-DD
---
# PRODUCT.md
## Mission
{mission from 3a}
## Target Personas
### Persona 1: {role}
- **Goal:** {goal}
- **Pain point:** {pain point}
{repeat for each persona}
## Core Value Propositions
{bullet list from 3c}
## Competitive Landscape
| Alternative | Strength | Our Differentiation |
|-------------|----------|---------------------|
{rows from 3d}
## Usage
This file enables product-aware council reviews:
- **`/pre-mortem`** — Automatically includes `product` perspectives (user-value, adoption-barriers, competitive-position) alongside plan-review judges when this file exists.
- **`/vibe`** — Automatically includes `developer-experience` perspectives (api-clarity, error-experience, discoverability) alongside code-review judges when this file exists.
- **`/council --preset=product`** — Run product review on demand.
- **`/council --preset=developer-experience`** — Run DX review on demand.
Explicit `--preset` overrides from the user skip auto-include (user intent takes precedence).
Set last_reviewed to today's date (YYYY-MM-DD format).
Tell the user:
PRODUCT.md at {path}/pre-mortem will now auto-include product perspectives (user-value, adoption-barriers, competitive-position)/vibe will now auto-include developer-experience perspectives (api-clarity, error-experience, discoverability)/council --preset=product and /council --preset=developer-experience are available on demand/pre-mortem on their next plan to see product perspectives in actionUser says: /product
What happens:
Result: PRODUCT.md created, unlocking product-aware council perspectives in future validations.
User says: /product
What happens:
last_reviewed dateResult: PRODUCT.md refreshed with additional persona, ready for next validation cycle.
| Problem | Cause | Solution |
|---|---|---|
| No context to pre-populate suggestions | Missing README or project metadata files | Continue with blank suggestions. Ask user to describe project in own words. Extract mission from conversation. |
| User unclear on personas vs users | Confusion about persona definition | Explain: "Personas are specific user archetypes with goals and pain points. Think of one real person who would use this." Provide example. |
| Competitive landscape feels forced | Genuinely novel product or niche tool | Accept "No direct competitors" as valid. Focus on alternative approaches (manual processes, scripts) rather than products. |
| PRODUCT.md feels generic | Insufficient user input or rushed interview | Ask follow-up questions. Request specific examples. Challenge vague statements like "makes things easier" — easier how? Measured how? |
Weekly Installs
200
Repository
GitHub Stars
197
First Seen
Feb 12, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode199
codex196
github-copilot195
gemini-cli195
kimi-cli193
amp193
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
27,600 周安装