Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

spec-to-issue发行规格

Agent Skill

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

总安装

612

周安装

25

GitHub Stars

1

下载量

196
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/anyoneanderson/agent-skills --skill spec-to-issue

简介

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

  • 它可帮助 Agent 把仓库中的信息转成可执行的下一步,如生成 Issue 描述或检查 PR 合并条件。
  • 使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。
  • 安装前建议核实权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

spec-to-issue — Spec to GitHub Issue

Auto-generate GitHub Issues from spec directories (.specs/{feature}/).

Language Rules

  1. Auto-detect input language → output in the same language
  2. Japanese input → Japanese issue, use references/issue-template.ja.md as template reference
  3. English input → English issue, use references/issue-template.md as template reference
  4. Explicit override takes priority

Reference file selection: Based on the detected output language, use the corresponding template:

  • English → references/issue-template.md
  • Japanese → references/issue-template.ja.md

Execution Flow

1. Locate Spec Directory

With argument: spec-to-issue auth-feature → use .specs/auth-feature/

Without argument: Scan .specs/ and present a list → ask user to select

Spec directories found in .specs/:
1. auth-feature (requirement.md, design.md, tasks.md)
2. member-management (requirement.md, tasks.md)
Which spec do you want to create an issue from?

2. File Validation

Required: requirement.md must exist. Otherwise, exit with error. Recommended: tasks.md (if missing, generate a basic checklist) Optional: design.md (used as supplementary info if present)

3. Spec Analysis

Extract from each file:

requirement.md:

  • Title: First # line, strip suffixes like "Requirements", "要件定義書"
  • Overview: ## Overview or ## 概要 section
  • Key features: Sections starting with ### 1., ### 2., etc.
  • Tech stack: ## Technology Stack or ## 技術要件 section

tasks.md:

  • Phases: Lines starting with ## Phase or ## フェーズ
  • Tasks: ### headings within each phase, simplified for checklist
  • Done criteria: ## Definition of Done or ## 完了の定義 section
  • Notes: ## Notes or ## 注意事項 section

design.md (optional):

  • Architecture overview (as supplementary info)

4. Resolve Project Settings

Determine defaults in this priority order:

Command arguments > .specs/.config.yml > CLAUDE.md > Built-in defaults

From CLAUDE.md:

  • Branch name: PR target branch from Git Workflow section → --branch default
  • GitHub Organization: Inferred from repository URL

.specs/.config.yml (optional):

default-branch: develop
default-labels: [feature, spec-generated]
project-number: 7
assignee: username

5. Compose Issue Body

See template details in the appropriate reference file (based on Language Rules):

6. Create Issue

Without --preview (default): Show a brief summary and execute gh issue create

Creating Issue:
  Title: [Feature] Member Management
  Labels: feature, spec-generated
  Phases: 3
  Tasks: 12
→ Running gh issue create...
Issue #42 created: https://github.com/org/repo/issues/42

With --preview: Display the full issue body, confirm, then execute

7. Additional Actions (optional)

  • --label: Apply specified labels
  • --project: Add to GitHub Project board via gh project item-add
  • --assignee: Set assignee

Options

OptionDescriptionDefault
--previewDisplay issue body for confirmationOFF
--label <labels>Comma-separated labels.config.yml value or none
--project <number>Add to GitHub Project.config.yml value or none
--branch <name>Base branch for spec linksCLAUDE.md or main
--assignee <user>Set assignee.config.yml value or none

Integration with spec-generator

After spec-generator's full phase completes, suggest:

All three spec documents have been generated.
→ Create a GitHub Issue from them? (Y/n)

If yes, run spec-to-issue on the same directory.

Error Handling

SituationResponse
.specs/ does not existError: Spec directory not found
requirement.md missingError: requirement.md is required
tasks.md missingWarning: Use basic checklist as fallback
gh CLI not authenticatedError: Guide user to gh auth login
Section not foundUse default value, show warning

Usage Examples

# With argument
/spec-to-issue auth-feature

# Auto-detect and select
/spec-to-issue

# With preview
/spec-to-issue auth-feature --preview

# With labels and Project
/spec-to-issue auth-feature --label "feature,priority:high" --project 7

# After spec-generator
"Create full spec for todo-app" → done → "Turn this into an issue"

# Japanese
「仕様書を全部作って」→ 完了 →「これをIssueにして」

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.56%
按下载量换算66

Claude

32.52%
按下载量换算64

Cursor

20.22%
按下载量换算40

Gemini CLI

10.24%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills