agentleFS
neko3csneko3cs/skills/create-issue/SKILL.md

create-issue

Skill0 starsChanged 7 days agoMITView on GitHub

Creates a GitHub Issue with the gh CLI using neko3cs/.github's org-wide ISSUE_TEMPLATE forms (bug_report.yml / feature_request.yml), filling every required field and composing the body in GitHub's rendered heading format. Use whenever a GitHub Issue (bug report or feature request) is being filed in a neko3cs org repository — when the user asks ("create an issue", "file a bug", "Issueを作って", "バグ報告を起票して", "機能要望をIssueにして"), or when a workflow step says to file one.

63 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use native-nostalgia-stack, software-engineering-excellence and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • frostneySkill

    native-nostalgia-stack

    Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.

    Also in 3 projects that use this

  • frostneySkill

    software-engineering-excellence

    Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.

    Also in 3 projects that use this

  • withpiperSkill

    roadmap-review

    Audit roadmap health — issues, dependency order, spec coverage, doc freshness. Use when speccing a new initiative. Use when /phase-plan output looks suspicious. Use before /roadmap-create reruns.

    Also in 3 projects that use this

  • GoogleSkill

    implement-issue

    Implement a Site Kit GitHub issue end-to-end from its implementation brief. Use when the user asks to implement, build, or work on a GitHub issue / feature by number (e.g. "implement issue #12345", "build the feature in issue 12345", "follow the implementation brief for #12345") in the google/site-kit-wp repo.

    Also in 6 projects that use this

  • Microsoft AzureSkill

    create-release

    Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.

    Also in 4 projects that use this

  • MicrosoftSkill

    update-pr

    Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

    Also in 3 projects that use this

The file

Files
SKILL.md

create-issue Skill

概要

GitHub Issueを作成する際は、必ず gh コマンドを使い、neko3cs/.github リポジトリで管理されている2つのIssueテンプレート(バグ報告 / 機能要望)のいずれかに従って作成します。blank_issues_enabled: false のため、テンプレートを使わない空のIssueは作成しません。

実行手順

1. テンプレートを選ぶ

  • ユーザーの依頼内容が「バグ報告」か「機能要望」かを判断する。
  • 判断が難しい場合は、ユーザーにどちらか確認する。

2. テンプレートの最新定義を取得する

テンプレートは neko3cs/.github 側で更新される可能性があるため、スナップショットを流用せず、作成のたびに最新のYAMLを取得する。

gh api repos/neko3cs/.github/contents/.github/ISSUE_TEMPLATE/bug_report.yml --jq '.content' | base64 -d
gh api repos/neko3cs/.github/contents/.github/ISSUE_TEMPLATE/feature_request.yml --jq '.content' | base64 -d

取得したYAMLから次を読み取る。

  • title: タイトルに付与するプレフィックス(例: [Bug]: )
  • labels: 付与するラベル(例: bug、enhancement)
  • body: 各フィールドの id / label / required / placeholder

3. 各フィールドの内容を埋める

  • required: true のフィールドは必ず内容を埋める。会話やコードから判断できない場合は、推測で埋めずユーザーに質問する。
  • 任意フィールドは、書く内容がなければそのセクション自体を省略する(空見出しを作らない)。
  • placeholder は記入例(プレースホルダー)であり、そのまま転記しない。
  • 受け入れ条件(acceptance_criteria)は次のように書く。
    • 計算・変換・入力チェックなど、入力から結果が決まる条件は、入力と期待結果の表で書く。決まらない行(境界値、欠けたデータ、異常系)は推測で埋めず、期待結果を ? のまま残す。
    • 見た目・操作感など表にできない条件は、チェックボックスの箇条書きで書く。
    • 「テストを書く」など、プロダクトの振る舞いではない条件は書かない。
  • type: dropdown(例: 影響度)は選択肢の中から該当するものを1つ選ぶ。判断がつかない場合は推測せずユーザーに確認する。
  • type: checkboxes(例: 確認事項の「機密情報を含めていません」)は、実際に確認したうえでチェックを入れる。特に機密情報チェックは注意事項の確認と直結するため、内容を精査せずに機械的にチェックしない。

4. Issue本文を組み立てる

GitHub Issue Formsは送信時に各フィールドを ### {label} の見出し+内容に変換してIssue本文を生成する。gh issue create --template は対話入力前提のため、非対話で確実に全フィールドを反映させるには、この見出し形式の本文を自分で組み立て、--body / --body-file で渡す。

### 説明

...

### 再現手順

1. ...
2. ...

フィールドの順序はYAMLの body の順序に揃える。

5. gh issue create を実行する

gh issue create -R <owner>/<repo> \
  --title "[Bug]: ログイン画面でクラッシュする" \
  --body-file <一時ファイル> \
  --label bug
  • 対象リポジトリは特に指定がなければ作業中のリポジトリ(origin)を使う。別リポジトリ向けの場合は -R owner/repo を明示する。
  • ラベルはテンプレートYAMLの labels をそのまま使う(バグ報告→bug、機能要望→enhancement)。
  • 本文は改行・見出しを含むため、シェルのクォート崩れを避けるためスクラッチディレクトリに一時ファイルを作成し --body-file で渡す。作成後は一時ファイルを削除する。
  • 必須項目が会話やコードから判断できずユーザーへの質問が必要な場合を除き、内容が揃い次第このステップまで確認なしで進めて作成する。作成後にIssue URLを提示する。

注意事項

  • blank_issues_enabled: false のため、テンプレートを使わない空のIssueは作成しない。
  • テンプレートのフィールド構成は変更される可能性があるため、スナップショットを過信せず、作成の都度ステップ2で最新定義を取得する。
  • ユーザー提供内容に個人情報・社外秘情報が含まれていないかを確認したうえで本文に反映する。

参考文献

サンプル対話

User: ログイン画面がクラッシュするのでIssueを作ってください。

Agent: バグ報告として作成します。最新のテンプレート定義を取得し、再現手順・期待する動作・実際の動作・バージョン・影響度・受け入れ条件などの必須項目を会話内容から埋め、そのまま作成します。[gh issue create を実行] Issueを作成しました。URL: ...

User: ○○機能を追加してほしいです。

Agent: 機能要望として作成します。動機/ユースケースと提案する解決策が必須項目なので、その内容を伺ってもよいですか?

User: (動機とユースケースを回答)

Agent: [gh issue create を実行] Issueを作成しました。URL: ...

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.