summarization
This Claude Code skill condenses documents, articles, conversations, and technical content into concise, accurate summaries that preserve essential information. Use it when users request summaries, TL;DRs, executive summaries, key points, or shorter versions of longer material. The skill includes structured approaches for executive summaries, technical summaries, meeting notes, research papers, and changelogs, adapting the format and emphasis based on content type and intended audience.
git clone --depth 1 https://github.com/Upsonic/Upsonic /tmp/summarization && cp -r /tmp/summarization/src/upsonic/skills/builtins/summarization ~/.claude/skills/summarizationSKILL.md
# Summarization
Produce concise, accurate summaries that capture what matters. A good summary saves the reader time while preserving the information they need to make decisions or take action.
## Before You Summarize
Understand the context:
1. **What type of content is this?** (Business doc, technical spec, conversation, research paper, code)
2. **Who is the audience?** (Executive, engineer, general reader)
3. **What's the purpose?** (Decision-making, catch-up, reference, sharing)
4. **How long should the summary be?** (If not specified, scale to content complexity — not just length)
These determine which approach to use and what to emphasize.
## Reference Materials
- Load `summary-templates.md` for ready-to-use templates for each summary type (Executive, Technical, Meeting, Research, Changelog). Use these as starting structures and adapt to the specific content.
## Summarization Approaches
Choose the approach that matches the content type:
### Executive Summary
For business documents, reports, proposals, and strategy decks.
**Structure:**
1. **Bottom line first**: Lead with the key decision, recommendation, or conclusion
2. **Critical metrics**: Include the 2-4 numbers that matter most (revenue, timeline, cost, impact)
3. **Key findings**: 3-5 bullet points covering what was discovered or decided
4. **Risks and concerns**: What could go wrong, what's uncertain
5. **Next steps**: Who does what by when
**Example pattern:**
```
**Recommendation:** [One sentence with the core decision]
**Key metrics:** [2-4 data points]
**Findings:**
- [Most important finding]
- [Second most important]
- [Third]
**Risks:** [1-2 key risks]
**Next steps:** [Action items with owners and deadlines]
```
**Guidelines for executive summaries:**
- Use business language, not technical jargon
- Every sentence should help the reader make a decision
- If you can't state the bottom line in one sentence, the source material may be unclear — flag this
- Include specific numbers, not vague qualifiers ("revenue grew 23%" not "revenue grew significantly")
### Technical Summary
For technical documents, architecture docs, RFCs, code reviews, and documentation.
**Structure:**
1. **Purpose**: What problem does this solve? Why does it exist?
2. **Approach**: How does it work at a high level?
3. **Key decisions**: What technical choices were made and why?
4. **Dependencies**: What does this rely on? What relies on it?
5. **Trade-offs**: What was gained and what was sacrificed?
6. **Limitations**: Known issues, constraints, or gaps
7. **Open questions**: Unresolved decisions or areas needing further work
**Guidelines for technical summaries:**
- Preserve technical precision — don't simplify terms that have specific meanings
- Include architecture decisions and their rationale
- Note API contracts, data formats, and integration points
- Mention performance characteristics if discussed in the source
- Flag breaking changes or migration requirements
### Research/Academic Summary
For research papers, studies, whitepapers, and analytical reports.
**Structure:**
1. **Research question**: What was being investigated?
2. **Methodology**: How was the study conducted? (brief)
3. **Key findings**: The 3-5 most important results
4. **Significance**: Why do these findings matter?
5. **Limitations**: What the study doesn't cover or can't prove
6. **Implications**: What should change based on these findings?
**Guidelines for research summaries:**
- Distinguish between correlation and causation
- Include sample sizes and confidence levels when available
- Note if results are statistically significant vs practically significant
- Preserve nuance — don't overstate findings
- Flag if the methodology has notable limitations
### Conversation/Meeting Summary
For meeting notes, chat logs, email threads, and discussions.
**Structure:**
1. **Decisions made**: What was agreed upon (be specific)
2. **Action items**: Who is doing what by when
3. **Key discussion points**: The main topics debated
4. **Disagreements**: Where people differed and how it was resolved (or wasn't)
5. **Open questions**: What still needs to be decided
6. **Parking lot**: Topics raised but deferred
**Guidelines for conversation summaries:**
- Attribute decisions and action items to specific people
- Capture the "why" behind decisions, not just the "what"
- Note when consensus was reached vs when a decision was imposed
- Include deadlines and commitments
- Flag anything that seemed unresolved or contentious
### Code/Changelog Summary
For code diffs, pull requests, release notes, and changelogs.
**Structure:**
1. **What changed**: High-level description of the changes
2. **Why**: The motivation (bug fix, feature, refactor, performance)
3. **Impact**: What users/developers will notice
4. **Breaking changes**: Anything that requires migration or adaptation
5. **Notable details**: Interesting implementation choices or caveats
**Guidelines for code summaries:**
- Lead with user-facing impact, not implementation details
- Group related changes together
- Distinguish between bug fixes, features, and internal changes
- Highlight breaking changes prominently
- Note if tests were added or updated
## Core Principles
These apply regardless of which approach you use:
### Accuracy Above All
- Never introduce information that isn't in the source material
- If something is ambiguous in the source, say so — don't guess
- Use the same terminology as the source (don't substitute synonyms that shift meaning)
- If quoting, be exact. If paraphrasing, preserve the original intent
### Structure Matters
- Use bullet points, numbered lists, and headers for scannability
- Put the most important information first (inverted pyramid)
- Group related points together
- Use consistent formatting throughout
### Right-Size the Summary
- A 2-page memo and a 200-page report don't get the same treatment
- Scale to complexity of content, not just its length
- A simple topic covered in 50 pUse this agent when you need to create unit tests for your code in unittest.TestCase format, organized in a tests folder with concept-based subfolders. Examples: <example>Context: User has just written a new authentication module and needs comprehensive unit tests. user: 'I just finished writing my user authentication functions in auth.py. Can you help me create unit tests for them?' assistant: 'I'll use the unittest-generator agent to create comprehensive unit tests for your authentication module.' <commentary>Since the user needs unit tests created for their authentication code, use the unittest-generator agent to create properly structured tests in the tests folder with appropriate subfolder organization.</commentary></example> <example>Context: User has implemented new data validation functions and wants to ensure they're properly tested. user: 'I've added several validation functions to my utils.py file. I need unit tests to make sure they handle edge cases correctly.' assistant: 'Let me use the unittest-generator agent to create thorough unit tests for your validation functions.' <commentary>The user needs unit tests for their validation functions, so use the unittest-generator agent to create comprehensive tests with edge case coverage.</commentary></example>