跳到正文
cccskills
免费在 GitHub 公开

define

Use when a new feature request, bug report, or work request needs requirements defined before implementation

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el星标 486(GitHub 486 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

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

/define — Product Owner Interview

Overview

Define requirements by interviewing the user. The interview IS the value — a requirements doc produced without conversation is just guessing.

Core principle: Ask, don't assume. Every assumption is a question you didn't ask.

When to Use

  • User describes a new feature, bug, or change request
  • Work needs to be broken down before architecture or implementation
  • You need to understand scope, personas, and success criteria

The Process

1. Gather Context (silent — don't show this to user)

  • Read CLAUDE.md and recent commits
  • Identify relevant source files for the topic
  • Note existing patterns and constraints

2. Interview — One Question at a Time

Use AskUserQuestion with multiple-choice options where possible.

You MUST ask questions. You MUST NOT produce requirements without interviewing.

Cover these areas, one question per turn:

AreaWhat to Ask
ScopeWhat should this do? What should it NOT do?
PersonasWho uses this? What's their context/skill level?
SuccessHow will we know it works? What does "done" look like?
Edge casesWhat happens with empty/invalid/unexpected input?
ConstraintsBackward compat? Performance? Dependencies?

After each area, summarize what you heard (200-300 words) and ask the user to confirm before moving on.

3. Produce User Stories

Use INVEST format. Each story must be:

  • Independent, Negotiable, Valuable, Estimable, Small, Testable

Template:

### Story N: [Title]

**As a** [persona from interview],
**I want** [functionality],
**So that** [benefit].

#### Acceptance Criteria

```gherkin
Given [context]
When [action]
Then [expected result]

Edge Cases

Given [edge case context]
When [action]
Then [expected handling]

Present stories to user for validation before finalizing.

### 4. Save and Commit

Ask user for a short name, or derive from the topic.

docs/plans/YYYY-MM-DD-<name>-requirements.md


Commit: `docs: add <name> requirements`

### 5. Next Step

> Requirements saved. When ready, use `/architect` to design the solution.

## Common Mistakes

| Mistake | Fix |
|---------|-----|
| Producing requirements without interviewing | STOP. Ask questions first. Always. |
| Asking multiple questions at once | One question per `AskUserQuestion` call |
| Including implementation/architecture details | Stay in problem space. Code design is `/architect`'s job. |
| Listing "open questions" without asking them | If it's a question, ASK the user |
| Using FR-1/AC-1.1 format instead of user stories | Use "As a [persona]..." with Gherkin criteria |
| Assuming scope instead of scoping with user | Every assumption is a question you skipped |
| Massive document from a one-line request | Interview to right-size. Small request may mean small scope. |

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

architect

免费

Use when requirements exist and a technical design is needed before implementation begins

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

implement

免费

Use when a design exists and it's time to break it into tasks and execute with subagent dispatch and review

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

qa

免费

Use when implementation is complete and you want to verify quality through adversarial testing that writes code and provides evidence

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

refactor

免费

Use when code quality needs improvement after implementation, without changing behavior

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

test

免费

Use EVERY TIME you need to run tests, verify tests pass, or check for regressions. ALWAYS use this instead of running eldev directly.

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

中文简介正在准备中。当前显示原文说明。

Trevoke/org-gtd.el4862026年8月7日 更新

查看 Trevoke 的全部技能

报告此技能的问题