Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

new-issue新一期

Agent Skill

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

总安装

494

周安装

21

GitHub Stars

2

下载量

173
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ywj3493/claude-skills --skill new-issue

简介

用于围绕 GitHub 仓库、Issue、Pull Request 和代码协作流程提供辅助能力。

  • 适合查询项目状态、整理变更、辅助创建或检查协作事项。
  • 使用时需区分只读查询与写入操作;涉及修改 Issue 或创建 PR 时应确认 token 权限。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加。
  • 建议在使用前核实目标仓库范围和技能维护状态。

SKILL.md

new-issue

Creates a properly tracked issue for a unit of work, using GitHub Issues when available or local docs as fallback.

When to Use

  • User says "create an issue", "new issue", "start an issue", "이슈 만들기"
  • Beginning a new feature, bug fix, investigation, or task
  • User describes work that should be formally tracked

Step-by-Step Instructions

Step 1: Detect Mode

Determine whether to use GitHub Issues or local docs:

  1. Check for a git remote: git remote -v 2>/dev/null
  2. If output is non-empty, verify gh CLI is available and authenticated: command -v gh >/dev/null 2>&1 && gh auth status 2>/dev/null
  3. Decision:

- GitHub mode: remote exists AND gh is available and authenticated - Docs mode (fallback): no remote, OR gh is missing/unauthenticated

If falling back from GitHub to docs mode due to gh issues, inform the user:

No gh CLI found or not authenticated. Falling back to local docs mode. Run gh auth login to enable GitHub Issues mode.

GitHub Mode

Step 2G: Gather Issue Details

If the user has already described the work in their message, draft the issue content from that description and ask for confirmation before creating.

Otherwise, ask the user for:

  1. Title — one-line summary of the work
  2. Background — why is this needed? what problem does it solve?
  3. Acceptance Criteria — what does "done" look like?
  4. Initial Tasks — what are the first known steps?

Step 3G: Create GitHub Issue

Run gh issue create with the gathered details:

gh issue create --title "<Title>" --body "$(cat <<'EOF'
## Background

<Why this work is needed and what problem it solves>

## Acceptance Criteria

- [ ] <Criterion 1>
- [ ] <Criterion 2>

## Tasks

- [ ] 1. <Task 1>
- [ ] 2. <Task 2>

## Notes

<!-- Record decisions, discoveries, and blockers here as work progresses -->
EOF
)"

Capture the output URL. Extract the issue number from the URL (the trailing integer, e.g., https://github.com/owner/repo/issues/42#42).

Step 4G: Create Branch

Create a working branch for this issue — unless the current working directory is already on a dedicated branch (e.g., created via git worktree).

  1. Check the current branch: git branch --show-current
  2. If on main (or the repo's default branch), create and switch to a new branch: git checkout -b feat/issue<number>-<short-description> Use the naming convention from policy: feat/, fix/, or docs/ prefix depending on the issue type.
  3. If already on a feature branch (e.g., a worktree), skip branch creation and inform the user that the existing branch will be used.

Step 5G: Create Draft PR

Create a draft pull request linked to the issue. The PR title and body should be written in the same language as the GitHub Issue (paired language).

gh pr create --draft \
  --title "<Same title as the issue>" \
  --body "$(cat <<'EOF'
## Summary

Resolves #<number>

## Changes

<!-- Describe changes as work progresses -->

## Test Plan

<!-- How to verify the changes -->
EOF
)"

The Resolves #<number> link ensures the issue is automatically closed when the PR is merged.

If the branch has no commits yet beyond the base branch, gh pr create may fail. In that case, create an empty commit first:

git commit --allow-empty -m "chore: start work on issue #<number>"
git push -u origin HEAD

Then retry the PR creation.

Step 6G: Confirm and Report

Tell the user:

Created: - GitHub Issue #<number>: <issue URL> - Draft PR: <PR URL> - Branch: feat/issue<number>-<short-description> Reference this issue in commit messages with Refs: #<number>.

Docs Mode (Fallback)

Step 2D: Determine the Next Issue Number

Check what issue numbers already exist:

ls docs/en/issue/ 2>/dev/null | grep -E '^issue[0-9]+\.md$' | sort

Take the highest number found and add 1. If no issues exist yet, start at 001. Format as zero-padded 3 digits: 001, 002,..., 099, 100, 101,...

Step 3D: Gather Issue Details

If the user has already described the work in their message, draft the issue content from that description and ask for confirmation before writing.

Otherwise, ask the user for:

  1. Title — one-line summary of the work
  2. Background — why is this needed? what problem does it solve?
  3. Acceptance Criteria — what does "done" look like?
  4. Initial Tasks — what are the first known steps?

Step 4D: Create the English Issue Document

Create docs/en/issue/issue<NNN>.md:

# Issue <NNN>: <Title>

**Status**: Open
**Created**: <YYYY-MM-DD>

## Background

<Why this work is needed and what problem it solves>

## Acceptance Criteria

- [ ] <Criterion 1>
- [ ] <Criterion 2>

## Tasks

- [ ] 1. <Task 1>
- [ ] 2. <Task 2>

## Notes

<!-- Record decisions, discoveries, and blockers here as work progresses -->

See references/issue-template.md for the raw template.

Step 5D: Create the Korean Mirror

Create docs/ko/issue/issue<NNN>.md with the same structure in Korean. Code blocks, file paths, commands, and technical identifiers remain in English.

# 이슈 <NNN>: <한국어 제목>

**상태**: 열림
**생성일**: <YYYY-MM-DD>

## 배경

<이 작업이 필요한 이유와 해결하려는 문제>

## 완료 기준

- [ ] <기준 1>
- [ ] <기준 2>

## 작업 목록

- [ ] 1. <작업 1>
- [ ] 2. <작업 2>

## 참고 사항

<!-- 작업 진행 중 결정 사항, 발견 사항, 차단 사항을 여기에 기록하세요 -->

Step 6D: Confirm and Report

Tell the user:

Created: - docs/en/issue/issue<NNN>.md - docs/ko/issue/issue<NNN>.md Reference this issue in commit messages with Refs: issue<NNN>.

Updating Issues During Work

GitHub Mode

  • Edit the issue body or add comments: gh issue edit <number> or gh issue comment <number>
  • Check off tasks directly in the issue body on GitHub
  • Close the issue: gh issue close <number> or use Closes #<number> in a commit message

Docs Mode

  • Check off completed tasks: - [x] 1. Task 1
  • Update Status from OpenIn ProgressDone
  • Record key decisions in the Notes section
  • Update the Korean mirror when significant changes are made

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.74%
按下载量换算58

Claude

28.46%
按下载量换算49

Cursor

19.62%
按下载量换算34

Gemini CLI

9.19%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills