Token导航 LogoToken导航

Agent Skill · 前端设计

story-definition(故事定义)

story-definition 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

story-definition 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,384。

总安装 903周安装 38GitHub Stars 3下载 316核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/somnio-software/somnio-ai-tools --skill story-definition

这个 Skill 是做什么的

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

story-definition 用于处理 GitHub 仓库、Issue、Pull Request 等协作信息,适合整理代码变更与项目状态。适用于围绕仓库状态或协作事项进行信息梳理的场景。通过 npx skills add 命令安装,需参考原始 README 了解具体调用方式。

安装前应确认权限范围、维护状态及是否会执行命令或读写文件。建议结合来源仓库验证其实际功能和集成限制。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

story-definition 怎么安装?

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

story-definition 支持哪些 AI 工具?

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

story-definition 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

story-definition 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

story-definition 用的人多吗?

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

story-definition 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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-definition

故事定义 · 本页

9033需要联网未明确通过

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

SKILL.md 原文

Story Definition

Help teams define clear, implementable user stories from features, epics, requirements, or ideas. Pull project context from connected tools, apply structured frameworks, and create stories directly in the project tracker.

Workflow

Step 1 — Gather context

Understand what needs to be broken down before writing anything.

If ~~project tracker is connected:

  • Ask the user which project or board to work with
  • Pull the current epics, labels, and team members to understand project structure
  • Check existing backlog for related or duplicate stories
  • Pull any linked requirements, specs, or parent epics for context
  • Identify the project's existing conventions (label taxonomy, story point scale, naming patterns)

If no project tracker is connected:

  • Ask the user to describe the feature, epic, or requirement
  • Ask about the team context: who will implement, what tech stack, any constraints
  • Ask about existing conventions they follow for story format

Always ask:

  • What is the goal or outcome this work should achieve?
  • Are there known constraints (timeline, dependencies, technical limitations)?
  • What level of granularity do they need? (epic-level, sprint-ready, task-level)

Step 2 — Analyze and decompose

Break down the input into logical, implementable units.

Decomposition principles:

  1. Vertical slicing — Each story delivers a thin slice of end-to-end value, not a horizontal layer. A story should touch all layers needed (UI, API, DB) for one specific behavior.
  2. INVEST criteria — Every story must be:

- Independent — Can be built and delivered without waiting for other stories (minimize dependencies) - Negotiable — Details can be discussed; it is not a rigid specification - Valuable — Delivers clear value to a user, stakeholder, or the system - Estimable — The team can reasonably estimate the effort - Small — Fits within a single sprint (if too big, split further) - Testable — Has clear conditions to verify it is done

  1. Dependency mapping — Identify which stories block others and flag circular dependencies
  2. Risk-first ordering — Surface high-risk or high-uncertainty stories early so they can be tackled first

Splitting strategies when a story is too large:

StrategyWhen to useExample
By workflow stepMulti-step process"User can add item to cart" vs "User can checkout"
By business ruleComplex validation"Basic validation" vs "Edge-case handling"
By data variationMultiple entity types"Import CSV contacts" vs "Import CSV companies"
By interfaceMultiple entry points"Create via form" vs "Create via API"
By operationFull CRUD"View list" vs "Edit item" vs "Delete item"
By personaDifferent user types"Admin can configure" vs "Member can view"
Happy path / edge casesComplex flows"Successful payment" vs "Payment retry on failure"

Step 3 — Write stories

Use this format for each story. Adapt field names to match the project's conventions if they differ.

Title: [Action-oriented, concise — starts with a verb or "As a..."]

User story:
As a [specific persona/role],
I want to [concrete action],
so that [measurable outcome or business value].

Acceptance criteria:
- [ ] Given [context], when [action], then [expected result]
- [ ] Given [context], when [action], then [expected result]
- [ ] [Additional criteria using Given/When/Then or plain checkboxes]

Definition of done:
- [ ] Code implemented and passing CI
- [ ] Unit/integration tests covering acceptance criteria
- [ ] Code reviewed and approved
- [ ] [Project-specific DoD items from team conventions]

Technical notes:
- Implementation hints, API contracts, data model changes
- Links to relevant specs, designs, or documentation
- Known risks or open questions to resolve during implementation

Size: [T-shirt (XS/S/M/L/XL) or story points — match project convention]
Priority: [P0-Critical / P1-High / P2-Medium / P3-Low]
Labels: [Use existing project labels when available]
Dependencies: [List story titles or IDs this story depends on]

