AgentSkillsCN

write-requirements

为某项功能或变更撰写用户故事、验收标准以及技术需求。当需要明确“要构建什么”时使用。

SKILL.md
--- frontmatter
name: write-requirements
description: Write user stories, acceptance criteria, and technical requirements for a feature or change. Use when defining what needs to be built.
argument-hint: "[feature description]"
context: fork
agent: product-manager

Write Requirements

Write detailed requirements for the following feature:

$ARGUMENTS

Requirements Format

For each requirement, produce:

User Story

text
As a [user type],
I want to [action],
So that [benefit].

Acceptance Criteria

  • Given [context], when [action], then [result] (Include happy path, error cases, and edge cases)

Technical Requirements

  • Data model changes needed
  • API endpoints affected
  • UI components affected
  • Non-functional requirements (performance, security, accessibility)

Out of Scope

  • What is explicitly NOT included in this feature

Context

This is for the llmops-demo-ts project — a chat-based AI agent application. Consider all layers: frontend (Vue.js), backend (Express), agents (LangGraph), and common (shared types).