From shiiman-github
GitHub 設定ファイルをセットアップする。「GitHub 設定をセットアップ」「.github を作って」「Issue テンプレート作成」「PR テンプレート作成」「GitHub 設定を初期化」「リポジトリ設定をセットアップ」「ラベル設定を作成」などで起動。.github ディレクトリに必要な設定ファイルを一括生成。
npx claudepluginhub shiiman/claude-code-plugins --plugin shiiman-githubThis skill is limited to using the following tools:
プロジェクトの `.github` ディレクトリに GitHub 設定ファイルを一括生成します。
assets/ISSUE_TEMPLATE/bug-report.ymlassets/ISSUE_TEMPLATE/config.ymlassets/ISSUE_TEMPLATE/feature-request.ymlassets/ISSUE_TEMPLATE/improvement.ymlassets/copilot-instructions.mdassets/labeler.ymlassets/labels.ymlassets/pull_request_template.mdassets/workflows/labeler.ymlassets/workflows/sync-labels.ymlGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
プロジェクトの .github ディレクトリに GitHub 設定ファイルを一括生成します。
$ARGUMENTS に --help が含まれる場合、以下を表示して終了:
/shiiman-github:setup - GitHub 設定セットアップ
概要:
.github ディレクトリに Issue テンプレート、PR テンプレート、
ラベル定義、GitHub Actions workflow を一括生成する。
使用方法:
/shiiman-github:setup [オプション]
オプション:
--dry-run 生成予定のファイル一覧を表示(実行しない)
--force 既存ファイルを上書き
--help このヘルプを表示
例:
/shiiman-github:setup # 設定ファイルを生成
/shiiman-github:setup --dry-run # 生成予定のファイルを確認
/shiiman-github:setup --force # 既存ファイルを上書きして生成
| ファイル | 説明 |
|---|---|
.github/ISSUE_TEMPLATE/config.yml | Issue テンプレート設定 |
.github/ISSUE_TEMPLATE/bug-report.yml | バグ報告テンプレート |
.github/ISSUE_TEMPLATE/feature-request.yml | 機能リクエストテンプレート |
.github/ISSUE_TEMPLATE/improvement.yml | 改善提案テンプレート |
.github/pull_request_template.md | PR テンプレート |
.github/copilot-instructions.md | GitHub Copilot 設定 |
.github/labels.yml | ラベル定義 |
.github/labeler.yml | 自動ラベル付けルール |
.github/workflows/sync-labels.yml | ラベル同期 workflow |
.github/workflows/labeler.yml | 自動ラベル付け workflow |
.github ディレクトリの存在確認既存ファイルがある場合:
--force なし: 上書きするか確認--force あり: 確認なしで上書きユーザーに以下を確認:
skills/setup/assets/ からテンプレートを読み込み、プロジェクト情報で変数を置換。
置換する変数:
| 変数 | 説明 |
|---|---|
{{REPO}} | リポジトリ名 |
{{OWNER}} | リポジトリオーナー |
{{PROJECT_TYPE}} | プロジェクトタイプ |
以下の順序で生成:
.github/ ディレクトリ作成(なければ).github/ISSUE_TEMPLATE/ ディレクトリ作成.github/workflows/ ディレクトリ作成生成されたファイル一覧と次のステップを表示:
## 生成完了
以下のファイルを生成しました:
- .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