Token导航 LogoToken导航

Agent Skill · 前端设计

story-quality(故事质量)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

story-quality 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 8,200。

总安装 306周安装 13GitHub Stars 228下载 107核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:story-quality(故事质量)
来源仓库:https://github.com/rohunj/claude-build-workflow
仓库路径:skills/story-quality
安装命令:
npx skills add https://github.com/rohunj/claude-build-workflow --skill story-quality
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rohunj/claude-build-workflow --skill story-quality

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助前端页面、组件、样式和交互逻辑的开发与维护,支持 React、Next.js、Vue 等技术栈。适合生成或审查前端代码,整理组件结构或排查布局问题。需结合项目现有设计系统和构建流程使用,避免生成孤立片段。涉及页面改动时应配合本地预览和构建检查确认效果。建议在使用前核对项目技术栈和路由配置以确保兼容性。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rohunj/claude-build-workflow --skill story-qua…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

story-quality 怎么安装?

在终端执行 npx skills add https://github.com/rohunj/claude-build-workflow --skill story-quality。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

story-quality 支持哪些 AI 工具?

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

story-quality 需要什么权限?

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

story-quality 是免费的吗?

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

story-quality 用的人多吗?

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

story-quality 安全吗?

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

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

值得选的地方

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

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
story-quality

故事质量 · 本页

306228操作浏览器MIT通过

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

SKILL.md 原文

User Story Quality Review

Review user stories for proper sizing, clear descriptions, dependency ordering, and comprehensive acceptance criteria before autonomous execution.


The Job

  1. Read the PRD with user stories
  2. Evaluate each story against quality criteria
  3. Identify issues and propose fixes
  4. Ensure stories are ready for autonomous implementation

Output: Quality report with specific improvements for each story.


Quality Criteria

1. Story Description (1-2 Lines Max)

Good descriptions are:

  • Single sentence or two short sentences maximum
  • Written as "As a [user], I want [feature] so that [benefit]"
  • Focused on ONE capability
  • Clear about who benefits and why

Red flags:

  • Description longer than 2 lines
  • Multiple "and" conjunctions (doing too many things)
  • Vague benefit ("so that it works better")
  • Missing user perspective

Examples:

BAD (too long, multiple things):

As a user, I want to be able to create new tasks, edit existing tasks,
delete tasks, and also mark them as complete, with validation on all
fields and proper error handling so that I can manage my workflow.

GOOD (split into focused stories):

As a user, I want to create new tasks so that I can track my work.

2. Story Scope (One Context Window)

Each story must be completable in ONE autonomous agent iteration. This is critical for Ralph/Claude Code loops.

Right-sized stories:

  • Add a database column/table
  • Create one UI component
  • Implement one API endpoint
  • Add one form with validation
  • Update one existing feature

Too large (needs splitting):

  • "Build the entire dashboard"
  • "Add authentication"
  • "Implement the checkout flow"
  • "Create the admin panel"

Rule of thumb: If you can't describe the implementation in 2-3 sentences, split it.

3. Dependency Ordering

Stories must be ordered so earlier stories don't depend on later ones.

Correct order:

  1. Schema/database changes first
  2. Backend logic/API endpoints second
  3. UI components that use the backend third
  4. Integration/polish features last

Check for:

  • UI story before the API it needs
  • Feature story before schema it requires
  • Delete/update before create exists

4. Acceptance Criteria Quality

Good acceptance criteria are:

  • Verifiable (can check if done)
  • Specific (not vague)
  • Complete (cover the full story)
  • Testable (can write a test for it)

Every story must include:

- [ ] Typecheck passes

UI stories must also include:

- [ ] Verify in browser

Bad criteria (vague):

  • "Works correctly"
  • "Good user experience"
  • "Handles errors properly"
  • "Is fast"

Good criteria (specific):

  • "Button disabled while request is pending"
  • "Error message shown below input field"
  • "Response time < 200ms for 1000 items"
  • "Empty state shows 'No items yet' message"

Review Checklist

For each user story, check:

Description Quality

  • 1-2 lines maximum
  • Follows "As a... I want... so that..." format
  • Single focused capability
  • Clear user and benefit

Scope Assessment

  • Can be implemented in one session
  • Describable in 2-3 implementation sentences
  • No "and also" or multiple features
  • Doesn't require multiple file types of changes

Dependency Check

  • Doesn't depend on later stories
  • Database changes come before code that uses them
  • API exists before UI that calls it

Acceptance Criteria

  • All criteria are verifiable
  • No vague language
  • Includes "Typecheck passes"
  • UI stories include browser verification
  • Covers happy path
  • Covers obvious error cases

Output Format

# Story Quality Review for [PRD Name]

## Summary
- Total stories: X
- Ready for implementation: X
- Needs revision: X

## Story-by-Story Review

### US-001: [Title]
**Status:** Ready | Needs Revision

**Description Review:**
- Length: OK (1 line) | TOO LONG (X lines)
- Format: Follows template | Missing [user/want/benefit]
- Focus: Single capability | Multiple capabilities (split)

**Scope Assessment:**
- Size: Appropriate | Too large (split into X stories)
- Complexity: One context window | Risk of overflow

**Dependency Check:**
- Dependencies: None | Depends on US-00X (OK, comes after) | ISSUE: Depends on US-00X (comes before!)

**Acceptance Criteria:**
- Verifiable: All | Issues with: [list vague criteria]
- Complete: Yes | Missing: [list missing scenarios]
- Includes typecheck: Yes | NO (add it!)
- Includes browser check: Yes | NO (add it!) | N/A (not UI)

**Recommended Changes:**
1. [Specific change]
2. [Specific change]

---

### US-002: [Title]
...

## Recommended Story Splits

### Original: US-003 "Build user dashboard"
**Problem:** Too large - involves schema, API, and multiple UI components

**Split into:**
1. US-003a: "Add dashboard_preferences table to database"
2. US-003b: "Create dashboard API endpoint"
3. US-003c: "Build dashboard layout component"
4. US-003d: "Add widget rendering to dashboard"

## Reordering Recommendations

Current order has dependency issues:

| Story | Current Position | Should Be | Reason |
|-------|------------------|-----------|--------|
| US-005 | 5 | 2 | Creates schema that US-003 needs |
| US-002 | 2 | 4 | Uses API from US-003 |

**Recommended order:** US-001, US-005, US-003, US-002, US-004

## Updated Acceptance Criteria

### US-001 (add these):
- [ ] Typecheck passes
- [ ] Loading state shown during API call
- [ ] Error state shown on failure

### US-004 (make specific):
- Before: "Handles errors properly"
- After: "Shows 'Failed to save. Try again.' on 500 error"

Common Issues and Fixes

Issue: Story too large

Fix: Split by layer (schema → backend → frontend) or by feature (list → create → edit → delete)

Issue: Vague acceptance criteria

Fix: Ask "How would I verify this?" - if no clear answer, make it specific

Issue: Missing error handling

Fix: Add criteria for: empty states, loading states, error states, edge cases

Issue: Wrong order

Fix: Map dependencies and reorder so each story only uses what exists

Issue: Missing typecheck/browser verification

Fix: Always add "Typecheck passes" and "Verify in browser" for UI stories


Tips

  • Be ruthless about scope: Smaller stories are always better for autonomous execution
  • Think in iterations: Each story = one Ralph/Claude iteration
  • Verify means verify: If you can't write a test for it, it's not verifiable
  • Order matters: Wrong order = broken builds and wasted iterations

平台分布

Claude Code

25.8%
按下载量换算28

OpenCode

22.07%
按下载量换算24

Codex

15.88%
按下载量换算17

Antigravity

14.01%
按下载量换算15

Gemini CLI

7.52%
按下载量换算8

windsurf

3.26%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

继续浏览同类 Skills