Logo Consolidate Task

Consolidate Task

Cộng đồng
mcouthon
consolidate-task

Use when you need to consolidate a completed task into an architectural decision record and a proposed instruction delta for future agents, reducing clutter in .tasks/. Triggers on: 'use consolidate-task mode', 'consolidate-task', 'consolidate task', 'summarize task', 'retrospective', 'what did we learn', 'compound learnings'.

Add to TypingMind

Tổng quan

Nhà phát hànhmcouthon
Kho mãagents
Tên kỹ năngconsolidate-task
Sao
79
Bản fork
11
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được mcouthon công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Consolidate Task trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mcouthon/agents/tree/main/generated/claude/skills/consolidate-task
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mcouthon/agents.git /tmp/agents
mkdir -p .claude/skills
cp -r /tmp/agents/generated/claude/skills/consolidate-task .claude/skills/consolidate-task
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Consolidate Task trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Consolidate Task ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Consolidate Task với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Consolidate a Completed Task

One pass over .tasks/{task-folder}/ produces up to two outputs:

OutputAudienceQuestionDestination
Architectural recordfuture developersWhat did the code decide?docs/architecture/ADR-NNN-*.md
Instruction deltafuture agentsWhat should agents do differently?routed by scope — see Process Learnings

Each is independently skippable. Most tasks produce one; some produce neither. Read .tasks/{task-folder}/task.md for the architectural record, and the phase plans for the instruction delta.

When to Create an ADR

Not every completed task needs an ADR. ADRs document architectural decisions, not implementation work.

Skip ADR entirely when:

  • Task adds a minor feature within existing patterns
  • Task fixes bugs or refines implementation details
  • Task is routine maintenance or cleanup
  • Changes follow conventions already documented elsewhere

Update existing ADR when:

  • Task extends or modifies patterns documented in a prior ADR
  • Task adds significant new component to an existing architectural area
  • Changes affect how future developers should approach that area

Create new ADR when:

  • Task introduces new architectural patterns
  • Task reverses or significantly modifies a prior decision
  • Task establishes new conventions for the codebase

When updating, add an entry to the "Updates" table and integrate changes into relevant sections.

File Naming

Required format: ADR-NNN-{decision-name}.md

  1. Scan docs/architecture/ for existing ADR-* files
  2. Check if any existing ADR covers the same architectural area (update if so)
  3. For new ADRs: find the highest number (e.g., ADR-003-* → next is 004)
  4. Start at 001 if no ADR files exist
  5. Save to: docs/architecture/ADR-NNN-{decision-name}.md

Example: ADR-004-unified-query-execution.md

Output Format

markdown
# {Decision Title}

**Source:** Task {NNN} ({Month Year})

## Decision

One sentence describing the high-level architectural choice.

## Why

- Bullet points explaining the motivation
- Focus on problems solved, not implementation details

## Problem Statement (if applicable)

What issue prompted this change? What was broken or suboptimal?

## Solution

Brief description with before/after comparison:

### Before

{Old approach - can include diagrams or code}

### After

{New approach - can include diagrams or code}

## Implementation Phases

| Phase     | What Changed       |
| --------- | ------------------ |
| 1. {Name} | {One-line summary} |
| ...       | ...                |

## Key Architectural Patterns

Include 2-3 code snippets showing the most important patterns established.
Only patterns that future developers need to understand and follow.

## Current Structure

```
relevant/directory/
├── file1.py # Brief purpose
├── file2.py # Brief purpose
```

## Deleted

- List of deleted files/code (shows what was replaced)

## Updates (for existing ADRs only)

| Date         | Task  | Summary                              |
| ------------ | ----- | ------------------------------------ |
| {Month Year} | {NNN} | One-line description of what changed |

Process Learnings (Instruction Delta)

The ADR tells future developers what the code decided. This tells future agents what to do differently. Same pass, second audience.

Input — read, don't recall

  1. .tasks/{task-folder}/plan/phase-*.md → every ## Execution Notes section. Primary and preferred evidence — Builder writes these while the friction happens.
  2. .tasks/{task-folder}/task.md → the phase table's Notes column and any deviation notes.
  3. Phase plans whose ## Verification section proved insufficient — a manual-testing finding that no planned check would have caught is itself a learning about how plans get written.

If there are no ## Execution Notes anywhere, output "no process learnings" and stop. Do not reconstruct a retrospective from the diff or from memory. That is fabrication.

Filter — what qualifies

A learning must be generalizable and actionable: one sentence must be able to complete "next time, the instruction should say ___."

QualifiesDoes not
An instruction was ambiguous and cost a retryA one-off bug in this task's code
A convention exists that no instruction statesA preference with no evidence behind it
A verification step is routinely missing from plansAnything already covered by an existing instruction
A recurring shape of mistake across phasesA restatement of the ADR

At most 3 proposals per task. More than three means the filter isn't being applied.

Routing — by scope of the learning, not by a fixed path

Scope of the learningDestinationNotes
A convention or non-obvious dependency of this repositoryAGENTS.md → ## Learned Patterns tableSame sink Explorer's Repository Patterns step uses. Create the section if absent.
Domain terminology / namingCONTEXT.md at workspace rootRead by Explorer and Builder
A gap in how an agent or skill behavesThe instruction file that owns that behaviorIn a framework repo that is the template source of truth (never edit generated output; run its build+install after). In a consuming repo it is the user's own agent/skill files.
A gap in the framework's posture, not one agent'sNote it for docs/research/BACKLOG.mdOut of write scope — propose only

Output — propose, never apply silently

📝 Process learnings from task {NNN}

1. [What happened] → [proposed instruction change]
   Evidence: .tasks/{slug}/plan/phase-N-*.md ## Execution Notes
   Destination: [file] → [section]

Apply these? [All] [Select] [None]
  • Every proposal cites the ## Execution Notes line it came from. No citation, no proposal.
  • Nothing is written without confirmation.
  • On confirmation, if a destination is a template source of truth, run the build and install yourself (in this framework repo: make && ./install.sh) before reporting completion — do not merely state that it is required.
  • "No process learnings this task" is a normal, expected, good outcome. Do not pad to look useful.
  • Fast Path Mode: when the invoking prompt says the task runs under Fast Path Mode, do not block for confirmation here. Return the proposal list unapplied and apply nothing; Conductor folds it into the final Delivery Report, where approval happens once.

Guidelines

  1. High-level only — Skip implementation details that don't affect architecture
  2. Focus on patterns — What should future code follow?
  3. Include deletions — Shows what was replaced, not just what was added
  4. Code examples — Only for patterns that repeat across the codebase
  5. Keep it scannable — Tables and bullets over paragraphs

After Saving

  1. Update docs/architecture/README.md (create if missing with a decisions table)
  2. Delete or archive the original task folder
  3. If updating an existing ADR: add entry to the Updates table at the bottom
  4. Report the instruction delta outcome: which instruction files were changed, or "no process learnings". When a template source of truth was changed on confirmation, confirm the build+install (make && ./install.sh here) was run, quoting its output — not that it is required. Under Fast Path Mode nothing was applied: report the pending proposal count instead, and note that build+install runs only if a template-targeted proposal is approved at the final Delivery Report.

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

Kỹ năng AI Consolidate Task làm được gì?

Use when you need to consolidate a completed task into an architectural decision record and a proposed instruction delta for future agents, reducing clutter in .tasks/. Triggers on: 'use consolidate-task mode', 'consolidate-task', 'consolidate task', 'summarize task', 'retrospective', 'what did we learn', 'compound learnings'.

Vì sao nên dùng Consolidate Task trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Consolidate Task là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Consolidate Task trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mcouthon/agents/tree/main/generated/claude/skills/consolidate-task. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Consolidate Task?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Consolidate Task với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Consolidate Task với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Consolidate Task có miễn phí không?

Có. Kỹ năng này được mcouthon phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