Logo: Doc Condenser

Doc Condenser

Communautéit
Mathews-Tom
doc-condenser

VERALT: De Basismodell kann Dokumenter vun Natur aus op héijem Niveau verdichten a resüméieren. Dëse Skill bréngt kee wierkleche Mehrwäert méi. Nëmme fir Referenz bäibehalen.

Add to TypingMind

Iwwersiicht

EditeurMathews-Tom
Repositoryarmory
Skill-Nummdoc-condenser
Stären
318
Forks
47
Matgeliwwert Dateien
3
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.

  • 3 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

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

Installatioun

Installéiert de KI-Skill Doc Condenser 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/Mathews-Tom/armory/tree/main/skills/doc-condenser
  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/Mathews-Tom/armory.git /tmp/armory
mkdir -p .claude/skills
cp -r /tmp/armory/skills/doc-condenser .claude/skills/doc-condenser
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Doc Condenser 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 Doc Condenser automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Doc Condenser 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.

DEPRECATED — Modern Claude models condense and summarize technical documentation natively with comparable quality. The output format preferences encoded here (40% length cap, tables over prose, paths first) are too generic to justify skill overhead. Retained for archival reference only.

Document Condenser

Transform verbose technical documentation into concise, developer-focused specs.

Core Principles

  1. Paths first - Every file reference includes full/relative path
  2. Tables over prose - Use tables for metrics, coverage, file lists
  3. Code samples stay - Keep small, illustrative snippets; remove verbose examples
  4. Commentary, not explanation - Brief context sentences, not paragraphs
  5. One-line history - Reference legacy docs, don't preserve their content

Output Structure

markdown
# [path/to/output.md]

# [Title] - [Subtitle if needed]

## Purpose

[2-3 sentences: what this is, why it exists, key design principle]

## Status

[Table: metrics, rates, performance]

## Architecture Overview

[Optional diagram or brief flow description]
[Only if it aids understanding]

## Implementation Files

[Grouped by category with paths and one-line descriptions]

## [Domain-Specific Sections]

[Tables, code snippets, brief commentary as needed]

## Quick Reference

[Box or code block with key stats for scanning]

See assets/template.md for a copy-ready scaffold of this structure.

Transformation Rules

KEEP

  • File paths (always full or project-relative)
  • Metrics and measurements
  • Code snippets under 15 lines that illustrate patterns
  • Schema examples and data structures
  • Coverage/status tables

CONDENSE

  • Multi-paragraph explanations → 1-2 sentences
  • Verbose examples → representative snippet + "see X for more"
  • Implementation checklists → completion status table
  • Long rationales → single "Design principle: X" line
  • Code snippets longer than 20 lines → condense to the core pattern + a reference comment pointing to the source file
  • Rationale sections where the same point is restated across more than 3 sentences → collapse to one "Design principle:" line

REMOVE

  • Historical context beyond one reference line
  • Achieved/completed celebration language
  • Redundant explanations of the same concept
  • Step-by-step tutorials (link to them instead)
  • "What we learned" retrospectives

FORMAT

  • Use code blocks for paths and commands
  • Group related files under headers
  • Prefer tables over bullet lists for structured data
  • End with quick-reference block for scanning

Working with Existing Documents

When condensing an existing verbose doc:

  1. Identify the core purpose (first paragraph of output)
  2. Extract all file paths into grouped tables
  3. Preserve code samples that show patterns
  4. Convert prose sections to tables where possible
  5. Add single history reference line
  6. Verify no information loss on key technical details

Style Guide

See references/style-guide.md for detailed formatting rules, table patterns, and code sample guidelines.

Example Transformation

Before (verbose):

text
We have successfully achieved and EXCEEDED the original goals of this specification!
After many iterations and improvements, our automation rate reached 96.6% which is
above our target of 95%. The team worked hard on this and we're very proud...

After (concise):

text
**v31 PRODUCTION** | 96.6% automation (target: 95%)

Calibration Rules

  • Condensed output must not exceed 40% of source document length measured in words.
  • All file paths present in the original must appear in the condensed output — paths are never dropped.
  • Code blocks are never removed outright; reduce length by extracting the representative pattern and adding a source reference comment.

Error Handling

  • Source document has no clear purpose: ask for one sentence of context before condensing — do not infer a purpose and proceed.
  • A section contains items that are ambiguous between KEEP and REMOVE: default to KEEP and flag the section with a <!-- review: ambiguous --> comment in the output.
  • Condensed result loses required technical detail identified during verification: restore the omitted detail and re-measure against the 40% length cap; if the cap cannot be met, document the exception inline.
  • Source contains no file paths: skip the Implementation Files section entirely rather than generating placeholder paths.
  • Source is a non-text format (image, diagram, spreadsheet): report the format is unsupported and return without output.
  • Style guide conflicts with source formatting conventions: follow references/style-guide.md and note the override at the top of the output.

Limitations

  • Works on text documents only; images, diagrams, and binary files cannot be condensed.
  • Condensation ratio depends on source verbosity — highly structured sources yield less reduction.
  • Style guide deference (references/style-guide.md) takes precedence over source formatting, which can alter heading levels and table layouts.
  • Does not follow hyperlinks or fetch referenced external documents; referenced content is noted but not inlined.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Doc Condenser?

VERALT: De Basismodell kann Dokumenter vun Natur aus op héijem Niveau verdichten a resüméieren. Dëse Skill bréngt kee wierkleche Mehrwäert méi. Nëmme fir Referenz bäibehalen.

Firwat Doc Condenser op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Doc Condenser 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 Doc Condenser an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Mathews-Tom/armory/tree/main/skills/doc-condenser an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Doc Condenser 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 Doc Condenser benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Doc Condenser 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 Doc Condenser gratis?

Jo. Mathews-Tom 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 👇