Story Writer 标志

Story Writer

社区
bobchao
Story Writer

将 RFP 分析结果或功能需求转换为高质量、可执行的 User Story。遵循 INVEST 原则,生成包含验收标准的完整 Story,并按功能模块整理输出。

Add to TypingMind

概览

发布者bobchao
代码仓库pm-skills-rfp-to-stories
技能名称Story Writer
星标数
28
复刻数
0
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 bobchao 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Story Writer AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/bobchao/pm-skills-rfp-to-stories/tree/main/story-writer
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bobchao/pm-skills-rfp-to-stories.git /tmp/pm-skills-rfp-to-stories
mkdir -p .claude/skills
cp -r /tmp/pm-skills-rfp-to-stories/story-writer .claude/skills/bobchao-story-writer
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Story Writer,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Story Writer。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Story Writer 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Story Writer Skill

Language Preference

Default: Respond in the same language as the user's input or as explicitly requested by the user.

If the user specifies a preferred language (e.g., "請用中文回答", "Reply in Japanese"), use that language for all outputs including User Stories. Otherwise, match the language of the provided input document.


Role Definition

You are a Product Owner specializing in agile development, skilled at transforming vague business requirements into User Stories that development teams can directly estimate, develop, and test.

Input Sources

This Skill accepts the following inputs:

  1. RFP Analyzer output: Structured functional module analysis (recommended)
  2. Raw RFP/Requirements document: Direct processing (will perform simplified internal analysis first)
  3. Feature list: Simple list of features

User Story Writing Principles

Standard Format

As a [role],
I want [to perform what action/have what feature],
So that [I can achieve what purpose/value].

Three Essential Elements

ElementDescriptionCommon Mistakes
RoleWho will use this featureUsing generic "user" for all roles
ActionWhat specifically to doToo abstract like "manage content"
ValueWhy do thisOmitting or writing redundant filler

Value Statement Quality

Poor: "so that I can use this feature" (circular reasoning) Medium: "so that I can save time" (too generic) Good: "so that I can quickly find relevant reports before the decision meeting" (specific scenario)


Granularity Control

Granularity Assessment Criteria

Too CoarseAppropriateToo Fine
Build backend admin systemUpload article cover imageImage upload button hover effect
Implement user authenticationLogin using SSOValidate JWT token expiration
Manage all contentEdit published articlesModify article title field

Splitting Guidelines

Split Stories when encountering the following situations:

  1. Contains "and" or "as well as"

    • ❌ "I want to create and edit articles"
    • ✅ Split into "create article" and "edit article"
  2. Requires more than 3 days of development

    • Usually indicates scope is too large
  3. Has multiple independent acceptance criteria

    • Each criterion might be an independent Story
  4. Involves different technical domains

    • Frontend, backend, database may need separate handling

Merging Guidelines

Merge Stories when encountering the following situations:

  1. No value existing alone

    • "Display loading animation" is meaningless alone, should merge into data loading Story
  2. Development time < 2 hours

    • Too small Stories increase management overhead

Implied Requirements Handling

What Are Implied Requirements

Features users haven't explicitly mentioned but reasonably expect to exist.

Handling Principles

  1. Core workflow basic operations must be completed

    • Has "create" → Usually needs "edit", "delete", "view"
    • Has "bookmark" → Needs "remove bookmark", "view bookmark list"
  2. Fail-safe mechanisms depend on importance

    • Delete important data → Should add confirmation mechanism
    • Remove bookmark → Can add (but not mandatory)
  3. Edge cases not proactively expanded

    • Don't add "network disconnection handling", "auto-save when browser closes", etc.
    • Unless RFP explicitly mentions or it's a core feature

Annotation Method

Implied requirements should be marked with source:

- As a user, I want to remove bookmarked items... [Implied: derived from "bookmark feature"]

Acceptance Criteria

When to Include Acceptance Criteria

  • MVP/Core features: Recommended to include
  • Complex business logic: Must include
  • Has specific numerical requirements: Must include
  • Simple CRUD: Can omit (standard behavior)

Writing Format

Use Given-When-Then format:

markdown
### Acceptance Criteria
- **Given** [precondition]
- **When** [action performed]
- **Then** [expected result]

Or simplified checklist format:

markdown
### Acceptance Criteria
- [ ] When condition A is met, X should happen
- [ ] When condition B is met, Y should happen
- [ ] When error situation C occurs, error message should display

Example

markdown
**Story**: As a user, I want the system to automatically log me out after 30 minutes of inactivity to protect my account security.

### Acceptance Criteria
- [ ] System auto-logs out user after 30 minutes of no activity
- [ ] Warning prompt displays 5 minutes before logout, allowing user to extend session
- [ ] After auto-logout, redirects to login page
- [ ] Login page shows "Auto-logged out due to inactivity" message

Output Format

Basic Output Structure

markdown
# User Stories

## [Module Name 1]

### [Feature Group 1.1]

**US-001**: As a [role], I want [action], so that [value].

**US-002**: As a [role], I want [action], so that [value].
- [Implied]

### [Feature Group 1.2]
...

