rpi-implement

bởi microsoft

Thực thi các giai đoạn triển khai đã được phê duyệt, cập nhật các tạo tác theo dõi, và bàn giao kết quả sẵn sàng để xem xét.

npx skills add https://github.com/microsoft/hve-core --skill rpi-implement

RPI Implement

Goal

Deliver the approved outcome by following the current task-centered plan. Keep the plan current as new information comes to light, check off work as it completes, and keep a condensed changes log of the behavioral and functional changes made, so the caller can trust what was done and what remains.

Flow

  1. Resolve the exact plan at .copilot-tracking/plans/{{YYYY-MM-DD}}/{{task_slug}}-plan.md and the declared invocation scope: the full plan, one Pxx phase, or one Pxx-Txx task. Read each in-scope task's Goals:, Requirements:, Details:, Guidance: when present, References:, and Dependencies: blocks, follow the linked references, and check the plan's decision and risk tables for rows that name the task. The declared scope limits completion claims and active work.
    • Before source changes, resolve rpi-plan from the planner's supplied root or by stable skill name and execute its scripts/Get-PlanAssessmentHash.ps1 on the saved plan under references/planning.md's deterministic assessed-content identity contract. Compare the returned projection version, exact projection and SHA-256 against actual Complete full assessment evidence or a Complete targeted revision-closure chain rooted in a Complete full assessment, including an eligible independently authored human assessment when applicable. Missing helper/reference, failed invocation or unverifiable identity blocks implementation; never recreate the projection or trust a reported match without recomputing. Verify every adjacent hash and delta, closed blocking findings and explicit residual-risk dispositions. On resume, checked markers and implementation pointers do not invalidate the assessed candidate; edits to Goals, Requirements, Details, References, decisions, diagrams or other assessed content do. Missing, unknown, infrastructure-only, stale-hash, or substantive Partial/Blocked evidence cannot satisfy readiness; return it to rpi-plan for reconciliation and revision-bound closure when warranted, without starting another critique here. Approval or an exhausted retry count alone never authorizes implementation, including standalone use.
  2. Create or continue .copilot-tracking/changes/{{YYYY-MM-DD}}/{{task_slug}}-changes.md using templates/changes-log.md. Record each completed item under a descriptive heading tied to its plan marker, describing the behavior or functionality that changed rather than the edits made.
  3. Before substantive source edits, bring the plan checklist, changes record, and any related state tracking artifacts current, then send the implementation opening defined in references/implementation.md.
  4. Start with the first unchecked dependency-ready plan item in declared scope and work through eligible items in plan order. When a task's Requirements: hold and its changes-record entry exists, check the Pxx-Txx marker immediately. Check a Pxx phase only when it is in scope and every task in it is checked. Do not check markers outside declared scope.
  5. When new information comes to light, classify it using references/implementation.md: ordinary local judgment, an implementation-only annotation, follow-up-only work outside the active plan, or a change to assessed content that needs planning closure and possibly a user decision.
    • When completed work creates something a later task needs that the plan does not already name, such as a class, API, contract, utility, fixture, or path, add a Guidance: block immediately after that task's Details: with the concrete pointer. This needs no user decision.
    • Keep the Phase Checklist diagrams current when a plan update adds, merges, splits, or removes phases or tasks.
  6. Ask for the smallest decision-critical user input only when available evidence cannot support a responsible user-owned decision. Persist the result in the plan and the changes record. If assessed content must change, including requirements, scope, architecture, capability, safety, dependencies or evidence, pause affected dependent work and return the current evidence to planning for revision-bound closure. A decision is required only for an unresolved significant or divergent choice; an evidence-backed clarification may close without another user question. The confirmed user decision remains authoritative; do not run a critique from implementation or replay an unchanged candidate.
  7. Run the checks the task's Requirements: or Details: name and record each result in the changes record as passed, failed, skipped, or unavailable with its reason. Validation alone does not resume paused dependent work.
  8. When declared scope finishes, bring the changes record, blockers, completion markers, remaining work, and validation state current. Report active plan markers outside the scope as remaining work. Report full-plan completion only when the full plan was declared and every marker has completion evidence.
  9. Before handing a full-plan or review-ready scope to Review, reconcile plan markers and task-local context, completed-work entries, handoff prose, blockers, remaining work, follow-up items, and validation state.
  10. Return the current implementation result to the caller using the return contract below.

Inputs

  • Approved plan path or task context
  • Optional declared scope: full plan, exact Pxx phase, or exact Pxx-Txx task
  • Task-local plan context, supplied evidence, latest critique disposition, and prior changes record when available

Success criteria

  • The implementation follows the approved plan or records a material discovery and its current state explicitly.
  • The first unchecked dependency-ready item in declared scope starts first, and later dependent work does not bypass plan order.
  • Completed Pxx-Txx tasks are checked immediately after their changes-record entry exists. A Pxx phase is checked immediately after every task in that in-scope phase is checked.
  • A bounded Pxx or Pxx-Txx result confirms only its declared scope and reports remaining active-plan markers without claiming full-plan completion.
  • Each changes-record entry is a condensed description of the behavior or functionality that changed, tied to its plan marker, with affected files and validation. Entries use descriptive headings, with no second per-entry identity scheme.
  • New information is classified as local judgment, implementation-only annotation, follow-up-only work, or an assessed-content change that returns to planning; unresolved significant or divergent choices also require a user decision.
  • A later task that depends on something earlier work created receives a Guidance: block naming it when the plan did not already do so.
  • Affected dependent work resumes after the significant or divergent user decision is reflected in the current plan and any changed assessment boundary is closed by planning. The same candidate's critique is not repeated.
  • Every check the plan names has a recorded result or an explicit skip reason.
  • A later invocation may implement applicable Review findings as ordinary work without a correction run type or mandatory second Review.
  • Plan markers and task-local context, changes entries, handoff prose, blockers, remaining work, follow-up items, and validation state are reconciled before Review.
  • The caller receives the current execution status, evidence paths, current plan state, validation coverage, blockers, remaining work, and follow-up items.

Constraints

  • Use references/implementation.md for the changes-record contract, plan-update rules, material-discovery handling, questions, resumption, and rendered conversation mechanics.
  • Do not expand active scope. Place unrelated work in an explicit follow-up item.
  • Do not use line numbers or separate legacy log artifacts.
  • In the plan and changes record, wrap code, commands, and symbols in backticks and link existing files and folders with the workspace-relative path as the link text and a path relative to the artifact file as the destination. Keep a not-yet-created path in backticks.
  • Keep .copilot-tracking/ references out of production code, code comments, documentation strings, and commit messages.

Conversation guidance

  • Follow the detailed opening, continual-update, pre-question, and closeout protocol in references/implementation.md. That reference is the authority for the rendered message templates.
  • Persist canonical state before the opening, any material update, decision question, handoff, or closeout. Chat is a concise projection of that state, never a second history or delivery log.
  • At closeout, report implementation execution status separately from review readiness. Qualify every status by the declared scope and list remaining active-plan markers so bounded completion is not mistaken for task completion.
  • Advise /compact only when stale tool output, superseded reasoning, or completed task detail outweighs useful current context and the plan and changes record are current. When advising it, name the state and artifact pointers to retain. Otherwise omit compaction guidance.
  • In a standalone invocation, do not invoke rpi-review. State /rpi-review only when review prerequisites are met. In an active confirmed automatic RPI Agent context, return current artifacts and scope facts to the parent for eligible continuation.
  • For every relevant existing artifact, use the two-cell row | [actual/workspace-relative/path.ext](actual/workspace-relative/path.ext) | Short description |, using that artifact's actual workspace-relative path as both link text and destination; omit unavailable files and render the table immediately before the final ## Next Steps section. End with ## Next Steps: state the exact eligible user command, active-parent action, blocker-clearing action, or that no user action is required. When compaction is warranted, tell the user to run /compact before the next RPI command; otherwise omit compaction guidance.

Stop rules

  • Stop as Blocked when the approved plan, required details, or a dependency prevents credible progress.
  • Stop as Blocked when a decision-critical user answer needed for a major plan change, blocker, or workaround is unavailable.
  • Pause affected dependent work only when a significant or divergent decision changes assessed requirements, scope, architecture, dependency model, or evidence boundary. Return current artifacts to planning when needed, preserve the existing critique as historical evidence, and resume after the user decision and plan state are current.
  • Stop after a caller-bounded Pxx phase or Pxx-Txx task once its declared-scope plan state and changes evidence are current. Do not require or imply completion of work outside that scope.

Return to Caller

Return the changes-record path, implementation execution status, completed and remaining Pxx or Pxx-Txx items, validation coverage, blockers, current plan updates, follow-up items, and review readiness or the explicit reason affected work awaits a user decision. Follow the Conversation guidance section for standalone or parent-orchestrated continuation, conditional compaction advice, the linked artifact table, and final next steps.

Thêm skills từ microsoft

oss-growth
microsoft
Cá tính tăng trưởng OSS
agent-framework-azure-ai-py
microsoft
Xây dựng các tác nhân Azure AI Foundry bằng SDK Python của Microsoft Agent Framework (agent-framework-azure-ai). Sử dụng khi tạo các tác nhân bền vững với AzureAIAgentsProvider, sử dụng các công cụ được lưu trữ (trình thông dịch mã, tìm kiếm tệp, tìm kiếm web), tích hợp máy chủ MCP, quản lý chuỗi hội thoại hoặc triển khai phản hồi phát trực tuyến. Bao gồm các công cụ hàm, đầu ra có cấu trúc và các tác nhân đa công cụ.
development
airunway-aks-setup
microsoft
Thiết lập AI Runway trên AKS — từ cụm trống đến mô hình đang chạy. Bao gồm xác minh cụm, cài đặt controller, đánh giá GPU, thiết lập nhà cung cấp và triển khai đầu tiên. KHI NÀO: "thiết lập AI Runway", "onboard cụm AKS", "cài đặt AI Runway", "thiết lập airunway", "triển khai mô hình lên AKS", "suy luận GPU trên AKS", "thiết lập KAITO trên AKS", "chạy LLM trên AKS", "vLLM trên AKS", "thiết lập phục vụ mô hình trên AKS", "AI Runway controller".
devops
appinsights-instrumentation
microsoft
Hướng dẫn để instrument các ứng dụng web với Azure Application Insights. Cung cấp các mẫu telemetry, thiết lập SDK, và tài liệu tham khảo cấu hình. KHI NÀO: cách instrument ứng dụng, App Insights SDK, các mẫu telemetry, App Insights là gì, hướng dẫn Application Insights, ví dụ instrumentation, các phương pháp tốt nhất APM.
devops
applicationinsights-web-ts
microsoft
Instrument các ứng dụng trình duyệt/web bằng SDK JavaScript Application Insights (@microsoft/applicationinsights-web). Dùng cho Real User Monitoring (RUM) — lượt xem trang, nhấp chuột, phụ thuộc AJAX/fetch, ngoại lệ, sự kiện tùy chỉnh và dấu vết tác nhân GenAI phía trình duyệt tương quan với dấu vết OpenTelemetry phía backend. Bao gồm thiết lập SDK Loader Script và npm, tiện ích mở rộng framework (React, React Native, Angular), Click Analytics, trình khởi tạo telemetry và quy ước ngữ nghĩa OTel GenAI cho các span tác nhân/công cụ/mô hình phát ra từ trình duyệt.
devops
azure-ai-anomalydetector-java
microsoft
Xây dựng ứng dụng phát hiện bất thường với Azure AI Anomaly Detector SDK cho Java. Sử dụng khi triển khai phát hiện bất thường đơn biến/đa biến, phân tích chuỗi thời gian hoặc giám sát hỗ trợ AI.
development
azure-ai-language-conversations-py
microsoft
Triển khai Conversational Language Understanding (CLU) bằng SDK Python azure-ai-language-conversations. Sử dụng khi làm việc với ConversationAnalysisClient để phân tích ý định và thực thể trong hội thoại, xây dựng tính năng NLP, hoặc tích hợp hiểu ngôn ngữ vào ứng dụng.
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 cho Python. Dùng cho không gian làm việc ML, công việc, mô hình, tập dữ liệu, tính toán và quy trình. Kích hoạt: "azure-ai-ml", "MLClient", "không gian làm việc", "đăng ký mô hình", "công việc đào tạo", "tập dữ liệu".
development