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

suggest-awesome-github-copilot-instructions

Skill này làm gì

Công cụ này giúp bạn tìm và cập nhật các hướng dẫn tốt nhất để dùng GitHub Copilot trong dự án. Nó so sánh các hướng dẫn bạn đã có với phiên bản mới nhất trong một kho lưu trữ chính thức, rồi gợi ý cái nào nên cài hoặc cập nhật.

Khi nào nên dùng

  • ✓Khi bắt đầu một dự án mới và muốn thiết lập Copilot.
  • ✓Khi bạn thấy Copilot không đưa ra gợi ý hữu ích.
  • ✓Khi cập nhật dự án và muốn đảm bảo hướng dẫn Copilot luôn mới.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/suggest-awesome-github-copilot-instructions/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/suggest-awesome-github-copilot-instructions/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

“Kiểm tra xem có hướng dẫn Copilot mới nào không, hoặc các hướng dẫn hiện tại có cần cập nhật không.”

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

Cách hoạt động

Công cụ trước tiên kiểm tra các hướng dẫn bạn đã có. Sau đó, nó tải các hướng dẫn mới nhất từ một kho lưu trữ công khai và so sánh với hướng dẫn của bạn. Nó cho biết cái nào là mới, cái nào đã lỗi thời và vì sao.

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.

Suggest Awesome GitHub Copilot Instructions

Analyze current repository context and suggest relevant copilot-instruction files from the GitHub awesome-copilot repository that are not already available in this repository.

Process

  1. Fetch Available Instructions: Extract instruction list and descriptions from awesome-copilot README.instructions.md. Must use #fetch tool.
  2. Scan Local Instructions: Discover existing instruction files in .github/instructions/ folder
  3. Extract Descriptions: Read front matter from local instruction files to get descriptions and applyTo patterns
  4. Fetch Remote Versions: For each local instruction, fetch the corresponding version from awesome-copilot repository using raw GitHub URLs (e.g., https://raw.githubusercontent.com/github/awesome-copilot/main/instructions/<filename>)
  5. Compare Versions: Compare local instruction content with remote versions to identify:
    • Instructions that are up-to-date (exact match)
    • Instructions that are outdated (content differs)
    • Key differences in outdated instructions (description, applyTo patterns, content)
  6. Analyze Context: Review chat history, repository files, and current project needs
  7. Compare Existing: Check against instructions already available in this repository
  8. Match Relevance: Compare available instructions against identified patterns and requirements
  9. Present Options: Display relevant instructions with descriptions, rationale, and availability status including outdated instructions
  10. Validate: Ensure suggested instructions would add value not already covered by existing instructions
  11. Output: Provide structured table with suggestions, descriptions, and links to both awesome-copilot instructions and similar local instructions AWAIT user request to proceed with installation or updates of specific instructions. DO NOT INSTALL OR UPDATE UNLESS DIRECTED TO DO SO.
  12. Download/Update Assets: For requested instructions, automatically:
    • Download new instructions to .github/instructions/ folder
    • Update outdated instructions by replacing with latest version from awesome-copilot
    • Do NOT adjust content of the files
    • Use #fetch tool to download assets, but may use curl using #runInTerminal tool to ensure all content is retrieved
    • Use #todos tool to track progress

Context Analysis Criteria

🔍 Repository Patterns:

  • Programming languages used (.cs, .js, .py, .ts, etc.)
  • Framework indicators (ASP.NET, React, Azure, Next.js, etc.)
  • Project types (web apps, APIs, libraries, tools)
  • Development workflow requirements (testing, CI/CD, deployment)

🗨️ Chat History Context:

  • Recent discussions and pain points
  • Technology-specific questions
  • Coding standards discussions
  • Development workflow requirements

Output Format

Display analysis results in structured table comparing awesome-copilot instructions with existing repository instructions:

Awesome-Copilot Instruction Description Already Installed Similar Local Instruction Suggestion Rationale
blazor.instructions.md Blazor development guidelines ✅ Yes blazor.instructions.md Already covered by existing Blazor instructions
reactjs.instructions.md ReactJS development standards ❌ No None Would enhance React development with established patterns
java.instructions.md Java development best practices ⚠️ Outdated java.instructions.md applyTo pattern differs: remote uses '**/*.java' vs local '*.java' - Update recommended

Local Instructions Discovery Process

  1. List all *.instructions.md files in the instructions/ directory
  2. For each discovered file, read front matter to extract description and applyTo patterns
  3. Build comprehensive inventory of existing instructions with their applicable file patterns
  4. Use this inventory to avoid suggesting duplicates

…

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

Hướng dẫn GitHub Copilot (instructions) là gì?

Đây là các tệp hướng dẫn Copilot cách giúp bạn viết mã, quy định tiêu chuẩn và thực hành tốt nhất cho dự án.

Kho lưu trữ “awesome-copilot” là gì?

Đây là bộ sưu tập chính thức do cộng đồng duy trì, gồm các ví dụ và thực hành tốt nhất cho hướng dẫn GitHub Copilot.

Công cụ có tự cài đặt hướng dẫn không?

Không, nó chỉ gợi ý cập nhật hoặc hướng dẫn mới. Bạn cần yêu cầu nó cài đặt hoặc cập nhật.

Chi tiết

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

Suggest relevant GitHub Copilot instruction files from the awesome-copilot repository based on current repository context and chat history, avoiding duplicates with existing instructions in this repository, and identifying outdated instructions that need updates.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7442
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ự