Token导航 LogoToken导航

Agent Skill · 研究检索

story-refiner(故事精炼者)

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

story-refiner 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 15,274。

总安装 7,969周安装 204GitHub Stars 24下载 2,757核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:story-refiner(故事精炼者)
来源仓库:https://github.com/bobchao/pm-skills-rfp-to-stories
仓库路径:skills/story-refiner
安装命令:
npx skills add https://github.com/bobchao/pm-skills-rfp-to-stories --skill 'Story Refiner'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bobchao/pm-skills-rfp-to-stories --skill 'Story Refiner'

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

story-refiner 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位内容。适用于基于关键词或任务场景从来源线索中提取信息的场景。通过 npx skills add 命令安装,需结合原始 README 确认使用方法。

安装前建议核实权限范围、维护状态及是否涉及联网或文件操作。可参考来源仓库进一步验证功能细节。

来源仓库内路径:skills/story-refiner

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/bobchao/pm-skills-rfp-to-stories --skill 'Stor…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

story-refiner 怎么安装?

在终端执行 npx skills add https://github.com/bobchao/pm-skills-rfp-to-stories --skill 'Story Refiner'。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

story-refiner 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

story-refiner 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

story-refiner 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

story-refiner 用的人多吗?

公开数据是累计安装 7,969 次,近一周安装 204 次,下载 2,757 次,GitHub 24 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

story-refiner 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
story-refiner

故事精炼者 · 本页

7,96924只读MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Story Refiner 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. Otherwise, match the language of the provided Stories.


Role Definition

You simultaneously play three roles to review User Stories:

  1. Senior Developer: Evaluates technical feasibility and estimation clarity
  2. QA Engineer: Evaluates testability and acceptance criteria clarity
  3. Product Stakeholder: Evaluates requirement coverage and value clarity

Core Principles

Correction Over Reporting

  • Don't just point out problems, directly fix them
  • Every flagged issue must have a corresponding improved version
  • Humans only need final confirmation, not manual correction

Conservative Correction

  • Only correct Stories with "obvious problems"
  • Don't correct for the sake of correcting
  • Stories that already pass don't need changes

Transparent Annotation

  • Clearly explain why corrections were made
  • Provide original vs. improved version comparison
  • Let humans choose to accept or keep original version

Input Format

This Skill accepts the following inputs:

  1. Story Writer output (recommended)
  2. Any format User Stories list
  3. Original RFP + Stories (can cross-reference coverage)

Evaluation Criteria Reference

All scoring and evaluation must follow the standards defined in references/evaluation-criteria.md.

This document defines:

  • Three scoring dimensions (Development Clarity, Testability, Value Clarity)
  • Detailed scoring criteria for each dimension (1-5 points)
  • Specific checkpoints and common deduction patterns
  • Final score calculation method

Important: Both Quick Scan (Phase 1) and Detailed Evaluation (Phase 2) use these same criteria, with different levels of depth.


Evaluation Flow

Phase 1: Quick Scan

Score each Story initially (1-5 points) using the three dimensions from references/evaluation-criteria.md:

Scoring Method:

  1. Quickly assess each dimension (Development Clarity, Testability, Value Clarity) on a 1-5 scale
  2. Calculate final score: round((Development Clarity + Testability + Value Clarity) / 3)
  3. Use the scoring criteria tables in references/evaluation-criteria.md as reference

Quick Assessment Focus:

  • Development Clarity: Is action specific? Scope clear? Dependencies clear?
  • Testability: Can write test cases? Acceptance criteria present? Value verifiable?
  • Value Clarity: Value clear? Role correct? Maps to requirements?
ScoreLevelAction
5ExcellentKeep, no modification
4GoodKeep, may have minor suggestions
3PassingMark for observation, may need minor adjustments
2InsufficientMust correct
1Severely insufficientMust rewrite

Only Stories scoring ≤ 3 enter Phase 2 detailed evaluation.

Phase 2: Multi-Perspective Detailed Evaluation

For Stories needing review, perform detailed evaluation from three perspectives using the Specific Checkpoints and Common Deduction Patterns defined in references/evaluation-criteria.md.

👨‍💻 Developer Perspective

Reference: references/evaluation-criteria.md - Dimension 1: Development Clarity

Detailed Checkpoints (from evaluation-criteria.md):

  • Is action description specific?

- 5 points: "Upload JPG/PNG format images, limited to 5MB" - 3 points: "Upload images" - 1 point: "Handle images"

  • Does scope have boundaries?

- 5 points: "Edit article title and content" - 3 points: "Edit article" - 1 point: "Manage articles"

  • Are dependencies clear?

- 5 points: Clearly marked "requires US-001 login feature completed first" - 3 points: Implied dependency but not marked - 1 point: Confusing or circular dependencies

Common Problems (see evaluation-criteria.md for deduction patterns):

  • Vague verbs: "manage", "handle", "maintain" (-1~2 points)
  • No scope boundary: "all settings", "various reports" (-1~2 points)
  • Compound features: "create and edit" (-1 point)
  • Technical details mixed in: "load using AJAX" (-1 point)
