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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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:
- Primary Language/Framework: (e.g., JavaScript/React, Python/Django, Java/Spring Boot, etc.)
- Project Type: (e.g., web app, API, mobile app, desktop app, library, etc.)
- Additional Technologies: (e.g., database, cloud provider, testing frameworks, etc.)
- Development Style: (strict standards, flexible, specific patterns)
- 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 guidelinestesting.instructions.md- Testing standards and practicesdocumentation.instructions.md- Documentation requirementssecurity.instructions.md- Security best practicesperformance.instructions.md- Performance optimization guidelinescode-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 creationwrite-tests/SKILL.md- Test generationcode-review/SKILL.md- Code review assistancerefactor-code/SKILL.md- Code refactoringgenerate-docs/SKILL.md- Documentation generationdebug-issue/SKILL.md- Debugging assistance
4. .github/agents/ Directory
Always create these 4 agents:
software-engineer.agent.mdarchitect.agent.mdreviewer.agent.mddebugger.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:
- Fetch specific instruction from awesome-copilot docs: https://github.com/github/awesome-copilot/blob/main/docs/README.instructions.md
- 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
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.