Agent SkillsFradSer/dotclaude › create-issues

create-issues

GitHub

自动化创建GitHub Issue,遵循TDD原则和标签规范。支持分析仓库状态、选择模板、设置优先级及自动关闭关键字,并生成文档与后续指引。

github/skills/create-issues/SKILL.md FradSer/dotclaude

Trigger Scenarios

用户要求创建issue 报告bug 记录新需求或epic

Install

npx skills add FradSer/dotclaude --skill create-issues -g -y
More Options

Non-standard path

npx skills add https://github.com/FradSer/dotclaude/tree/main/github/skills/create-issues -g -y

Use without installing

npx skills use FradSer/dotclaude@create-issues

指定 Agent (Claude Code)

npx skills add FradSer/dotclaude --skill create-issues -a claude-code -g -y

安装 repo 全部 skill

npx skills add FradSer/dotclaude --all -g -y

预览 repo 内 skill

npx skills add FradSer/dotclaude --list

SKILL.md

Frontmatter
{
    "name": "create-issues",
    "description": "Creates GitHub issues following test-driven development principles and proper labeling conventions. This skill should be used when the user asks to \"create an issue\", \"file a bug\", or needs to document new requirements, epics, or PR-scoped tasks.",
    "allowed-tools": "Task, Bash(gh:*), Bash(git:*)",
    "argument-hint": [
        "description"
    ],
    "user-invocable": true
}

Create GitHub Issues

Execute automated GitHub issue creation workflow for $ARGUMENTS following TDD principles and conventional commit standards.

Context

  • Current git status: !git status
  • Current branch: !git branch --show-current
  • Open issues: !gh issue list --state open --limit 10
  • GitHub authentication: !gh auth status

Requirements Summary

Follow TDD principles, conventional commits, and protected branch workflows. Use proper labels, auto-closing keywords, and atomic commits. See references/requirements.md for complete standards.

Phase 1: Repository Analysis

Goal: Assess repository state, detect templates, and determine issue scope and type.

Actions:

  1. Analyze current branch from context (main/develop vs PR branch)
  2. Review open issues to identify duplicates or related work
  3. Check for contributing guidelines (CONTRIBUTING.md) and follow its requirements
  4. Detect issue templates in .github/ISSUE_TEMPLATE/ directory
  5. If templates exist: select appropriate template using gh issue create --list
  6. Determine issue type (epic, PR-scoped, or review) based on $ARGUMENTS complexity
  7. Apply branch-based decision logic from references/decision-logic.md

See references/repository-templates.md for template detection and compliance details.

Phase 2: Issue Creation

Goal: Create GitHub issue with proper structure, labels, and links.

Actions:

  1. Create or verify required priority labels exist (see references/decision-logic.md for commands)
  2. Draft issue following structure requirements in references/issue-structure.md
  3. Apply appropriate labels (priority, type) using --label
    • Assign owners using --assignee
    • Link milestones using --milestone or projects using --project if requested
  4. Add auto-closing keywords if PR-scoped issue (NOT for epics)
    • CRITICAL: auto-closing keywords only fire when the PR merges into the repository's default branch. If the issue will be resolved by a PR targeting a non-default branch, warn the user that the issue will NOT close automatically and must be closed manually — see references/auto-closing-keywords.md for the full rule and keyword table.
  5. Link to related issues or epics if applicable

Phase 3: Documentation and Handoff

Goal: Document decisions and communicate follow-up actions.

Actions:

  1. Document branch strategy decision and rationale
  2. Report created issue number and URL to user
  3. If on PR branch and blocking: add detailed comment to PR instead of creating issue
  4. Share next steps (create PR, assign to team member, etc.)

References

  • Requirements: references/requirements.md - Full TDD and commit standards
  • Decision Logic: references/decision-logic.md - Branch-based decisions and issue types
  • Issue Structure: references/issue-structure.md - Title, labels, body, auto-closing
  • Auto-Closing Keywords: references/auto-closing-keywords.md - Default-branch limitation and keyword table
  • Repository Templates: references/repository-templates.md - Contributing guidelines and issue templates
  • Examples: references/examples.md - Commit message examples

Version History

  • 6f2a0b2 Current 2026-08-20 10:58

Same Skill Collection

.claude/skills/reflect-skills-from-memory/SKILL.md
acpx/skills/use-acpx/SKILL.md
antigravity/skills/delegate/SKILL.md
antigravity/skills/research/SKILL.md
code-context/skills/code-context/SKILL.md
code-context/skills/get-context/SKILL.md
git-agent/skills/commit-and-push/SKILL.md
git-agent/skills/commit/SKILL.md
git-agent/skills/init/SKILL.md
git-agent/skills/related/SKILL.md
git/skills/commit-and-push/SKILL.md
git/skills/commit/SKILL.md
git/skills/finish-feature/SKILL.md
git/skills/finish-hotfix/SKILL.md
git/skills/finish-release/SKILL.md
git/skills/start-feature/SKILL.md
git/skills/start-hotfix/SKILL.md
git/skills/start-release/SKILL.md
github/skills/create-pr/SKILL.md
github/skills/resolve-issues/SKILL.md
github/skills/review-pr/SKILL.md
hardware/skills/use-kicad-cli/SKILL.md
hardware/skills/use-openscad/SKILL.md
interfaces/skills/better-interface/SKILL.md
lark/skills/SKILL.md
marketing/skills/SKILL.md
mattpocock/skills/deprecated/design-an-interface/SKILL.md
mattpocock/skills/deprecated/qa/SKILL.md
mattpocock/skills/deprecated/request-refactor-plan/SKILL.md
mattpocock/skills/deprecated/ubiquitous-language/SKILL.md
mattpocock/skills/engineering/ask-matt/SKILL.md
mattpocock/skills/engineering/bdd/SKILL.md
mattpocock/skills/engineering/code-review/SKILL.md
mattpocock/skills/engineering/codebase-design/SKILL.md
mattpocock/skills/engineering/diagnosing-bugs/SKILL.md
mattpocock/skills/engineering/domain-modeling/SKILL.md
mattpocock/skills/engineering/grill-with-docs/SKILL.md
mattpocock/skills/engineering/implement/SKILL.md
mattpocock/skills/engineering/improve-codebase-architecture/SKILL.md
mattpocock/skills/engineering/prototype/SKILL.md
mattpocock/skills/engineering/research/SKILL.md
mattpocock/skills/engineering/resolving-merge-conflicts/SKILL.md
mattpocock/skills/engineering/setup-matt-pocock-skills/SKILL.md
mattpocock/skills/engineering/tdd/SKILL.md
mattpocock/skills/engineering/to-spec/SKILL.md
mattpocock/skills/engineering/to-tickets/SKILL.md
mattpocock/skills/engineering/triage/SKILL.md
mattpocock/skills/engineering/wayfinder/SKILL.md
mattpocock/skills/engineering/wizard/SKILL.md

Metadata

Files
0
Version
6f2a0b2
Hash
dca00472
Indexed
2026-08-20 10:58

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 05:05
浙ICP备14020137号-1 $お客様$