Chuyển đến nội dung
Skillpedia
Email và tin nhắn41k · #6963

working-with-task-comments

Skill này làm gì

Skill này dạy agent cách tìm và sử dụng các bình luận mà mọi người để lại trên một tác vụ PostHog Desktop. Skill dành cho các nhóm xem xét công việc bằng cách để lại ghi chú trên tác vụ, tệp hoặc canvas.

Khi nào nên dùng

  • ✓Khi bạn nhắc đến bình luận hoặc phản hồi mà bạn đã để lại trên một tác vụ PostHog hoặc các sản phẩm của nó.
  • ✓Khi bạn muốn agent hành động theo các ghi chú chưa giải quyết trên canvas hoặc sản phẩm.
  • ✓Khi bạn yêu cầu agent kiểm tra các phản hồi cho bình luận trong PostHog Desktop.

Liên kết skill

https://github.com/PostHog/posthog/blob/master/products/tasks/skills/working-with-task-comments/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/PostHog/posthog/blob/master/products/tasks/skills/working-with-task-comments/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

“Hãy xem các bình luận chưa giải quyết trên tác vụ của tôi và thực hiện những thay đổi mà mọi người đã yêu cầu.”

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

Cách hoạt động

Agent dùng công cụ exec của PostHog để tìm các công cụ bình luận, rồi liệt kê những bình luận khớp với tác vụ, sản phẩm hoặc canvas. Nó đọc từng chuỗi trước khi hành động.

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.

Working with task comments

Use the canonical PostHog MCP tool posthog:exec for every task-comment operation. A client or harness may render that canonical name differently. tasks-comments-list and the related names are inner tools, not separately registered MCP tools.

Do not conclude that comments are unavailable because a client-specific tool name differs from posthog:exec, or because there is no top-level posthog:tasks-comments-list tool. Do not use MCP resource-listing tools: comments are inner tools behind exec, not MCP resources.

Discover the inner tools

Call posthog:exec with:

{ "command": "search ^(tasks-(artifacts-list|comments-(list|retrieve))|canvas-comments-(list|retrieve))$" }

The expected inner tools are:

Tool Scope
tasks-artifacts-list Artifacts and canvases of the current task
tasks-comments-list Roots on the current task, its artifacts, and canvas roots it wrote
tasks-comments-retrieve One thread from tasks-comments-list
canvas-comments-list Every root on one canvas, whichever task or person wrote it
canvas-comments-retrieve One thread from canvas-comments-list

The tasks-* tools need PostHog Desktop task context. The canvas-* tools need only a canvas id. A user can leave a canvas comment without a task. The tasks-* tools do not return that comment.

If the client exposes no tool corresponding to canonical posthog:exec, the PostHog MCP server is unavailable in the run. Report that comments cannot be accessed only when exec search returns no tool for the target:

  • For task or artifact comments, the tasks-* tools must be present.
  • For canvas comments, the canvas-* tools or the tasks-* tools must be present.

A connection can have the canvas-* tools without task context. A connection can also have the tasks-* tools without the canvas-* tools, because a feature flag controls the canvas-* tools.

Use info <inner-tool-name> when the schema is unclear. For example:

{ "command": "info tasks-comments-list" }

Call tools through exec

Put the complete inner-tool invocation in exec.command.

List open comment roots across the task:

{ "command": "call tasks-comments-list {}" }

List artifacts and canvases when an inventory or filter id is needed:

{ "command": "call tasks-artifacts-list {}" }

Filter roots to one returned artifact or canvas id:

{ "command": "call tasks-comments-list {\"artifact_id\":\"<artifact-id>\"}" }

Retrieve a root and its replies:

{ "command": "call tasks-comments-retrieve {\"root_comment_id\":\"<root-comment-id>\"}" }

List open roots on one canvas. No task id is necessary:

{ "command": "call canvas-comments-list {\"id\":\"<canvas-id>\"}" }

Retrieve a canvas root and its replies:

{ "command": "call canvas-comments-retrieve {\"id\":\"<canvas-id>\",\"root_comment_id\":\"<root-comment-id>\"}" }

Never attempt to invoke an inner name as a top-level MCP tool. The notation posthog:tasks-comments-list also means to route that inner name through exec; it is not a literal tool name.

Read complete results

Both root listing and thread retrieval are cursor-paginated. For either operation:

  1. Call without cursor.
  2. Process the page.
  3. If next is non-null, call the same inner tool again with "cursor":"<next>" and repeat the original filters.
  4. Stop only when next is null.

Example continuation:

{
  "command": "call tasks-comments-list {\"artifact_id\":\"<artifact-id>\",\"include_resolved\":true,\"cursor\":\"<next>\"}"
}

Start with the root inventory and retrieve only threads relevant to the user's request. Before acting on a root, retrieve its thread so an older message is not mistaken for the latest request. The list returns open roots by default; pass "include_resolved":true only when resolved history matters.

List bodies are bounded excerpts. Detail responses cap total comment-body bytes. When a detail entry has content_truncated: true, call the same retrieve tool again with that entry's id as comment_id and its content_next_offset as content_offset. Continue

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

Agent có thể đọc bình luận nào?

Nó có thể đọc bình luận trên tác vụ hiện tại, các sản phẩm của tác vụ và mọi canvas mà tác vụ đã tạo.

Agent có cần tên công cụ đặc biệt không?

Không. Nó tìm các công cụ bình luận qua công cụ exec của PostHog, ngay cả khi tên hiển thị trong ứng dụng của bạn khác đi.

Agent có thể chỉ tập trung vào phản hồi còn mở không?

Có. Nó có thể lọc các chuỗi chưa giải quyết để làm việc trên những mục đang mở trước.

Chi tiết

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

Read and use comments attached to the current PostHog task, its artifacts, and any canvas through the PostHog MCP exec dispatcher. Use when the user mentions task comments, artifact or canvas comments, annotations, selected-text feedback, replies, unresolved comments, or asks an agent to inspect or act on feedback left in PostHog Desktop. Covers exec discovery and calls, target filtering, pagination, full-thread retrieval, anchor/version context, task-scoped access, and standalone canvas comments that have no task.

repo: PostHog/posthog

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6963
Giấy phép
—
Cập nhật
2/11/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ự