Writing quality checklist — apply to every story:

  • Title is scannable in a board view (under 80 characters)
  • "So that" clause has a real outcome, not a restatement of the action
  • Acceptance criteria are testable — no ambiguous words like "should work well"
  • Each acceptance criterion covers one behavior (split compound criteria)
  • Technical notes exist for anything non-obvious to the implementer
  • Size reflects actual complexity, not just code volume
  • No hidden work — if the story requires migrations, config changes, or docs updates, they are explicit

Step 4 — Validate and organize

Before presenting or creating stories, run a quality pass.

Validation checks:

  1. Coverage — Does the full set of stories deliver the complete feature/epic? Identify gaps.
  2. Overlap — Are any two stories doing the same work? Merge or clarify boundaries.
  3. Dependency graph — Can the stories be ordered into a buildable sequence? Flag circular dependencies.
  4. Sprint fitness — Is each story small enough for one sprint? Flag any that need further splitting.
  5. Testability — Can QA verify every acceptance criterion without ambiguity?
  6. Backlog check — If ~~project tracker is connected, verify no existing stories already cover this work.

Organize the output:

  • Group stories by epic or functional area
  • Order by suggested implementation sequence (dependencies first, then priority)
  • Clearly mark which stories are sprint-ready vs need further refinement
  • Summarize the total scope: number of stories, estimated total effort, suggested sprint distribution

Step 5 — Create in project tracker

If ~~project tracker is connected:

  • Confirm with the user before creating any tickets
  • Show a summary table first:
#TitleSizePriorityDependencies
1...SP1—
2...MP1#1
  • After user approval, create each story in the connected tool
  • Apply labels, assignees, sprint, and parent epic as discussed
  • Set up dependency links between stories where supported
  • Report back with links to created tickets

If no project tracker is connected:

  • Present the stories in the structured format above
  • Offer to export as markdown or a formatted list the user can paste into their tool

Step 6 — Notify team

If ~~chat is connected:

  • Ask if the user wants to notify the team about the new stories
  • Draft a concise message summarizing what was created, how many stories, total estimated effort, and a link to the board/project
  • Post only after user confirms

Story sizing guide

Use the project's existing scale. If none exists, suggest one of these:

T-shirt sizes (recommended for teams new to estimation):

SizeTypical scopeExamples
XSConfig change, copy update, one-line fixToggle a feature flag, fix a typo
SSingle component, clear pathAdd a form field, new API endpoint with known pattern
MMultiple components, some unknownsNew CRUD feature, integration with documented API
LCross-cutting, needs design decisionsNew auth flow, data migration with transformation
XLShould probably be split furtherFull feature redesign, new service

Fibonacci story points (for teams using velocity tracking):

PointsRelative effort
1Trivial — hours
2Small — a day or less
3Moderate — a couple of days
5Significant — most of a week
8Large — full week, consider splitting
13Very large — must split

Priority framework

LevelLabelCriteriaAction
P0CriticalBlocks release, security issue, data loss riskImmediate — current sprint
P1HighCore to the feature/epic goal, high user impactNext available sprint
P2MediumValuable improvement, not blockingBacklog — schedule when capacity allows
P3LowNice-to-have, polish, minor enhancementBacklog — revisit during planning

Anti-patterns to avoid

Anti-patternProblemFix
"Implement feature X"No user value stated, no acceptance criteriaAdd persona, outcome, and testable criteria
Horizontal slicing"Build the API" then "Build the UI" — no deliverable value until both doneSlice vertically — one behavior end-to-end
Giant stories"As a user I want the whole checkout flow" — unestimableSplit by workflow step, operation, or business rule
Vague acceptance criteria"It should work correctly" — untestableUse Given/When/Then with specific inputs and outputs
Missing dependenciesStory fails because a prerequisite was not identifiedMap dependencies explicitly during decomposition
Gold-platingStory includes "nice-to-have" details mixed with core requirementsSeparate must-have criteria from enhancements
Copy-paste personas"As a user" for everything — loses contextUse specific roles: admin, member, guest, API consumer

平台分布

Codex

33.64%
按下载量换算106

Claude

29.67%
按下载量换算94

Cursor

19.51%
按下载量换算62

Gemini CLI

9.85%
按下载量换算31

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills