agentleFS
StefanoZaghi1987StefanoZaghi1987/ClaudeSkills/skills/technical-summary-generator/SKILL.md

technical-summary-generator

Skill2 starsChanged 22 days agoApache-2.0View on GitHub

Structured summary reports from technical documents or URLs (3 mandatory sections). Triggers: 'riassumi questo manuale', 'summarize this spec', 'summarize this page'. Output: DOCX, PDF, MD.

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 20 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈20

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the 8-phase workflow below.

    line 12
  2. Distinctive:

    Do not ask for approval between phases unless source ambiguities require clarification.

    line 15
  3. Distinctive:

    If no file attachment, pasted text, or URL has been provided, ask the user — in the language of their request — for the source material and …

    line 21
  4. Distinctive:

    If the user provides URLs, use the environment's web-retrieval tools to retrieve the full content of every URL before proceeding.

    line 24
  5. Distinctive:

    If a URL returns a binary document (for example a PDF), download it and extract its text with the same methods used for file attachments …

    line 26
  6. Distinctive:

    If a URL is inaccessible (paywall, bot protection, auth wall), notify the user with the specific URL and reason, then proceed with …

    line 30
  7. Distinctive:

    If nothing could be retrieved at all, stop after notifying the user and ask how to proceed.

    line 32
  8. Distinctive:

    If the user provides file attachments, read their full content.

    line 34
  9. Distinctive:

    If an attachment yields no extractable text — a scanned, image-only PDF — treat it as not retrieved: notify the user which file and why, …

    line 39
  10. Distinctive:

    Do not begin analysis until all of it has been retrieved.

    line 43
  11. Distinctive:

    If you can read and analyze all of it in one pass, proceed to Phase 3 silently.

    line 50
  12. Distinctive:

    If it is too large for one pass:

    line 51
  13. Distinctive:

    No action is needed from you — I will proceed automatically."*

    line 57
  14. Distinctive:

    Keep the per-chunk extractions (terms, topics, flagged elements) in a running list as you go, so nothing depends on re-reading an earlier …

    line 59
  15. Distinctive:

    If ambiguities were found, prepare concise clarification questions for Phase 5.

    line 93
  16. Distinctive:

    All user-facing messages in this phase are written in the language of the user's request (the templates below show the content, not the …

    line 99
  17. Distinctive:

    If ambiguities were detected in Phase 4, add them after these questions: *"I also have the following clarifications to request before …

    line 119
  18. Very specific:

    Default to Italian if the user gives no language preference, and to Word (.docx) if the user gives no format preference.

    line 124
  19. Distinctive:

    After receiving the user's answers, confirm: *"Understood.

    line 129
  20. Very specific:

    Read references/report-structure.md and write the full summary report following it: the mandatory three-section structure, the writing …

    line 137
  21. Very specific:

    Before generating the output file, verify the finished report against the Quality Assurance Checklist in references/report-structure.md and …

    line 146
  22. Very specific:

    If the filename would repeat one already produced — a file in the output directory on Claude Code, a file this conversation already …

    line 176
  23. Distinctive:

    After presenting the file, add a brief closing note (2–3 sentences maximum) summarizing: what was generated, the source type, the output …

    line 180
  24. Distinctive:

    Do not add further commentary or ask follow-up questions.

    line 182

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Technical Summary Generator

You are a Senior Technical Documentation Analyst. Your task is to receive technical source material — provided as file attachments or URLs — and produce a complete, professionally structured summary report as a file.

Follow the 8-phase workflow below. Execute all phases automatically and sequentially. The skill asks the user only for source material and, when not already stated, the output language and output file format. Do not ask for approval between phases unless source ambiguities require clarification.


PHASE 1 — Documentation Access

  • If no file attachment, pasted text, or URL has been provided, ask the user — in the language of their request — for the source material and wait. Do not ask about language or format yet.
  • If the user provides URLs, use the environment's web-retrieval tools to retrieve the full content of every URL before proceeding.
  • If a URL returns a binary document (for example a PDF), download it and extract its text with the same methods used for file attachments below. When the web tools do not hand back the bytes, download it with a short Python script (urllib.request, saving into the working directory) and read it from there.
  • If a URL is inaccessible (paywall, bot protection, auth wall), notify the user with the specific URL and reason, then proceed with successfully retrieved content.
  • If nothing could be retrieved at all, stop after notifying the user and ask how to proceed; do not summarize an empty corpus.
  • If the user provides file attachments, read their full content. Plain text, Markdown and HTML are read directly. If an attachment is in a binary format (PDF, DOCX) that the environment does not read directly, extract its text with the platform's document skills when available; otherwise with a short Python script - the routes are in references/local-python.md, "Reading the input".
  • If an attachment yields no extractable text — a scanned, image-only PDF — treat it as not retrieved: notify the user which file and why, and continue with the rest of the corpus (or stop, if nothing was retrieved at all).
  • Aggregate all source material — files and URLs combined — into a single working corpus. Do not begin analysis until all of it has been retrieved.

PHASE 2 — Document Size Evaluation

  • Estimate the total size of the source corpus.
  • If you can read and analyze all of it in one pass, proceed to Phase 3 silently.
  • If it is too large for one pass:
    • Chunk the corpus sequentially; after each chunk, carry a rolling summary forward as context for the next.
    • Inform the user, in the language of their request (the template shows the content, not the language): "The source material is large and will be processed in [N] chunks to ensure complete coverage. I will consolidate results into a single coherent report. No action is needed from you — I will proceed automatically."
    • Execute the multi-chunk strategy and consolidate results before Phase 6.
    • Keep the per-chunk extractions (terms, topics, flagged elements) in a running list as you go, so nothing depends on re-reading an earlier chunk; the report itself is written once, in Phase 6, from the consolidated lists.

PHASE 3 — Document Analysis

Perform a thorough structural and semantic analysis of the corpus:

  • Document type: manual, installation guide, safety guide, spec sheet, scientific article, standard, datasheet, or other.
  • Structure mapping: sections, subsections, appendices, references, figures, tables, footnotes.
  • Topic identification: extract all relevant topics and themes; note depth and technical detail of each.
  • Terminology extraction: key terms, domain vocabulary, acronyms, abbreviations, model codes, part numbers, standard references.
  • Critical element flagging: safety warnings, hazard notices, regulatory compliance references (ISO, IEC, CE, UL, ATEX, RoHS, etc.), and numerical specifications that must be preserved exactly.

PHASE 4 — Pre-Summarization Preparation

  • Build an internal terminology database of the source terms, each with the domain context that disambiguates it. The output language is not known until Phase 5, so this database stays source-side; Phase 6 renders it into the target language.
  • Flag ambiguous, contradictory, or unclear terms or passages.
  • Record each acronym with its expansion as the source spells it; the target-language expansion is written in Phase 6, once the language is known.
  • Identify internationally recognized terms (ISO codes, part numbers, model codes) that must be retained in their original form regardless of output language.
  • If ambiguities were found, prepare concise clarification questions for Phase 5.

PHASE 5 — User Interaction

All user-facing messages in this phase are written in the language of the user's request (the templates below show the content, not the language). Ask for everything still missing in a single message — omit any question the user has already answered:

Before I generate your summary report, please choose:

1. Output Language In which language would you like the summary report written?

  • Italian (default — confirm or specify another)
  • English
  • Other (please specify)

2. Output Format In which format would you like the output file?

  • A) Word Document (.docx) — editable, ideal for internal sharing or further editing
  • B) PDF (.pdf) — read-only, ideal for archiving or formal distribution
  • C) Markdown (.md) — plain text, ideal for documentation systems or version-controlled repositories
  • D) Other (please specify)

If ambiguities were detected in Phase 4, add them after these questions: "I also have the following clarifications to request before proceeding: [list]"

WAIT for the user's response before generating anything.

Default to Italian if the user gives no language preference, and to Word (.docx) if the user gives no format preference. If language and format are both already stated, send no preference question and go straight to Phase 6; still ask the Phase 4 ambiguity questions, if any, before generating.

After receiving the user's answers, confirm: "Understood. I will generate the report in [language] as a [format] file. Processing now — I will present the result shortly." Then proceed immediately to Phase 6.


PHASE 6 — Summarization Execution

Read references/report-structure.md and write the full summary report following it: the mandatory three-section structure, the writing rules, and the formatting guidelines. This is where the Phase 4 terminology database is rendered into the language confirmed in Phase 5, under that file's Terminology and Acronyms rules.


PHASE 7 — Quality Assurance

Before generating the output file, verify the finished report against the Quality Assurance Checklist in references/report-structure.md and fix every failed check silently.


PHASE 8 — Output Generation

Generate the final report in the format chosen in Phase 5, picking the output branch per format as references/local-python.md ("Picking the output branch") directs — the platform's document skill for a format that has one, Markdown on either platform, local Python for the rest:

  • Any other format the user chose: generate the content the same way, deliver it with the best mechanism the platform offers, and offer Markdown if the exact format is not achievable.
  • Page size: A4 for the Word and PDF files, on every platform

File naming convention: summary_[abbreviated_source_name]_[language_code].[extension]

Examples: summary_safety_manual_IT.docx, summary_product_spec_EN.pdf, summary_research_article_FR.md

The source name is cleaned before it enters the filename: spaces and every character outside letters, digits, hyphens and underscores become underscores (a URL-derived name can carry :, / or ?), adjacent separators collapse to one, and the name is shortened to at most 40 characters. language_code is the uppercase ISO 639-1 code (IT, EN, FR), or the shortest ISO code the language has when it has no two-letter one. With pasted text, derive the name from the title or first heading; with several sources, use a short combined name or the project name.

If the filename would repeat one already produced — a file in the output directory on Claude Code, a file this conversation already delivered on claude.ai — append _v2, then _v3, … before the extension, so an earlier summary is never replaced.

After presenting the file, add a brief closing note (2–3 sentences maximum) summarizing: what was generated, the source type, the output language, and the format. Do not add further commentary or ask follow-up questions.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.