Skip to content
cccskills
FreePublished on GitHub

shiiman-github:setup

GitHub 設定ファイルをセットアップする。「GitHub 設定をセットアップ」「.github を作って」「Issue テンプレート作成」「PR テンプレート作成」「GitHub 設定を初期化」「リポジトリ設定をセットアップ」「ラベル設定を作成」などで起動。.github ディレクトリに必要な設定ファイルを一括生成。

「何が作られるか確認」と伝えれば生成予定の一覧表示のみ行う。

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (11)

  • SKILL.md6.3 KB
  • assets/copilot-instructions.md1.2 KB
  • assets/ISSUE_TEMPLATE/bug-report.yml1.2 KB
  • assets/ISSUE_TEMPLATE/config.yml194 B
  • assets/ISSUE_TEMPLATE/feature-request.yml1.0 KB
  • assets/ISSUE_TEMPLATE/improvement.yml716 B
  • assets/labeler.yml683 B
  • assets/labels.yml1.3 KB
  • assets/pull_request_template.md815 B
  • assets/workflows/labeler.yml356 B
  • assets/workflows/sync-labels.yml579 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

Setup GitHub

プロジェクトの .github ディレクトリに GitHub 設定ファイルを一括生成します。

Help

$ARGUMENTS に --help が含まれる場合、以下を表示して終了:

/shiiman-github:setup - GitHub 設定セットアップ

概要:
  .github ディレクトリに Issue テンプレート、PR テンプレート、
  ラベル定義、GitHub Actions workflow を一括生成する。

使用方法:
  /shiiman-github:setup

オプション:
  --help  このヘルプを表示

実行モードの伝え方(フラグの代わり):
  「確認だけ」「何が作られるか見たい」  → 生成予定のファイル一覧のみ表示(生成しない)
  指定なし                             → ファイルを生成(既存ファイルは確認してから上書き)

例:
  /shiiman-github:setup           # 設定ファイルを生成
  「何が作られるか先に見せて」      # 生成予定のファイルを確認

起動時の自動判断(フラグの代わり)

引数・発話から実行モードを判定する。明示がなければ「生成」とする。

モード条件動作
確認「確認だけ」「見せて」「プレビュー」等あり生成予定のファイル一覧のみ表示して終了
生成既定ファイルを生成(既存は AskUserQuestion で確認)

生成されるファイル

ファイル説明
.github/ISSUE_TEMPLATE/config.ymlIssue テンプレート設定
.github/ISSUE_TEMPLATE/bug-report.ymlバグ報告テンプレート
.github/ISSUE_TEMPLATE/feature-request.yml機能リクエストテンプレート
.github/ISSUE_TEMPLATE/improvement.yml改善提案テンプレート
.github/pull_request_template.mdPR テンプレート
.github/copilot-instructions.mdGitHub Copilot 設定
.github/labels.ymlラベル定義
.github/labeler.yml自動ラベル付けルール
.github/workflows/sync-labels.ymlラベル同期 workflow
.github/workflows/labeler.yml自動ラベル付け workflow

実行手順

ステップ 1: 事前確認

  1. .github ディレクトリの存在確認
  2. 既存ファイルの有無をチェック

既存ファイルがある場合:

AskUserQuestion で上書き可否を必ず確認する(既存設定を失う不可逆操作のため)。

question: "既存の .github 設定ファイルがあります。どうしますか?"
options:
  - 上書きする: 既存ファイルを生成内容で置き換える
  - 既存を残す: 既存ファイルはスキップし、未作成のファイルのみ生成
  - 中止する: 生成を行わず終了

ステップ 2: プロジェクト情報収集

ユーザーに以下を確認:

  1. プロジェクト名(リポジトリ名から推測、確認)
  2. プロジェクトタイプ(選択肢を提示)
    • Web アプリ (React/Vue/etc.)
    • バックエンド (Node.js/Go/Python/etc.)
    • ライブラリ/パッケージ
    • CLI ツール
    • その他

ステップ 3: テンプレート読み込み