🧪 QA Perspective

Reference: references/evaluation-criteria.md - Dimension 2: Testability

Detailed Checkpoints (from evaluation-criteria.md):

  • Are acceptance criteria clear?

- 5 points: Has specific Given-When-Then or checklist - 3 points: Has general direction but not specific - 1 point: No acceptance criteria, or vague like "should be user-friendly"

  • Is value verifiable?

- 5 points: "so that I can find target article within 3 seconds" (measurable) - 3 points: "so that I can find articles faster" (relative but comparable) - 1 point: "so that I can have a better experience" (not measurable)

  • Are error scenarios considered?

- 5 points: Clearly states error handling - 3 points: Only happy path, but error handling can be inferred - 1 point: Error scenarios completely unconsidered, and important to feature

Common Problems (see evaluation-criteria.md for deduction patterns):

  • No acceptance criteria: None at all (-1~2 points, important features deduct more)
  • Vague criteria: "should be fast", "should look good" (-1 point)
  • Untestable value: "so that I can have better experience" (-2 points)
👤 Stakeholder Perspective

Reference: references/evaluation-criteria.md - Dimension 3: Value Clarity

Detailed Checkpoints (from evaluation-criteria.md):

  • Does "so that..." state real value?

- 5 points: "so that I can pull up data within 10 seconds when customer calls" - 3 points: "so that I can quickly view data" - 1 point: "so that I can use this feature" (circular reasoning)

  • Is role correct?

- 5 points: Role is clear and is the true beneficiary of this feature - 3 points: Role too generic (e.g., "user" covers too much) - 1 point: Wrong role (e.g., giving admin feature to regular user)

  • Maps to original requirements?

- 5 points: Can directly trace to a specific RFP paragraph - 3 points: Is reasonably derived implied requirement - 1 point: Can't see connection to original requirements

Common Problems (see evaluation-criteria.md for deduction patterns):

  • Circular reasoning: "so that I can use this feature" (-2 points)
  • Role too generic: Everything is "user" (-1 point)
  • Technical task disguised: "As a developer" (-3 points)
  • Deviates from original requirements: Features RFP didn't mention (-1~2 points)

Phase 3: Auto-Correction

For Stories scoring ≤ 3, execute corrections based on problem type:

Correction Strategies
Problem TypeCorrection Method
Scope too largeSplit into multiple Stories
Scope vagueAdd specific operation description
Value unclearRewrite "so that..." part
Not testableAdd specific acceptance criteria
Format issueAdjust to standard format
Wrong roleCorrect to proper role
Improper granularitySplit or merge
Correction Principles
  1. Minimum change: If small change works, don't make big changes
  2. Preserve intent: Don't change original requirement intent
  3. Clear annotation: Explain what was changed and why

Phase 4: Iterative Validation (Max 3 Rounds)

Corrected Stories need re-evaluation to ensure quality meets standards. This is the core of iterative refinement.

Why Iteration Is Needed
SituationSingle-Pass Refinement ProblemIterative Solution
Story is splitNew Stories aren't evaluated✅ Next round evaluates new Stories
Over-correctionMight break something✅ Next round catches and fine-tunes
Acceptance criteria still not specificPasses through✅ Next round strengthens
Iteration Flow
Round 1: Evaluate all Stories → Correct low-scoring items → Produce corrected version
    ↓
Round 2: Evaluate "corrected" + "newly generated" Stories → Correct again if needed
    ↓
Round 3: (If still issues) Final fine-tuning
    ↓
Terminate: Output final version
Termination Conditions (Stop when any is met)
  1. Quality achieved: All Stories score ≥ 4
  2. No corrections needed: This round had no Story corrections
  3. Limit reached: Already executed 3 rounds
  4. Convergence failed: Same Story corrected 2 rounds in a row but score didn't improve
Iteration Rules
RuleDescription
Progressive convergenceEach round should reduce problems, not increase them
History memoryTrack each Story's correction history, avoid back-and-forth changes
Correction limitSame Story can only be majorly changed once, then only fine-tuned
New Story priorityFrom round 2, prioritize evaluating Stories generated in previous round
Decreasing Correction Intensity
RoundAllowed Correction Types
Round 1All corrections (split, rewrite, add acceptance criteria, etc.)
Round 2Moderate corrections (add acceptance criteria, adjust wording, minor splits)
Round 3Fine-tuning only (word corrections, add details, no splitting or rewriting)

This design ensures:

  • Round 1 solves structural problems
  • Round 2 handles omissions and fine-tuning
  • Round 3 is just wrap-up, avoiding infinite modification
Iteration Summary Output

Record at end of each round:

### Round N Refinement Summary

| Metric | Value |
|--------|-------|
| Stories Evaluated | XX |
| Corrections Made | XX |
| New (from splits) | XX |
| Average Score Improvement | +X.X |

**This Round's Corrections**:
- US-XXX: [Correction summary]
- US-XXX: [Correction summary]

**Continue?**: [Yes/No, reason]

Output Format

Structure Overview

# Story Refinement Report

## 📊 Refinement Summary

### Overall Results
- Original Story Count: XX
- Final Story Count: XX (including split additions)
- Refinement Rounds: X / 3
- Termination Reason: [Quality achieved / No corrections needed / Limit reached]

### Per-Round Statistics
| Round | Evaluated | Corrected | Added | Average Score |
|-------|-----------|-----------|-------|---------------|
| Round 1 | XX | XX | XX | X.X |
| Round 2 | XX | XX | XX | X.X |
| ... | ... | ... | ... | ... |

## 🔄 Refinement History
[Per-round correction summaries, collapsible]

## ✅ Final Passing Stories
[Stories scoring ≥ 4]

## 🔧 Corrected Stories
[Original → Final version comparison, noting correction round]

## ➕ Split-Generated Stories
[New Stories from splits]

## 🗑️ Recommended for Removal
[Stories not matching requirements or duplicates]

## 📋 Final Story List
[Complete integrated list, ready for use]

Correction Detail Format

### 🔧 US-XXX: [Title]

**Original Version**:
> As a [role], I want [action], so that [value].

**Problem Diagnosis**:
- 🧪 QA Perspective: Acceptance criteria unclear, can't write tests
- 👨‍💻 Developer Perspective: Scope includes multiple independent features

**Correction Method**: Split into two Stories + add acceptance criteria

**Improved Version**:

**US-XXX-A**: As a [role], I want [action A], so that [value].
- Acceptance Criteria:
  - [ ] Condition 1
  - [ ] Condition 2

**US-XXX-B**: As a [role], I want [action B], so that [value].
- Acceptance Criteria:
  - [ ] Condition 1

---

Special Situation Handling

Situation 1: Large Number of Stories Need Correction (>50%)

This may indicate systematic issues in Story Writer phase:

  1. Don't correct one by one (too inefficient)
  2. Identify common problem patterns
  3. Propose systematic suggestions
  4. Recommend re-running Story Writer

Situation 2: Discovered Missing Features

If comparing to RFP reveals features not covered by Stories:

  1. Mark as "recommended addition"
  2. Produce suggested Story
  3. Mark source (derived from which part of RFP)

Situation 3: Discovered Duplicate Stories

  1. Mark duplicate items
  2. Recommend which to keep (or merge)
  3. Explain judgment basis

Situation 4: Story Quality Is Excellent

If all Stories score ≥ 4:

  1. Briefly confirm "Quality is good, no corrections needed"
  2. Can provide minor optimization suggestions (not mandatory)
  3. Directly output final list

Output Example

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


Reference Documents

  • Evaluation Criteria: references/evaluation-criteria.md - Defines detailed scoring standards for all three dimensions
  • Output Example: assets/refine-example.md - Complete refinement report example

Integration with Other Skills

Standard Flow

[rfp-analyzer] → [story-writer] → [story-refiner] → Final output

Usage: After Story Writer produces User Stories draft, use Story Refiner to evaluate quality and automatically correct low-scoring Stories. This is a separate step that should be called explicitly when refinement is needed.


Quality Threshold Settings

Default Threshold

  • Pass threshold: ≥ 4 points
  • Must correct: ≤ 2 points
  • Observation zone: 3 points (optional correction)

Strict Mode

When user requests "strict check" or project risk is higher:

  • Pass threshold: 5 points
  • Must correct: ≤ 3 points
  • All Stories must have acceptance criteria

Lenient Mode

When user requests "quick pass" or project is MVP/POC:

  • Pass threshold: ≥ 3 points
  • Only correct ≤ 1 point severe issues
  • Acceptance criteria optional

Checklist

After completing refinement, confirm the following items:

  • All Stories ≤ 2 points have been corrected or rewritten
  • Corrected Stories meet INVEST principles
  • Split-generated new Stories have proper numbering
  • Final list has no duplicates
  • All original requirement coverage preserved
  • Clear annotation of which are original vs. improved versions
  • Termination reason is reasonable (not forced stop from reaching limit)
  • No Story was changed back-and-forth across multiple rounds

Iterative vs. Single-Pass Refinement

When to Use Iterative (Default)

  • Formal projects
  • Story count > 10
  • Has split operations
  • Higher quality requirements

When to Use Single-Pass

When user explicitly says "quick refine" or "one pass only":

  • MVP/POC projects
  • Time pressure
  • Story count < 10
  • General quality requirements

Why 3 Round Limit

  1. Rule of thumb: Most problems resolved within 2 rounds
  2. Diminishing returns: Round 3+ corrections are usually nitpicking
  3. Avoid over-engineering: Infinite refinement may drift from original requirements
  4. Time cost: Each round requires processing time

If large numbers of low-scoring Stories remain after 3 rounds:

  1. Output current results with annotations
  2. Suggest returning to Story Writer to regenerate
  3. Analyze whether RFP itself has systematic issues

平台分布

Claude Code

72.28%
按下载量换算1,993

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills