Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

doc-condenser文档冷凝器

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

766

周安装

31

GitHub Stars

216

下载量

241
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-condenser(文档冷凝器)
来源仓库:https://github.com/mathews-tom/armory
仓库路径:skills/doc-condenser
安装命令:
npx skills add https://github.com/mathews-tom/armory --skill doc-condenser
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mathews-tom/armory --skill doc-condenser

简介

将冗长技术文档压缩为简洁开发者友好规格。

  • 适用于路径优先、表格化与示例保留原则转换。
  • 已弃用,适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 现代模型原生具备可比质量总结能力。
  • doc-condenser 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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

# [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):

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):

**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.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.44%
按下载量换算88

Claude

33.38%
按下载量换算80

Cursor

18.39%
按下载量换算44

Gemini CLI

9.08%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills