github-setup

Generate GitHub configuration files and templates under the .github directory.

2|Updated Apr 6, 2017
One-click install
npx skills add https://github.com/shiiman/dotfiles --skill github-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-setup
Source: https://github.com/shiiman/dotfiles/tree/main/ai/codex/skills/github-setup
Command: npx skills add https://github.com/shiiman/dotfiles --skill github-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automatically generates all necessary GitHub configuration files and templates under the .github directory for a project, enabling fast initial setup and consistent contribution processes.

Core Features & Use Cases

  • Generate templates: .github/ISSUE_TEMPLATE/config.yml, .github/ISSUE_TEMPLATE/bug-report.yml, .github/ISSUE_TEMPLATE/feature-request.yml, .github/ISSUE_TEMPLATE/improvement.yml
  • Create PR and Copilot templates: .github/pull_request_template.md, .github/copilot-instructions.md
  • Establish governance artifacts: .github/labels.yml, .github/labeler.yml
  • Deploy workflows: .github/workflows/sync-labels.yml, .github/workflows/labeler.yml
  • Use cases include bootstrapping a new repository, enforcing consistent GitHub configuration across teams, and migrating existing projects to standardized templates and rules.

Quick Start

プロジェクトのルートで GitHub 設定を自動生成するスクリプトを実行してください。

Frequently Asked Questions about github-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-configure GitHub issue templates and workflows for a new repository?

You can auto-configure GitHub templates by running a generation script at your project root to populate the .github directory. This creates issue templates, PR templates, labels, and labeler workflows to standardize your contribution processes automatically.

What GitHub configuration files do I need to standardize pull requests and issues?

Standardizing pull requests and issues requires configuration files under the .github directory, including bug-report.yml, feature-request.yml, pull_request_template.md, labels.yml, and labeler.yml. These templates enforce consistent contribution processes across your team.

Can I add GitHub Copilot instructions and labeler rules to an existing repository?

Yes, you can add Copilot instructions and labeler rules to an existing repository. The automation generates copilot-instructions.md, labels.yml, and labeler.yml, migrating your current project to standardized templates and governance rules without breaking existing structures.

Does the GitHub setup automation support custom workflows for syncing labels?

The GitHub setup automation deploys workflow files including sync-labels.yml and labeler.yml. These workflows automate label synchronization and automatic issue labeling, enforcing governance artifacts directly within your repository's CI/CD pipeline.

What is the best way to bootstrap GitHub labels and PR templates across multiple projects?

The best way to bootstrap GitHub labels and PR templates across projects is using automated generation to populate the .github directory. This enforces consistent configuration, creating governance artifacts and contribution templates quickly for new or existing repositories.