Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

feature-specification特征规格

Agent Skill

feature-specification 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

34,808

周安装

1,465

GitHub Stars

公开资料未说明

下载量

12,189
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:feature-specification(特征规格)
来源仓库:https://github.com/wpank/feature-specification
安装命令:
openclaw skills install feature-specification
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install feature-specification

简介

将角色文档转换为带有验收标准的详细功能规范。在将用户需求转化为可实施的规范、编写用户故事、定义验收标准或准备开发功能时使用。

SKILL.md

name
feature-specification
model
reasoning
description
Convert persona docs into detailed feature specifications with acceptance criteria. Use when translating user needs into implementable specs, writing user stories, defining acceptance criteria, or preparing features for development.

Feature Specification (Meta-Skill)

Bridge persona documentation and development. This skill translates user needs, pain points, and journeys identified in persona docs into structured, implementable feature specifications with clear acceptance criteria.

Installation

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install feature-specification

Purpose

Persona docs define *who* and *why*. Feature specs define *what* and *how well*. This skill closes the gap:

  • Extracts actionable features from persona pain points and journeys
  • Structures requirements so developers know exactly what to build
  • Defines acceptance criteria so QA knows exactly what to verify
  • Prevents scope ambiguity before a single line of code is written

When to Use

  • After persona docs exist (docs/PERSONA.md or docs/personas/)
  • Before development begins on a new feature or product
  • When a feature request lacks clear acceptance criteria
  • When stakeholders disagree on what "done" means
  • When converting user feedback into development work

Feature Spec Template

Use this structure for every feature specification. Place specs in docs/specs/ or docs/features/.

# Feature: [Feature Name]

## Metadata
- **Priority:** [Must / Should / Could / Won't]
- **Target Persona:** [Persona name from persona docs]
- **Status:** Draft | Review | Approved | In Progress | Complete
- **Estimated Effort:** [T-shirt size: XS / S / M / L / XL]

## Problem Statement
[Directly reference the persona pain point this feature addresses.
Quote or link to the relevant section of persona docs.]

## Solution Description
[High-level description of what the feature does and how it solves
the problem. 2-4 sentences. No implementation details.]

## User Stories

- As a [persona], I want [action], so that [benefit].
- As a [persona], I want [action], so that [benefit].

## Acceptance Criteria

### Scenario: [Happy path description]
- **Given** [precondition]
- **When** [action]
- **Then** [expected result]

### Scenario: [Alternative path description]
- **Given** [precondition]
- **When** [action]
- **Then** [expected result]

### Scenario: [Error case description]
- **Given** [precondition]
- **When** [invalid action]
- **Then** [error handling result]

## Edge Cases
- [ ] [Edge case 1 — description and expected behavior]
- [ ] [Edge case 2 — description and expected behavior]

## Non-Functional Requirements
- **Performance:** [Response time, throughput, load targets]
- **Accessibility:** [WCAG level, keyboard nav, screen reader support]
- **Security:** [Auth requirements, data sensitivity, input validation]
- **Browser/Device:** [Support matrix]

## Dependencies
- [Feature or system this depends on]
- [External API or service required]

## Out of Scope
- [Explicitly list what this feature does NOT include]
- [Prevents scope creep during development]

## Design References
- [Link to mockups, wireframes, or design system components]
- [Screenshots or diagrams if available]

Writing Effective User Stories

User stories connect persona needs to developer tasks. Apply the INVEST criteria:

CriterionMeaningTest Question
IndependentNo ordering dependency on othersCan this be built and released alone?
NegotiableDetails can be discussedIs this a conversation starter, not a contract?
ValuableDelivers value to the personaWould the persona care about this?
EstimableTeam can estimate effortIs the scope clear enough to size?
SmallFits in a single iterationCan this ship in one sprint?
TestableClear pass/fail verificationCan QA write a test for this?

Good vs Bad User Stories

BadWhy It's BadGood
"Users can log in"No persona, no benefit"As a returning customer, I want to log in with my email, so that I can access my order history"
"Make it fast"Vague, untestable"As a mobile user on 3G, I want the product list to load in under 2s, so that I don't abandon the page"
"Add admin panel"Solution-first, no problem"As a store manager, I want to update product prices without developer help, so that I can respond to market changes daily"
"Handle errors"No specificity"As a checkout user, I want clear feedback when my payment fails, so that I know whether to retry or use a different card"
"Implement caching"Implementation detail, not a story"As a repeat visitor, I want previously viewed pages to load instantly, so that browsing feels responsive"

Acceptance Criteria Patterns

Pattern 1: Happy Path

Given a logged-in customer with items in their cart
When they click "Checkout"
Then they are taken to the payment page with their cart summary visible

Pattern 2: Boundary Conditions

Given a cart with 100 items (maximum allowed)
When the user tries to add another item
Then they see "Cart limit reached — remove an item to add a new one"
And the item is NOT added to the cart

Pattern 3: Error Cases

Given a user submitting the registration form
When the email field contains "not-an-email"
Then the form shows inline validation: "Enter a valid email address"
And the form is NOT submitted
And focus moves to the email field

Pattern 4: State Transitions

Given an order with status "Processing"
When the warehouse marks it as shipped
Then the order status changes to "Shipped"
And the customer receives a shipping confirmation email within 5 minutes
And the tracking number is visible on the order detail page

Pattern 5: Negative / Security

Given a user who is NOT the account owner
When they attempt to access /account/settings via direct URL
Then they receive a 403 Forbidden response
And the access attempt is logged

Priority Framework

Apply MoSCoW prioritization, anchored to persona impact:

PriorityLabelDefinitionPersona Alignment
P0MustProduct is unusable without thisBlocks the persona's primary goal
P1ShouldSignificant value, painful to deferAddresses a top-3 pain point
P2CouldNice to have, enhances experienceImproves a secondary journey
P3Won'tExplicitly deferred (this release)Low-frequency need or niche scenario

Prioritization process:

  1. List all candidate features
  2. Map each to a persona pain point or journey step
  3. Assign MoSCoW based on persona impact, not technical interest
  4. Validate: Do all P0s together form a usable product for the target persona?
  5. Cut scope until P0s are achievable in the timeline

Specification Anti-Patterns

Anti-PatternExampleFix
Vague requirement"System should be user-friendly"Define measurable criteria: "Task completion in < 3 clicks"
Missing edge casesOnly specifying the happy pathAdd boundary, error, and concurrent-use scenarios
No acceptance criteria"Implement search"Add Given/When/Then for each scenario
Solution masquerading as need"Use Redis for caching"State the need: "Repeat queries return in < 50ms"
Missing personas"Users can export data"Specify which persona and why they export
Unbounded scope"Support all file formats"List exact formats: "PDF, CSV, XLSX"
Implicit assumptionsAssuming auth exists without stating itList all dependencies explicitly

Integration with Workflow

Feature specs connect to the broader development process:

  1. Persona docs (docs/PERSONA.md) — Source of truth for user needs
  2. Feature specs (docs/specs/) — This skill's output; the development contract
  3. Task creation — Each spec becomes one or more development tasks
  4. Implementation — Developers reference the spec for scope and criteria
  5. Testing — QA derives test cases directly from acceptance criteria
  6. Review — PR reviews check that acceptance criteria are met

When using with the /new-feature command or similar workflows:

  • Read the relevant persona doc first
  • Generate the spec using this template
  • Validate acceptance criteria cover happy path, errors, and edge cases
  • Confirm priority with stakeholders before development begins

NEVER Do

  1. NEVER write a spec without referencing a persona — every feature exists for a user
  2. NEVER skip acceptance criteria — "obvious" requirements cause the most bugs
  3. NEVER use vague qualifiers as requirements — "fast", "easy", "intuitive" are not testable
  4. NEVER combine multiple features in one spec — one spec, one feature, one clear scope
  5. NEVER specify implementation details in user stories — describe the *what*, not the *how*
  6. NEVER mark a spec as Approved without edge cases documented — happy paths are the easy part
  7. NEVER assume dependencies are obvious — list every system, API, feature, and data source the spec relies on

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

75.29%
按下载量换算9,177

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills