Logo: Consolidate Task

Consolidate Task

Communautéit
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

Iwwersiicht

Editeurmcouthon
Repositoryagents
Skill-Nummconsolidate-task
Stären
79
Forks
11
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    mcouthon huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Consolidate Task an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/mcouthon/agents/tree/main/generated/claude/skills/consolidate-task
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Consolidate Task an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Consolidate Task automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Consolidate Task net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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'.

Firwat Consolidate Task op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Consolidate Task besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Consolidate Task an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mcouthon/agents/tree/main/generated/claude/skills/consolidate-task an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Consolidate Task benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Consolidate Task benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Consolidate Task domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Consolidate Task gratis?

Jo. mcouthon huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