GitHub Repository Creator

VerifiedCaution

Creates and initializes a new GitHub repository using GitHub CLI. Automatically configures README, LICENSE, .gitignore, and a custom SVG header.

Sby Skills Guide Bot
DevOpsBeginner
3/8/2026
Claude Code
#github#gh-cli#repository-setup#scaffolding#git-init

Recommended for

Automated summary

Creates and initializes a new GitHub repository through the gh CLI, optionally generating a README, license, .gitignore, SVG header banner and the initial commit.

Strengths

  • Parses arguments for repository name, visibility (public/private), description and the --clone flag
  • Generates starter files from templates: README, LICENSE (MIT/Apache-2.0/GPL-3.0…), .gitignore and assets/header.svg
  • Chains git init, main branch, initial commit and push -u origin main
  • Ships reference docs for license choice, badges and usage examples

Limitations

  • Requires gh to be installed and already authenticated with gh auth login
  • GitHub only — no support for other forges such as GitLab or Bitbucket
  • File generation only happens with --clone, and the repository defaults to public when no visibility is given
When to use it

Use it when kicking off a new project and you want a GitHub repository created and filled with standard starter files in one pass.

When not to use it

Avoid it for existing repositories, non-GitHub forges, or when organizational policy requires repositories to be created manually.

Security analysis

Caution
Quality score82/100

The skill uses Bash, Write, and GitHub CLI for a legitimate repository-creation workflow. There is no obfuscation, destructive command, or credential exfiltration. However, defaulting to public visibility and staging all files before pushing creates a realistic risk of accidental secret or private-code exposure, so it warrants caution.

Findings
  • •Creates repositories as public by default, which can unintentionally expose source code.
  • •Runs `git add .` and pushes to GitHub without an explicit secret scan or verification that `.gitignore` excludes sensitive files before commit/push.
  • •Uses network and git/gh commands that modify remote state; legitimate but powerful.
How this analysis is made

Examples

Public repo with default name
/repo-create my-awesome-project
Private repo with description
/repo-create my-app --private --description "My awesome app"
Create and clone locally
/repo-create my-lib --clone

name: repo-create description: | GitHubリポジトリを新規作成・初期化。ghコマンド使用。 トリガー例: 「リポジトリを作成」「GitHubリポジトリ」「repo-create」「gh repo create」 allowed-tools: Bash, Write, Glob, Grep arguments: auto-detect user-invocable: true

GitHub Repository Creator

GitHubリポジトリを新規作成・初期化します。

前提条件

  • GitHub CLI (gh) がインストール済み
  • gh auth login で認証済み

ワークフロー

1. 引数解析

$ARGUMENTS からリポジトリ名とオプションを特定:

  • repo-create [name] → リポジトリ名
  • --public / --private → 可視性(デフォルト: public)
  • --description / -d → 説明
  • --clone → カレントディレクトリにclone

2. 作成手順

  1. リポジトリ名の決定

    • 引数指定 → 使用
    • 未指定 → カレントディレクトリ名を使用
  2. GitHubリポジトリ作成

    gh repo create [name] --[public|private] --description "[description]"
    
  3. 初期ファイル生成(--clone 指定時)

    詳細は references/ を参照:

    • README-template.md - README.md テンプレート
    • LICENSE-options.md - ライセンス選択ガイド
    • badges.md - バッジ一覧
    • EXAMPLES.md - 使用例
    • header-svg-template.md - ヘッダーSVGテンプレート(変数プレースホルダー付き)

    生成するファイル:

    • README.md - テンプレートをベースに作成
    • .gitignore - 言語自動検出(gh repo create のデフォルト)
    • LICENSE - 選択プロンプト(MIT/Apache-2.0/GPL-3.0等)→ See LICENSE-options.md
    • assets/header.svg - ヘッダー画像(自動生成)→ See header-svg-template.md

    ヘッダー画像生成手順:

    1. リポジトリの内容を分析して適切なカラーマップを選択(AI/ML、Web、バックエンド等)
    2. プロジェクト名の長さに応じてフォントサイズを計算
    3. header-svg-template.md のテンプレートの変数を置換して assets/header.svg に出力
  4. initial commit

    git init
    git branch -M main
    git add .
    git commit -m "Initial commit"
    git push -u origin main
    
  5. 完了メッセージ

    • リポジトリURL
    • 次のステップ

使用例

詳細な使用例は references/EXAMPLES.md を参照。

/repo-create my-awesome-project
/repo-create my-app --private --description "My awesome app"
/repo-create my-lib --clone

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/github-repository-creator-mmh8qqsi' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/github-repository-creator-mmh8qqsi/download' --output '.skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md.part' && mv '.skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md.part' '.skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Bash, Write, Glob, Grep

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md' && test -s '.skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/repo-create' && cp -R '.skill-downloads/github-repository-creator-mmh8qqsi' '.claude/skills/repo-create'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/github-repository-creator-mmh8qqsi'

openskills read 'github-repository-creator-mmh8qqsi'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/github-repository-creator-mmh8qqsi/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills