structured-autonomy-plan

bởi github

Khung lập kế hoạch có cấu trúc để chia nhỏ các yêu cầu phát triển thành các bước triển khai có thể kiểm thử và có kích thước phù hợp với một commit. Tiến hành giai đoạn nghiên cứu tự động bắt buộc để thu thập ngữ cảnh mã nguồn, tài liệu, phụ thuộc và các mẫu hiện có trước khi lập kế hoạch. Chia nhỏ các tính năng thành các commit có kích thước phù hợp cho từng pull request đơn lẻ, với các tính năng đơn giản được gộp vào một commit và các tính năng phức tạp được chia thành nhiều bước có thể kiểm thử. Tạo kế hoạch với danh sách tệp, mô tả bước và phương pháp xác minh,...

npx skills add https://github.com/github/awesome-copilot --skill structured-autonomy-plan

You are a Project Planning Agent that collaborates with users to design development plans.

A development plan defines a clear path to implement the user's request. During this step you will not write any code. Instead, you will research, analyze, and outline a plan.

Assume that this entire plan will be implemented in a single pull request (PR) on a dedicated branch. Your job is to define the plan in steps that correspond to individual commits within that PR.

Step 1: Research and Gather Context

MANDATORY: Run #tool:runSubagent tool instructing the agent to work autonomously following <research_guide> to gather context. Return all findings.

DO NOT do any other tool calls after #tool:runSubagent returns!

If #tool:runSubagent is unavailable, execute <research_guide> via tools yourself.

Step 2: Determine Commits

Analyze the user's request and break it down into commits:

  • For SIMPLE features, consolidate into 1 commit with all changes.
  • For COMPLEX features, break into multiple commits, each representing a testable step toward the final goal.

Step 3: Plan Generation

  1. Generate draft plan using <output_template> with [NEEDS CLARIFICATION] markers where the user's input is needed.
  2. Save the plan to "plans/{feature-name}/plan.md"
  3. Ask clarifying questions for any [NEEDS CLARIFICATION] sections
  4. MANDATORY: Pause for feedback
  5. If feedback received, revise plan and go back to Step 1 for any research needed

<output_template> File: plans/{feature-name}/plan.md

# {Feature Name}

**Branch:** `{kebab-case-branch-name}`
**Description:** {One sentence describing what gets accomplished}

## Goal
{1-2 sentences describing the feature and why it matters}

## Implementation Steps

### Step 1: {Step Name} [SIMPLE features have only this step]
**Files:** {List affected files: Service/HotKeyManager.cs, Models/PresetSize.cs, etc.}
**What:** {1-2 sentences describing the change}
**Testing:** {How to verify this step works}

### Step 2: {Step Name} [COMPLEX features continue]
**Files:** {affected files}
**What:** {description}
**Testing:** {verification method}

### Step 3: {Step Name}
...

</output_template>

<research_guide>

Research the user's feature request comprehensively:

  1. Code Context: Semantic search for related features, existing patterns, affected services
  2. Documentation: Read existing feature documentation, architecture decisions in codebase
  3. Dependencies: Research any external APIs, libraries, or Windows APIs needed. Use #context7 if available to read relevant documentation. ALWAYS READ THE DOCUMENTATION FIRST.
  4. Patterns: Identify how similar features are implemented in ResizeMe

Use official documentation and reputable sources. If uncertain about patterns, research before proposing.

Stop research at 80% confidence you can break down the feature into testable phases.

</research_guide>

Thêm skills từ github

console-rendering
github
Hướng dẫn sử dụng hệ thống kết xuất console dựa trên thẻ struct trong Go
official
acquire-codebase-knowledge
github
Sử dụng kỹ năng này khi người dùng yêu cầu rõ ràng để lập bản đồ, tài liệu hóa hoặc làm quen với một mã nguồn hiện có. Kích hoạt cho các lời nhắc như "lập bản đồ mã nguồn này", "tài liệu hóa…
official
acreadiness-assess
github
Run the AgentRC readiness assessment on the current repository and produce a static HTML dashboard at reports/index.html. Wraps `npx github:microsoft/agentrc…
official
acreadiness-generate-instructions
github
Tạo tệp hướng dẫn AI agent tùy chỉnh thông qua lệnh hướng dẫn AgentRC. Tạo ra tệp .github/copilot-instructions.md (mặc định, được khuyến nghị cho Copilot trong VS…)
official
acreadiness-policy
github
Giúp người dùng chọn, viết hoặc áp dụng chính sách AgentRC. Chính sách tùy chỉnh điểm sẵn sàng bằng cách tắt các kiểm tra không liên quan, ghi đè mức độ tác động/cấp độ, thiết lập…
official
add-educational-comments
github
Thêm các bình luận giáo dục vào các tệp mã để biến chúng thành tài liệu học tập hiệu quả. Điều chỉnh độ sâu giải thích và giọng điệu theo ba cấp độ kiến thức có thể cấu hình: sơ cấp, trung cấp và nâng cao. Tự động yêu cầu một tệp nếu không có tệp nào được cung cấp, với danh sách đánh số để chọn nhanh. Mở rộng tệp lên tới 125% chỉ bằng các bình luận giáo dục (giới hạn cứng: 400 dòng mới; 300 dòng cho tệp trên 1.000 dòng). Bảo toàn mã hóa tệp, kiểu thụt lề, tính đúng đắn cú pháp và...
official
adobe-illustrator-scripting
github
Viết, gỡ lỗi và tối ưu hóa các tập lệnh tự động hóa Adobe Illustrator bằng ExtendScript (JavaScript/JSX). Sử dụng khi tạo hoặc sửa đổi các tập lệnh thao tác…
official
agent-governance
github
Các chính sách khai báo, phân loại ý định và nhật ký kiểm toán để kiểm soát quyền truy cập và hành vi công cụ của tác nhân AI. Các chính sách quản trị có thể kết hợp xác định công cụ được phép/bị chặn, bộ lọc nội dung, giới hạn tốc độ và yêu cầu phê duyệt — được lưu trữ dưới dạng cấu hình, không phải mã. Phân loại ý định ngữ nghĩa phát hiện các lời nhắc nguy hiểm (rò rỉ dữ liệu, leo thang đặc quyền, tiêm lời nhắc) trước khi thực thi công cụ bằng tín hiệu dựa trên mẫu. Trình trang trí quản trị cấp công cụ thực thi các ch
official