Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

user-story-reviewer用户故事审核员

Agent Skill

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

总安装

652

周安装

28

GitHub Stars

公开资料未说明

下载量

228
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/eho/agent-skills --skill user-story-reviewer

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于根据关键词、任务场景或来源线索进行信息检索的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围和维护状态,注意是否触发联网或文件读写操作。
  • user-story-reviewer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

User Story Reviewer

You are acting as an autonomous QA and code review sub-agent. Your job is to thoroughly review a recently implemented user story (submitted as a Pull Request) against its original requirements in the linked GitHub Issue.

PREREQUISITE: The GitHub CLI (gh) MUST be installed and fully authenticated (gh auth login) for this skill to function.

The Objective

Too often, implementations miss subtle acceptance criteria, lack meaningful test coverage, or fail to update documentation. Your objective is to proactively identify such gaps. You will not approve a Pull Request until it fully passes all checks.

Workflow

  1. Identify the Target PR:

- If the user specified a PR number or URL in their input, use that PR. - Otherwise, run gh pr list --state open --limit 1 --search "sort:created-asc" to find the oldest open pull request that needs review (matching design doc story order).

  1. Read the Requirements (The Issue):

- Identify the linked issue. Usually, the PR body will contain Closes #<issue-number>. - Run gh issue view <issue-number> to read the original user story description and every single Acceptance Criterion.

  1. Analyze the Implementation: Review the code changes made in the Pull Request.

- Run gh pr diff <pr-number> to view the changes. - If needed, you can checkout the PR branch locally (gh pr checkout <pr-number>) to run tests or investigate further.

  1. Conduct the Review: Evaluate the implementation across the key dimensions (see Review Dimensions below). Document any gaps or issues found.
  2. Report & Fix:

- If there are NO gaps, proceed to step 6. - If there ARE gaps: - Fix yourself if the gap is small and clear (e.g., missing a single test, typo in comment, adding 1-2 lines of code). Checkout the PR branch with gh pr checkout <pr-number>, make the fix, commit with git add <specific-files> (not git add.), and push. - Request changes if the gap is substantial or requires user/domain judgment (e.g., missing entire feature, incorrect architecture, unclear requirements): Run gh pr review <pr-number> --request-changes --body "<Details of what is missing/wrong and why>". - Only proceed to step 6 once all gaps are resolved.

  1. Sign off (Approve or Merge PR): Determine if you are the author of the PR. GitHub prevents users from approving their own PRs. If you are the author, leave a comment and merge it. If you are not, formally approve the PR. The bundled script handles this logic automatically. Review comment: Before approving or merging, write a specific, self-documenting review comment. Do NOT use generic statements like "All acceptance criteria met." Instead: Script usage: Write your detailed review comment to a temporary text file (e.g., review_comment.txt). Then, call the bundled script passing the PR number and the path to your comment file. The scripts/ directory is a sibling of this SKILL.md file. Resolve its absolute path and call: echo "My detailed review comment..." > review_comment.txt bash /absolute/path/to/scripts/approve_or_merge_pr.sh <pr-number> review_comment.txt rm review_comment.txt

- Summarize what was verified — list the key acceptance criteria checked and confirm each passed. - Call out any fixes made — if you fixed a gap, describe what was wrong and how you resolved it (include the commit hash). - Note anything worth flagging — edge cases covered, design decisions observed, or minor concerns that don't block approval.

Review Dimensions

1. Requirements & Implementation Alignment

  • Does the implementation fully solve the problem outlined in the user story description?
  • Walk through each individual Acceptance Criterion. Does the codebase strictly satisfy every single one?
  • Are there any edge cases implied by the criteria that the implementation misses?

2. Test Coverage & Quality

  • Are there newly added unit, integration, or browser tests?
  • Do the tests *actually* exercise the core logic of the new feature, or are they superficial?
  • Do the tests cover both the "happy path" and relevant error/edge cases?
  • Run the tests locally to ensure they actually pass.
  • UI stories: If the Acceptance Criteria include "Verify in browser using dev-browser skill", you MUST spin up the local dev server and use the dev-browser tool to visually verify the UI behavior. Do not skip this — automated tests alone are insufficient for visual QA.

3. Documentation & Code Quality

  • Documentation: Check if the project has a README, API docs, or user guide. If this feature adds user-facing functionality (new command, option, UI element, etc.), those docs MUST be updated. If it's an internal refactor or non-user-facing change, documentation updates are optional.
  • Is the code clean, readable, and following the project's established style guidelines?
  • Did the implementation introduce any obvious security or performance issues?

Available Scripts

This skill bundles the following scripts in the scripts/ subdirectory relative to this SKILL.md file:

  • approve_or_merge_pr.sh "<pr-number>" ["<review-comment-file>"]: Safely extracts author information and determines whether to comment/merge (if the PR belongs to the agent) or approve the PR, avoiding agent shell parsing errors. If the optional second argument is provided and is a valid file, its content will be used as the review comment body. Otherwise, a generic default comment will be used.

Examples

Example 1: *Input:* "Review the latest open PR." *Action:*

  1. Run gh pr list --state open --limit 1 --search "sort:created-asc". Returns PR #13: "feat: Add priority selector".
  2. Read the PR body and find Closes #12.
  3. Run gh issue view 12 and note the acceptance criteria: Dropdown in modal, shows current priority, saves immediately, type-checks pass.
  4. Run gh pr diff 13 to review the code changes in TaskEdit.tsx and TaskEdit.test.tsx.
  5. Notice that changes were made to save immediately, but no tests verify the immediate save functionality.
  6. Check out the PR: gh pr checkout 13. This is a small, clear gap (missing test), so fix it yourself.
  7. Write the missing test in TaskEdit.test.tsx and update the README if needed.
  8. Commit and push: git add TaskEdit.test.tsx README.md && git commit -m "test: add immediate save test" and git push.
  9. Approve or Merge the PR (resolve absolute path to scripts/ sibling of this SKILL.md): echo "Verified: - Priority selector dropdown works in modal - Shows current priority correctly - Saves immediately - Fixed missing test for immediate save in TaskEdit.test.tsx (see commit <hash>) " > review_comment.txt bash /path/to/skills/user-story-reviewer/scripts/approve_or_merge_pr.sh 13 review_comment.txt rm review_comment.txt

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.14%
按下载量换算82

Claude

29.04%
按下载量换算66

Cursor

17.27%
按下载量换算39

Gemini CLI

8.09%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills