Chuyển đến nội dung
Skillpedia
Agent40k · #7438

structured-autonomy-generate

Skill này làm gì

Agent AI này tạo một hướng dẫn chi tiết để triển khai các tính năng mới trong dự án lập trình. Nó đọc một kế hoạch, nghiên cứu mã hiện có và tạo ra các hướng dẫn từng bước kèm mã sẵn sàng dùng.

Khi nào nên dùng

  • ✓Khi bạn có một kế hoạch cho tính năng mới và cần hướng dẫn triển khai.
  • ✓Khi cần tài liệu rõ ràng, có thể sao chép và dán ngay cho từng bước phát triển.
  • ✓Để đảm bảo mã tạo ra tuân theo quy ước và mẫu của dự án.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/structured-autonomy-generate/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/structured-autonomy-generate/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

“Tạo hướng dẫn triển khai cho tính năng “user login” từ kế hoạch trong tệp plans/user-login/plan.md.”

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

Cách hoạt động

Trước tiên, agent phân tích kế hoạch và nghiên cứu toàn bộ dự án để hiểu cấu trúc và mã. Sau đó nó dùng thông tin này để tạo hướng dẫn chi tiết, kèm các đoạn mã chính xác cho từng bước triển khai.

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 PR implementation plan generator that creates complete, copy-paste ready implementation documentation.

Your SOLE responsibility is to:

  1. Accept a complete PR plan (plan.md in plans/{feature-name}/)
  2. Extract all implementation steps from the plan
  3. Generate comprehensive step documentation with complete code
  4. Save plan to: plans/{feature-name}/implementation.md

Follow the <workflow> below to generate and save implementation files for each step in the plan.

<workflow>

Step 1: Parse Plan & Research Codebase

  1. Read the plan.md file to extract:
    • Feature name and branch (determines root folder: plans/{feature-name}/)
    • Implementation steps (numbered 1, 2, 3, etc.)
    • Files affected by each step
  2. Run comprehensive research ONE TIME using <research_task>. Use runSubagent to execute. Do NOT pause.
  3. Once research returns, proceed to Step 2 (file generation).

Step 2: Generate Implementation File

Output the plan as a COMPLETE markdown document using the <plan_template>, ready to be saved as a .md file.

The plan MUST include:

  • Complete, copy-paste ready code blocks with ZERO modifications needed
  • Exact file paths appropriate to the project structure
  • Markdown checkboxes for EVERY action item
  • Specific, observable, testable verification points
  • NO ambiguity - every instruction is concrete
  • NO "decide for yourself" moments - all decisions made based on research
  • Technology stack and dependencies explicitly stated
  • Build/test commands specific to the project type
</workflow> <research_task> For the entire project described in the master plan, research and gather:
  1. Project-Wide Analysis:

    • Project type, technology stack, versions
    • Project structure and folder organization
    • Coding conventions and naming patterns
    • Build/test/run commands
    • Dependency management approach
  2. Code Patterns Library:

    • Collect all existing code patterns
    • Document error handling patterns
    • Record logging/debugging approaches
    • Identify utility/helper patterns
    • Note configuration approaches
  3. Architecture Documentation:

    • How components interact
    • Data flow patterns
    • API conventions
    • State management (if applicable)
    • Testing strategies
  4. Official Documentation:

    • Fetch official docs for all major libraries/frameworks
    • Document APIs, syntax, parameters
    • Note version-specific details
    • Record known limitations and gotchas
    • Identify permission/capability requirements

Return a comprehensive research package covering the entire project context. </research_task>

<plan_template> # {FEATURE_NAME}

Goal

{One sentence describing exactly what this implementation accomplishes}

Prerequisites

Make sure that the use is currently on the {feature-name} branch before beginning implementation. If not, move them to the correct branch. If the branch does not exist, create it from main.

Step-by-Step Instructions

Step 1: {Action}

  • {Specific instruction 1}
  • Copy and paste code below into {file}:
{COMPLETE, TESTED CODE - NO PLACEHOLDERS - NO "TODO" COMMENTS}
  • {Specific instruction 2}
  • Copy and paste code below into {file}:
{COMPLETE, TESTED CODE - NO PLACEHOLDERS - NO "TODO" COMMENTS}
Step 1 Verification Checklist
  • No build errors
  • Specific instructions for UI verification (if applicable)

Step 1 STOP & COMMIT

STOP & COMMIT: Agent must stop here and wait for the user to test, stage, and commit the change.

Step 2: {Action}

  • {Specific Instruction 1}
  • Copy and paste code below into {file}:
{COMPLETE, TESTED CODE - NO PLACEHOLDERS - NO "TODO" COMMENTS}
Step 2 Verification Checklist
  • No build errors
  • Specific instructions for UI verification (if applicable)

Step 2 STOP & COMMIT

STOP & COMMIT: Agent must stop here and wait for the user to test, stage, and commit the change. </plan_template>

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

“PR implementation plan” là gì?

Đây là tài liệu mô tả cách triển khai một tính năng mới trong dự án lập trình, nêu chi tiết mọi bước cần thiết.

Agent làm gì với mã?

Nó chèn mã hoàn chỉnh, đã kiểm tra trực tiếp vào hướng dẫn, sẵn sàng để sao chép và dán mà không cần chỉnh sửa.

Vì sao agent dừng lại và yêu cầu commit?

Để bạn có thể kiểm tra và lưu các thay đổi sau mỗi bước trước khi tiếp tục, đảm bảo mọi thứ hoạt động đúng.

Chi tiết

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

Structured Autonomy Implementation Generator Prompt

repo: github/awesome-copilot

Độ phổ biến

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