Chuyển đến nội dung
Skillpedia
Lập trình chung40k · #7228

github-copilot-starter

Skill này làm gì

Công cụ này thiết lập GitHub Copilot cho dự án của bạn. Nó tạo các file hướng dẫn và tổ chức để giúp Copilot hiểu và tuân theo quy tắc của dự án, như ngôn ngữ lập trình và phong cách code.

Khi nào nên dùng

  • ✓Khi bắt đầu một dự án lập trình mới.
  • ✓Khi bạn muốn GitHub Copilot tuân theo các quy tắc riêng của dự án.
  • ✓Để tổ chức các hướng dẫn lập trình cho cả đội.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/github-copilot-starter/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập GitHub Copilot cho một dự án web Python Django dùng PostgreSQL và Pytest để kiểm thử. Phong cách phát triển linh hoạt.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ hỏi về công nghệ của dự án, rồi tạo các file cấu hình như “.github/copilot-instructions.md” và các file khác trong thư mục “.github/instructions/” và “.github/skills/”. Nếu bạn dùng GitHub Actions, nó cũng thiết lập một file workflow.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

…

Câu hỏi thường gặp

GitHub Copilot là gì?

Đó là công cụ AI gợi ý code khi bạn gõ, giúp bạn lập trình nhanh hơn.

Tại sao tôi cần cấu hình Copilot?

Cấu hình giúp Copilot hiểu quy tắc và phong cách của dự án, từ đó đưa ra gợi ý chính xác và hữu ích hơn.

“Agent” và “skill” là gì?

Agent là các hồ sơ AI (như “kỹ sư phần mềm”), còn skill là các tác vụ cụ thể (như “viết kiểm thử”) giúp Copilot thực hiện những công việc phức tạp hơn.

Chi tiết

Mô tả gốc của tác giả

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

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7228
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự