create-github-issue
できること
このスキルは、GitHubのコマンドラインツールを使ってGitHubのIssueを作成します。リポジトリのIssueテンプレートを読み、各セクションに記入します。バグを報告したい人や、機能を要望したい人向けです。
使う場面
- ✓GitHubのリポジトリにバグ報告を作成したいとき。
- ✓プロジェクト独自のテンプレートを使って、機能の要望を出したいとき。
- ✓新しいIssueを作る前に、既存のIssueがないか確認したいとき。
スキルのリンク
https://github.com/tailcallhq/forgecode/blob/main/.forge/skills/create-github-issue/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このプロジェクトのGitHubに、彼らのIssueテンプレートを使ってバグ報告を作成してもらえますか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、リポジトリのIssueテンプレートを一覧にし、適切なものを選び、必要な項目を読んで、GitHubのコマンドラインツールでIssueを作成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Create GitHub Issue
Create comprehensive GitHub issues using gh issue create by dynamically discovering and adhering to the repository's official issue templates.
Workflow
1. Discover and Select Template
CRITICAL: You must use the repository's official templates. Do not assume the structure.
- List available templates:
ls .github/ISSUE_TEMPLATE/ - Select the most appropriate template based on the issue type (e.g.,
bug_report.yml,feature_request.yml). - Read the selected template to understand its required fields, structure, and any title prefixes or default labels.
cat .github/ISSUE_TEMPLATE/<selected_template>.yml
2. Gather Context
Gather relevant information to fulfill the template requirements:
# Check current git status for context
git status
# View recent commits if related to codebase changes
git log --oneline -10
# Check if related issues exist
gh issue list --search "keyword" --limit 10
3. Generate Markdown Body
MANDATORY: Structure the issue body exactly as defined in the selected YAML template without exception.
- Map YAML fields to Markdown: Convert each field in the template (typically found under
body:) into a Markdown section. - Use Headers: Use the
labeloridfrom the YAML field as an H2 header (e.g.,## Bug Description). - Respect Validation: Ensure all fields marked as
required: truein the YAML are populated with meaningful content. - Format Correctly: Use code blocks (e.g.,
```shell,```yaml) for logs and configurations as suggested by the template'srenderattribute.
4. Choose Labels
Select labels by inspecting .github/labels.json.
- Primary Label: Always include a
type:label that matches the issue type. - Additional Labels: Add relevant
state:,work:, orpriority:labels if they exist in the configuration. - Constraint: Only use labels defined in
.github/labels.json.
5. Create Title
Follow the template's title field if it provides a prefix (e.g., "[Bug]: ").
- Be concise: Keep under 70 characters.
- Use imperative mood: "Fix authentication timeout" instead of "Authentication is timing out".
- Start with action verb: Fix, Add, Improve, Update, Refactor.
6. Execute Issue Creation
Step 1: Write body to temp file
Use the write tool to create .forge/FORGE_ISSUE_BODY.md with the structured Markdown content.
Step 2: Create issue
gh issue create \
--title "[Prefix]: Descriptive Title" \
--body-file .forge/FORGE_ISSUE_BODY.md \
--label "type: <type>, work: <complexity>"
Optional flags:
--assignee "username"--milestone "name"--draft(For proposals or research)
7. Finalize
Provide the user with the generated issue URL and a brief summary of the created issue.
Guidelines
- No Exceptions: You must follow the discovered template's structure exactly. If a template asks for "Steps to Reproduce", you must provide them.
- Dynamic Discovery: Always read the files in
.github/ISSUE_TEMPLATE/and.github/labels.jsonfirst. Never rely on hardcoded knowledge of templates or labels as they change frequently. - Cleanliness: Ensure no placeholder text (like "Describe the bug...") remains in the final body.
- Contextual Awareness: If the user provides logs or code snippets, ensure they are placed in the correct sections of the template.
Notes
- Single Source of Truth: The files in
.github/are the authoritative reference for issue structure and categorization. - Tooling: Use
ghCLI directly. It is pre-authenticated and ready for use. - Automation: Do not ask for confirmation before creating the issue if the user's intent is clear.
よくある質問
GitHub CLIのインストールが必要ですか?
はい。スキルはghコマンドを使ってIssueを作成します。
プロジェクトのテンプレートに従いますか?
はい。リポジトリの公式テンプレートを使い、そのセクション構成を保つ必要があります。
重複を確認しますか?
新しいIssueを作る前に、関連するIssueを検索できます。
詳細
作者による元の説明
Create GitHub issues using GitHub CLI with support for templates, labels, assignees, milestones, and draft issues. Use when the user asks to create a GitHub issue, file a bug report, submit a feature request, or open an issue in a GitHub repository.
repo: tailcallhq/forgecode
人気
- GitHubのスター
- 7.6k
- ランキング
- #13110
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
create-agent
7.6kForgeのコーディングアプリ向けのカスタムエージェントを、先頭に設定があるMarkdownファイルとして作成または変更する方法をエージェントに教えます。
create-command
7.6kForgeのコーディングアプリ向けに、順番に実行される手順としてMarkdownで書く、再利用可能なコマンドを作る方法をエージェントに教えます。
create-plan
7.6kコードを変更する前に、手順、リスク、代替案を含む、複雑な作業の詳しい実装計画を書くようエージェントを支援します。
github-pr-comments
7.6kGitHubのプルリクエストのインラインコメントをすべて確認し、要求された変更を1つずつ行うようエージェントを支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。