skills/setup/assets/ からテンプレートを読み込み、プロジェクト情報で変数を置換。

置換する変数:

変数説明
{{REPO}}リポジトリ名
{{OWNER}}リポジトリオーナー
{{PROJECT_TYPE}}プロジェクトタイプ

ステップ 4: ファイル生成

以下の順序で生成:

  1. .github/ ディレクトリ作成(なければ)
  2. .github/ISSUE_TEMPLATE/ ディレクトリ作成
  3. .github/workflows/ ディレクトリ作成
  4. 各テンプレートファイルを生成

ステップ 5: 完了報告

生成されたファイル一覧と次のステップを表示:

## 生成完了

以下のファイルを生成しました:

- .github/ISSUE_TEMPLATE/config.yml
- .github/ISSUE_TEMPLATE/bug-report.yml
- .github/ISSUE_TEMPLATE/feature-request.yml
- .github/ISSUE_TEMPLATE/improvement.yml
- .github/pull_request_template.md
- .github/copilot-instructions.md
- .github/labels.yml
- .github/labeler.yml
- .github/workflows/sync-labels.yml
- .github/workflows/labeler.yml

## 次のステップ

1. 各テンプレートをプロジェクトに合わせてカスタマイズ
2. `git add .github && git commit -m "chore: GitHub 設定ファイルを追加"`
3. GitHub にプッシュしてラベル同期を実行

生成ファイルのテンプレート

テンプレートファイルは assets/ ディレクトリに配置:

  • assets/ISSUE_TEMPLATE/ - Issue テンプレート
  • assets/pull_request_template.md - PR テンプレート
  • assets/copilot-instructions.md - Copilot 設定
  • assets/labels.yml - ラベル定義
  • assets/labeler.yml - 自動ラベル付けルール
  • assets/workflows/ - GitHub Actions workflow

重要な注意事項

  • ✅ テンプレートは汎用的な内容なので、プロジェクトに合わせて調整が必要
  • ✅ ラベル同期 workflow は main ブランチへのプッシュ時に実行される
  • ❌ 既存の設定ファイルを無断で上書きしない

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

プラグインに新しいフックを作成する。「フック作成」「新しいフック」「フックを作って」「フック追加」「hook 作成」「フックを追加したい」「新規フック」などで起動。ツール実行前後やセッションイベントで実行されるフックを生成。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

マーケットプレイスのソースを dev(directory)/ prd(git)に切り替える。「マーケットプレイス切替」「marketplace toggle」「dev モード」「prd モード」「ローカル開発モード」「開発モード切替」「マーケットプレイス dev」などで起動。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

新しい Claude Code プラグインを作成する。「プラグイン作成」「新しいプラグイン」「プラグインを作って」「プラグイン追加」「plugin 作成」「プラグイン一括作成」「フル作成」などで起動。プラグインのみ作成と、スキル/サブエージェント/フックを含む一括作成の両方に対応。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

MCP サーバーの一覧表示・追加・削除を一つのスキルで管理する。「MCP 管理」「MCP 一覧」「MCP を追加」「MCP を削除」「MCP サーバー管理」「MCP 設定」「MCP 操作」などで起動。引数があれば優先し、なければ発話内容から list/install/remove を判定。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

プロジェクトの Claude Code リソース一覧を表示する。「Claude リソース一覧」「スキル一覧」「エージェント一覧」「フック一覧」「プロジェクトリソース確認」「何があるか確認」「リソースを見せて」などで起動。表示対象(スキル/エージェント/フック)は発話から判断する。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

Claude Code 設定の表示・更新・ローカル更新を統合管理する。「Claude 設定管理」「設定を表示」「settings を更新」「local settings を更新」「権限設定を変更」「設定ファイル管理」「claude settings」などで起動。引数があれば優先し、なければ発話内容から view/update/local-update を判定。

The English summary is being prepared. Showing the original description.

shiiman/claude-code-plugins6Updated Jun 17, 2026

See all skills by shiiman

Report a problem with this skill