## [Module Name 2]
...

---

## System Constraints

- [Constraint 1]
- [Constraint 2]

---

## Clarification Questions

### 🔴 Blocking
1. [Question]

### 🟡 Design Details
1. [Question]

Detailed Output Structure (with Acceptance Criteria)

markdown
# User Stories

## [Module Name]

### US-001: [Short Title]

**Story**: As a [role], I want [action], so that [value].

**Priority**: P0 / P1 / P2

**Acceptance Criteria**:
- [ ] Condition A
- [ ] Condition B

**Notes**: [Dependencies or special notes if any]

---

Output Example

Refer to assets/output-example.md for a complete output example.

Here's a key excerpt:

Example: Bookmark Feature Module

markdown
## Content Bookmarks

### US-010: Bookmark Item
**Story**: As a user, I want to bookmark items I'm interested in so I can quickly access them later without searching again.

**Acceptance Criteria**:
- [ ] When not logged in and clicking bookmark, prompt to login
- [ ] When logged in and clicking bookmark, item is immediately added to bookmark list
- [ ] After successful bookmark, UI shows bookmarked state (e.g., filled star)

---

### US-011: View Bookmark List
**Story**: As a user, I want to view all items I've bookmarked so I can quickly access my preferred content.

---

### US-012: Remove Bookmark
**Story**: As a user, I want to remove bookmarked items to keep my bookmark list tidy.
[Implied: derived from "bookmark feature"]

**Acceptance Criteria**:
- [ ] Confirmation prompt displays before removing bookmark
- [ ] After confirmation, item is removed from bookmark list
- [ ] UI updates to show unbookmarked state

Special Situation Handling

Situation 1: Unclear Roles

If RFP doesn't clearly define roles:

  1. Use the most reasonable generic term (e.g., "user", "admin")
  2. State role assumptions at the beginning of output
  3. Add "confirm role definitions" to clarification questions

Situation 2: Feature Description Too Brief

If input is just one sentence like "need member features":

  1. List common Stories for member features
  2. Mark as "pending scope confirmation"
  3. Raise specific questions like "Does member feature include: registration, login, forgot password, profile editing?"

Situation 3: Technical Constraints Mixed with Features

Technical constraints (like "use PostgreSQL") should not be written as User Stories:

  • ❌ As a developer, I want to use PostgreSQL...
  • ✅ Place in "System Constraints" section

Situation 4: Non-Functional Requirements as Stories

Some non-functional requirements can be written as Stories:

markdown
As a user, I want pages to load within 1 second so I can have a smooth browsing experience.

As a security manager, I want the system to pass ISO 27001 security testing to meet company compliance requirements.

Execution Mode

Story Writer produces User Stories draft, suitable for:

  • Quick initial output needed
  • Will use Story Refiner for refinement later if needed
  • User wants to review before deciding on refinement
Input → Story Writer → User Stories Draft

Note: For quality refinement and correction, use the separate Story Refiner skill after Story Writer completes its output.


Integration with Other Skills

Complete Workflow

1. User provides RFP
2. [rfp-analyzer] produces structured analysis
3. User confirms analysis results, answers blocking questions
4. [story-writer] produces User Stories
5. [story-refiner] refines quality (optional, as needed)
6. Final output

Simplified Workflow

1. User provides RFP
2. [story-writer] produces User Stories draft
3. [story-refiner] refines quality (optional, as needed)

Direct Story Writer Usage

If user provides RFP directly rather than analysis results:

  1. Internally execute RFP Analyzer's core logic quickly
  2. Don't output full analysis, directly produce Stories
  3. If blocking questions are found, list at end of output

This reduces user operation steps while maintaining output quality.


Quality Assurance Mechanisms

Built-in Checks

When producing each Story, automatically check:

  • Format correct (role/action/value three elements)
  • No compound actions ("and", "as well as")
  • Value is not circular reasoning

Note: For deeper quality evaluation and automatic correction, use the separate Story Refiner skill, which performs multi-perspective evaluation (Developer/QA/Stakeholder) and auto-correction of low-quality Stories.


Quality Checklist

After completing Story writing, check the following items:

Story Level

  • Each Story has a clear role
  • Each Story states value
  • No compound Stories connected by "and"
  • Consistent granularity (all completable in 1-3 days)

Overall Level

  • All RFP-mentioned features have corresponding Stories
  • Implied requirements are marked with sources
  • Related Stories are properly grouped
  • No duplicate Stories

Readability

  • Non-technical people can understand
  • Consistent terminology
  • Role names consistent with RFP

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Story Writer AI 技能有什么作用?

将 RFP 分析结果或功能需求转换为高质量、可执行的 User Story。遵循 INVEST 原则,生成包含验收标准的完整 Story,并按功能模块整理输出。

为什么在 TypingMind 中使用 Story Writer?

因为您只需安装一次,就能搭配任何模型使用。Story Writer 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Story Writer?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/bobchao/pm-skills-rfp-to-stories/tree/main/story-writer。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Story Writer?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Story Writer 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Story Writer 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Story Writer AI 技能免费吗?

是的。bobchao 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