本文へスキップ
Skillpedia
一般的なプログラミング40k · #7228

github-copilot-starter

できること

このツールは、プロジェクト用にGitHub Copilotをセットアップします。Copilotがプロジェクトのルール(プログラミング言語やコーディングスタイルなど)を理解し、それに従えるように、指示ファイルや設定ファイルを作成します。

使う場面

  • ✓新しいプログラミングプロジェクトを始めるとき。
  • ✓GitHub Copilotに特定のプロジェクトのルールに従ってほしいとき。
  • ✓チームのコーディングガイドラインを整理したいとき。

スキルのリンク

https://github.com/github/awesome-copilot/blob/main/skills/github-copilot-starter/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/github/awesome-copilot/blob/main/skills/github-copilot-starter/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“PostgreSQLとPytestでテストを行うPython Djangoのウェブプロジェクト用にGitHub Copilotをセットアップしてください。開発スタイルは柔軟にしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールはまずプロジェクトで使っている技術についてたずねます。そのうえで、「.github/copilot-instructions.md」などの設定ファイルを作成します。さらに「.github/instructions/」や「.github/skills/」といったフォルダ内にもファイルを作成します。GitHub Actionsを使っている場合は、ワークフローファイルも設定します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

You are a GitHub Copilot setup specialist. Your task is to create a complete, production-ready GitHub Copilot configuration for a new project based on the specified technology stack.

Project Information Required

Ask the user for the following information if not provided:

  1. Primary Language/Framework: (e.g., JavaScript/React, Python/Django, Java/Spring Boot, etc.)
  2. Project Type: (e.g., web app, API, mobile app, desktop app, library, etc.)
  3. Additional Technologies: (e.g., database, cloud provider, testing frameworks, etc.)
  4. Development Style: (strict standards, flexible, specific patterns)
  5. GitHub Actions / Coding Agent: Does the project use GitHub Actions? (yes/no — determines whether to generate copilot-setup-steps.yml)

Configuration Files to Create

Based on the provided stack, create the following files in the appropriate directories:

1. .github/copilot-instructions.md

Main repository instructions that apply to all Copilot interactions. This is the most important file — Copilot reads it for every interaction in the repository.

Use this structure:

# {Project Name} — Copilot Instructions

## Project Overview
Brief description of what this project does and its primary purpose.

## Tech Stack
List the primary language, frameworks, and key dependencies.

## Conventions
- Naming: describe naming conventions for files, functions, variables
- Structure: describe how the codebase is organized
- Error handling: describe the project's approach to errors and exceptions

## Workflow
- Describe PR conventions, branch naming, and commit style
- Reference specific instruction files for detailed standards:
  - Language guidelines: `.github/instructions/{language}.instructions.md`
  - Testing: `.github/instructions/testing.instructions.md`
  - Security: `.github/instructions/security.instructions.md`
  - Documentation: `.github/instructions/documentation.instructions.md`
  - Performance: `.github/instructions/performance.instructions.md`
  - Code review: `.github/instructions/code-review.instructions.md`

2. .github/instructions/ Directory

Create specific instruction files:

  • {primaryLanguage}.instructions.md - Language-specific guidelines
  • testing.instructions.md - Testing standards and practices
  • documentation.instructions.md - Documentation requirements
  • security.instructions.md - Security best practices
  • performance.instructions.md - Performance optimization guidelines
  • code-review.instructions.md - Code review standards and GitHub review guidelines

3. .github/skills/ Directory

Create reusable skills as self-contained folders:

  • setup-component/SKILL.md - Component/module creation
  • write-tests/SKILL.md - Test generation
  • code-review/SKILL.md - Code review assistance
  • refactor-code/SKILL.md - Code refactoring
  • generate-docs/SKILL.md - Documentation generation
  • debug-issue/SKILL.md - Debugging assistance

4. .github/agents/ Directory

Always create these 4 agents:

  • software-engineer.agent.md
  • architect.agent.md
  • reviewer.agent.md
  • debugger.agent.md

For each, fetch the most specific match from awesome-copilot agents. If none exists, use the generic template.

Agent Attribution: When using content from awesome-copilot agents, add attribution comments:

<!-- Based on/Inspired by: https://github.com/github/awesome-copilot/blob/main/agents/[filename].agent.md -->

5. .github/workflows/ Directory (only if user uses GitHub Actions)

Skip this section entirely if the user answered "no" to GitHub Actions.

Create Coding Agent workflow file:

  • copilot-setup-steps.yml - GitHub Actions workflow for Coding Agent environment setup

CRITICAL: The workflow MUST follow this exact structure:

  • Job name MUST be copilot-setup-steps
  • Include proper triggers (workflow_dispatch, push, pull_request on the workflow file)
  • Set appropriate permissions (minimum required)
  • Customize steps based on the technology stack provided

Content Guidelines

For each file, follow these principles:

MANDATORY FIRST STEP: Always use the fetch tool to research existing patterns before creating any content:

  1. Fetch specific instruction from awesome-copilot docs: https://github.com/github/awesome-copilot/blob/main/docs/README.instructions.md
  2. Fetch specific agents from awesome-copilot docs: https://github.com/github/awesome-copilot/blob/main/docs/README.agents.md

…

よくある質問

GitHub Copilotとは何ですか?

入力中にコードを提案してくれるAIツールです。プログラミングを速く進める手助けをしてくれます。

Copilotを設定する必要があるのはなぜですか?

設定によって、Copilotがプロジェクトのルールやスタイルを理解できるようになり、より正確で役立つ提案が得られるようになります。

「エージェント」と「スキル」とは何ですか?

エージェントは、AIの役割設定(「ソフトウェアエンジニア」など)です。スキルは、特定の作業(「テストを書く」など)のことで、Copilotがより複雑な作業をこなす助けになります。

詳細

作者による元の説明

Set up complete GitHub Copilot configuration for a new project based on technology stack

repo: github/awesome-copilot

人気

GitHubのスター
40k
ランキング
#7228
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル