Agent Skills › videojs/video.js › create-issue

create-issue

GitHub

自动化创建或起草 GitHub Issue,支持 Bug、功能及任务类型。通过收集信息、查重、验证依赖关系并生成结构化草稿,利用 gh CLI 创建 Issue 及其层级与阻塞关系,确保问题聚焦且可追踪。

.agents/skills/create-issue/SKILL.md videojs/video.js

触发场景

需要提交 Bug 报告 需要创建新功能提案 需要建立任务或 Epic 的父子/依赖关系

安装

npx skills add videojs/video.js --skill create-issue -g -y
更多选项

非标准路径

npx skills add https://github.com/videojs/video.js/tree/main/.agents/skills/create-issue -g -y

不安装直接使用

npx skills use videojs/video.js@create-issue

指定 Agent (Claude Code)

npx skills add videojs/video.js --skill create-issue -a claude-code -g -y

安装 repo 全部 skill

npx skills add videojs/video.js --all -g -y

预览 repo 内 skill

npx skills add videojs/video.js --list

SKILL.md

Frontmatter
{
    "name": "create-issue",
    "description": "Draft or create a videojs\/video.js GitHub issue and its native planning relationships. Use when asked to file a bug, feature, task, epic, or repository issue."
}

Create a GitHub issue

Workflow

  1. Gather the observed behavior, expected behavior, motivation, affected surface, reproduction or acceptance criteria, and relevant links.
  2. Search open and closed issues and discussions for duplicates, prior art, and established planning relationships. Verify any supplied or clearly established parent issue; do not guess a parent from loose similarity. Route substantial feature proposals to a discussion when the repository template requires one.
  3. Inspect the relevant code or docs when needed to make the issue actionable; do not invent a root cause.
  4. Choose native relationships by meaning:
    • Use a parent/sub-issue relationship when the child is part of the parent's completion scope. If a parent is known, create the issue as its sub-issue. If creating an epic, create or attach issue-sized child work as sub-issues.
    • Use blocked-by/blocking relationships for sequencing, not hierarchy. Use ordinary references for merely related work.
    • Do not silently reparent an existing issue; confirm before replacing its current parent.
  5. Do not add labels or a type prefix. The triage bot owns both so auto-triage has one source of truth.
  6. Draft:
    • A concise Title Case title without a type prefix.
    • Context and user impact.
    • Reproduction for bugs, or scope/acceptance criteria for features.
    • One independently closable outcome per issue; split separable outcomes into sub-issues.
    • Outcome-oriented acceptance criteria; keep implementation tasks out unless they are necessary constraints.
    • Relevant implementation notes only when verified.
  7. Keep hierarchy out of body task lists:
    • Never mirror child epics or issues as checklist items such as - [ ] #123; native sub-issues are the progress tracker.
    • Use checkboxes only for small completion steps that do not merit their own issues, and plain bullets for informational or non-actionable lists.
  8. Show the final draft and planned parent/dependency relationships, then obtain confirmation before creating external issues unless the user explicitly authorized immediate creation.
  9. Create the issue without labels using the available GitHub connector or gh issue create. Pass a known parent with --parent <number-or-url> and verified dependencies with --blocked-by or --blocking. If the issue already exists, attach it with gh issue edit <child> --parent <parent> or gh issue edit <parent> --add-sub-issue <child>.
  10. Verify the created issue and relationships with the connector or gh issue view <child> --json url,parent,blockedBy,blocking. Return the issue URL and the linked parent or dependencies; report a failed relationship instead of implying it succeeded.

Keep the issue focused on the problem and acceptance boundary. Do not prescribe an unverified implementation.

Example

Input: “Create an issue under #873 for captions disappearing after a source change.”

Output: A concise, evidence-backed issue created with --parent 873, with the native parent relationship verified and no duplicate child checklist in either body.

版本历史

  • 8a0a3d8 当前 2026-10-20 08:02

同 Skill 集合

.agents/skills/change-spf-behavior/SKILL.md
.agents/skills/commit-pr/SKILL.md
.agents/skills/configure-vite-plus/SKILL.md
.agents/skills/create-html-component/SKILL.md
.agents/skills/create-react-component/SKILL.md
.agents/skills/create-skill/SKILL.md
.agents/skills/create-spf-behavior/SKILL.md
.agents/skills/design-api/SKILL.md
.agents/skills/document-spf-feature/SKILL.md
.agents/skills/document-spf-use-case/SKILL.md
.agents/skills/implement-accessible-ui/SKILL.md
.agents/skills/implement-spf-feature/SKILL.md
.agents/skills/implement-spf-use-case/SKILL.md
.agents/skills/implement-ui-transition/SKILL.md
.agents/skills/investigate-issue/SKILL.md
.agents/skills/maintain-agent-docs/SKILL.md
.agents/skills/maintain-tests/SKILL.md
.agents/skills/maintain-vjsc-skin-gaps/SKILL.md
.agents/skills/review-accessibility/SKILL.md
.agents/skills/review-api/SKILL.md
.agents/skills/review-branch/SKILL.md
.agents/skills/review-docs/SKILL.md
.agents/skills/review-html-component-design/SKILL.md
.agents/skills/review-html-component/SKILL.md
.agents/skills/review-react-component-design/SKILL.md
.agents/skills/review-react-component/SKILL.md
.agents/skills/write-api-reference/SKILL.md
.agents/skills/write-design-doc/SKILL.md
.agents/skills/write-docs/SKILL.md
.agents/skills/write-html-component-design/SKILL.md
.agents/skills/write-locale-translations/SKILL.md
.agents/skills/write-react-component-design/SKILL.md
.agents/skills/write-rfc/SKILL.md
.agents/skills/create-rolldown-plugin/SKILL.md
.agents/skills/create-vite-plugin/SKILL.md
.agents/skills/create-vjsc-component/SKILL.md
.agents/skills/transform-rolldown-code/SKILL.md

元信息

文件数
0
版本
8a0a3d8
Hash
7428e194
收录时间
2026-10-20 08:02

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 04:10
浙ICP备14020137号-1