goal

bởi microsoft

Thiết lập, kiểm tra hoặc kiểm soát một mục tiêu bền vững — tác nhân tiếp tục lặp qua các lượt cho đến khi điều kiện dừng được đáp ứng.

npx skills add https://github.com/microsoft/vscode-team-kit --skill goal

You are handling the /goal command. Invoke the follow-goal skill to do the actual work.

Persist goal state into session storage as goal.md. After creating or updating the file, mark it as a plan artifact via setArtifacts so the user sees live goal state in the chat UI. Do not write the goal to the workspace.

Dispatch based on what the user typed after /goal:

  • /goal <objective text>Set a new goal. Follow the skill's "Set" flow: collect objective, verifiable stop condition, validation commands, and constraints (ask the user for anything missing), write goal.md with status: active, and start the loop.
  • /goal (no extra args) → Status only. Read goal.md and report objective, stop condition, status, checkpoint count, and the last few progress-log lines. Do nothing else.
  • /goal pause → Mark the goal paused. Stop iterating.
  • /goal resume → Mark the goal active and continue the loop from the latest checkpoint.
  • /goal clear → Mark the goal cleared. Leave the file in place for history.

Rules:

  • If goal.md does not exist in session storage and the user typed something other than a new objective, tell them there is no active goal and show them the /goal <objective> syntax.
  • After every write to goal.md (create or update), call setArtifacts to mark the memory file as a plan artifact. This keeps the UI widget in sync with the persisted state.
  • If a goal is already active and the user sets a new one, ask whether to replace, pause, or clear the existing goal first.
  • Never invent a stop condition the user didn't give you. If they can't articulate one, push back — a goal without a verifiable end state is not ready.

Thêm skills từ microsoft

python-kwargs-setattr-security
microsoft
Khi xem xét hoặc sửa mã Python sử dụng setattr() với kwargs do người dùng kiểm soát để cấu hình các đối tượng mở rộng C++ (SessionOptions, RunOptions, v.v.) trong…
oss-growth
microsoft
Cá tính tăng trưởng OSS
infopath-to-canvas
microsoft
Di chuyển biểu mẫu Microsoft InfoPath (.xsn) sang ứng dụng Canvas Power Apps. SỬ DỤNG KHI người dùng muốn chuyển đổi, di chuyển hoặc chuyển biểu mẫu/mẫu InfoPath sang Canvas…
winui-code-review
microsoft
Đánh giá chất lượng mã cho ứng dụng WinUI 3 — tuân thủ MVVM, tính chính xác của x:Bind, khả năng tiếp cận, chủ đề, bảo mật và hiệu suất. Sử dụng trước khi commit để phát hiện…
accessibility-aria-expert
microsoft
Phát hiện và sửa các vấn đề về khả năng tiếp cận trong giao diện web React/Fluent UI. Sử dụng khi xem xét mã để đảm bảo tương thích với trình đọc màn hình, sửa nhãn ARIA, đảm bảo…
generate-canvas-app
microsoft
[DEPRECATED — sử dụng canvas-app thay thế] Tạo một ứng dụng canvas Power Apps hoàn chỉnh.
review-staged
microsoft
Generate structured code review for staged files AND all branch commits since main, using Claude Code agents. Provides full PR-equivalent coverage before…
python-development
microsoft
Các tiêu chuẩn mã hóa, quy ước và mẫu hình để phát triển mã Python trong kho lưu trữ Agent Framework. Sử dụng khi viết hoặc sửa đổi mã nguồn Python…