Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

prd-to-github-milestonePRD TO GitHub milestone 搜索

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

436

周安装

18

GitHub Stars

公开资料未说明

下载量

143
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/eho/agent-skills --skill prd-to-github-milestone

简介

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力,适合让 Agent 查询项目状态、整理变更或辅助创建协作事项。

  • 适用于需要区分只读查询和写入操作的场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 涉及创建 PR、修改 Issue 或推送分支时应确认 token 权限和用户授权。
  • prd-to-github-milestone 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Instructions

You are acting as an autonomous sub-agent to parse a Product Requirements Document (PRD) and scaffold a GitHub milestone by creating GitHub Issues for each user story.

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

Workflow

  1. Setup Labels: Before creating any issues, verify the user-story label exists and that a label for the specific feature prefix (e.g., PRI) exists. Run gh label list --limit 1000 | grep "user-story". If not found, create it: gh label create "user-story" --color "0e8a16" --description "User story task". Repeat this check and creation process for the PRD's specific prefix if applicable: gh label create "<prefix>" --color "1d76db".
  2. Parse PRD: Read the specified PRD file (e.g., docs/PRD.md or tasks/prd-[feature].md). Extract all User Stories and their complete details, including Titles, Descriptions, Acceptance Criteria, Technical Notes, Data Models, dependencies, the feature prefix representing this PRD, and any other relevant context.
  3. Identify Dependencies: If the PRD outlines dependencies between user stories, note them. You will add these as comments or task lists in the issues.
  4. Idempotency Check: Before creating an issue, check if an issue already exists for a given user story using gh issue list --search "in:title <User Story Title>". This prevents creating duplicate issues if the skill is run multiple times.
  5. Create Issues: Loop through the extracted stories. For each uncreated story, construct a GitHub blob URL to the PRD file. Get the repo info with gh repo view --json nameWithOwner -q (format: owner/repo), then format the issue body: ## Description <User Story Description> ## Acceptance Criteria - [] <Criterion 1> - [] <Criterion 2>... ## Technical Notes <Any technical details> ## Original PRD [View in PRD](https://github.com/<owner>/<repo>/blob/main/<prd-file-path>) Example: https://github.com/eho/test-example/blob/main/tasks/prd-example.md Run the bundled script to create the issue safely. Capture its output to extract the issue number for dependency linking in Step 6. Script location: The script is at SKILL_DIR/scripts/create_issue.sh, where SKILL_DIR is the directory containing this SKILL.md file. Resolve it using the base directory provided at the top of the skill invocation (look for "Base directory for this skill:"). If not available, locate it at <git repo root>/.agents/skills/prd-to-github-milestone/scripts/create_issue.sh. # Use a temporary file for the body to keep the command clean and avoid shell escaping issues SKILL_DIR="<base directory from skill invocation>" cat <<'EOF' > issue_body.md ## Description... EOF OUTPUT=$("$SKILL_DIR/scripts/create_issue.sh" "<Story ID>: <Title>" "user-story,<prefix>" issue_body.md) ISSUE_NUMBER=$(echo "$OUTPUT" | grep "Issue Number:" | awk '{print $3}') rm issue_body.md If there are dependencies noted from Step 3, add them to the issue body as a "Dependencies" section, or add a comment later once all issues are created.
  6. Link Dependencies: After creating all issues, if there are dependencies between user stories, add comments to dependent issues listing their blockers. Use the captured issue numbers from Step 5: gh issue comment <dependent-issue-number> --body "Depends on: #<blocker-issue-number>" For example: gh issue comment 43 --body "Depends on: #42"
  7. Create & Link to Milestone:

- Determine the milestone name: Check if the PRD explicitly organizes stories by milestone. If yes, use that name. Otherwise, use the PRD feature name. - Create the milestone first (ensures it exists): "$SKILL_DIR/scripts/create_milestone.sh" "<Milestone Title>" (where SKILL_DIR is the base directory from the skill invocation; if not available, locate it at <git repo root>/.agents/skills/prd-to-github-milestone/scripts/create_milestone.sh). - Link all created issues to the milestone: gh issue edit <issue-number> --milestone "<Milestone Title>".

  1. Output Mapping: Generate a markdown table and present to user: | Story ID | Title | Issue # | URL | |----------|-------|---------|-----| | PRI-001 | User Login | #12 | https://github.com/.../issues/12 | | PRI-002 | User Logout | #13 | https://github.com/.../issues/13 |

Available Scripts

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

  • create_issue.sh "<title>" "<labels>" "<body_file_path>": Safely executes gh issue create and extracts the issue number.
  • create_milestone.sh "<milestone_title>": Safely executes gh api to create a new milestone.

Examples

Example 1: *Input:* "Create issues from tasks/prd-login.md and add them to the 'v1.0' milestone" *Action:*

  1. Setup labels: gh label list --limit 1000 | grep "user-story". If not found, run gh label create "user-story" --color "0e8a16". Extract the prefix (PRI from tasks/prd-login.md), then check and create it: gh label create "PRI" --color "1d76db".
  2. Read tasks/prd-login.md.
  3. Extract PRI-001 (Login), PRI-002 (Logout) with dependencies: PRI-002 depends on PRI-001.
  4. Get repo info: gh repo view --json nameWithOwner -q → returns myorg/myapp.
  5. Create issue for PRI-001: cat <<'EOF' > issue_body.md ## Description User should be able to log in... ## Acceptance Criteria - [] Form validates email - [] Form validates password ## Original PRD [View in PRD](https://github.com/myorg/myapp/blob/main/tasks/prd-login.md) EOF OUTPUT=$("$SKILL_DIR/scripts/create_issue.sh" "PRI-001: User Login" "user-story,PRI" issue_body.md) # Extract the ISSUE_NUMBER output by the script for dependency linking ISSUE_NUMBER=$(echo "$OUTPUT" | grep "Issue Number:" | awk '{print $3}') rm issue_body.md
  6. Create issue for PRI-002 (with dependency noted): cat <<'EOF' > issue_body.md ## Description User should be able to log out... ## Dependencies - Depends on #42 (User Login) ## Original PRD [View in PRD](https://github.com/myorg/myapp/blob/main/tasks/prd-login.md) EOF "$SKILL_DIR/scripts/create_issue.sh" "PRI-002: User Logout" "user-story,PRI" issue_body.md rm issue_body.md
  7. Create milestone v1.0 and link both issues.
  8. Output summary: | Story ID | Title | Issue # | URL | |----------|-------|---------|-----| | PRI-001 | User Login | #42 | https://github.com/myorg/myapp/issues/42 | | PRI-002 | User Logout | #43 | https://github.com/myorg/myapp/issues/43 |

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.63%
按下载量换算54

Claude

28.8%
按下载量换算41

Cursor

18.6%
按下载量换算27

Gemini CLI

9.92%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/eho/agent-skills --skill prd-to-github-milestone 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills