跳到正文
cccskills
免费在 GitHub 公开

auto-summary

Batch populate summary fields using content analysis

中文简介正在准备中。当前显示原文说明。

集成工具AWS
查看安装方法

包含的文件(1)

  • SKILL.md5.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

/auto-summary

Batch populate the summary frontmatter field on notes where it is null or missing. The summary field is the highest-value AI triage field — it enables fast note discovery without reading full content.

Usage

/auto-summary                    # Process all notes with null summary
/auto-summary <path>             # Process specific file or folder
/auto-summary --dry-run          # Preview summaries without applying
/auto-summary --type Concept     # Only process specific note type
/auto-summary --limit 50         # Process at most 50 notes

Instructions

Phase 1: Find Notes Needing Summary

Use Grep to find notes with null or missing summary:

# Find notes with summary: null
Grep for "summary: null" in *.md files

# Also find notes with no summary field at all
# (These should have had summary added by template cleanup)

Filter results:

  • Exclude Templates/, .obsidian/, .claude/, Archive/, Attachments/
  • Exclude Daily notes (journals don't need summaries)
  • If --type specified, filter by frontmatter type
  • Sort by type for batch efficiency

Phase 2: Generate Summaries (Parallel)

Launch parallel Haiku sub-agents, batching 20 notes per agent:

For each note, the agent should:

  1. Read the full note (frontmatter + body)
  2. Generate a one-line summary following these rules:

Summary Writing Rules

  • Length: 10-25 words. One sentence. No period at the end
  • Voice: Active, descriptive. State what the note IS or DOES
  • Content: Capture the core purpose, not details
  • Avoid: Starting with "This note...", "A document about...", "Summary of..."
  • Include: Key entities, technologies, or decisions where relevant

Summary Patterns by Type

TypePatternExample
ConceptWhat X isContinuous Airworthiness Management Organisation responsible for aircraft safety compliance
PatternHow to do XEvent-driven architecture pattern using Kafka for real-time system integration
MeetingWhat was discussed/decidedAlpha sprint review covering data migration progress and API blockers
ADRWhat was decided and whySelected AWS Bedrock over Azure OpenAI for AlertHub safety processing
ProjectWhat the project deliversSAP to DataPlatform data integration enabling unified engineering analytics
SystemWhat the system doesMRO Vendor MRO platform managing aircraft maintenance scheduling
PersonRole and contextSolutions Architect in Engineering IT, Alpha project lead
TaskWhat needs to be doneImplement Kafka consumer for Alpha work order events
IncubatorWhat idea is being exploredExploring voice-activated Claude Code workflows for hands-free note capture
ResearchWhat question was investigatedAnalysis of vault structure identifying efficiency improvements for human and AI workflows
ReferenceWhat the resource covers/teachesAWS documentation on Bedrock guardrails for AI model safety
EmailWhat the email communicatesProposal to Beta programme board for Claude Code adoption across architecture team
  1. Return — list of (filepath, summary) tuples

Phase 3: Apply Summaries

For each note with a generated summary:

  1. Read current frontmatter
  2. If summary: null — replace with generated summary (quoted string)
  3. If no summary field — add summary: field after tags
  4. Write updated file using Edit tool

Format:

summary: "Continuous Airworthiness Management Organisation responsible for aircraft safety compliance"

Always quote the summary value since it may contain special YAML characters (colons, brackets).

Phase 4: Report

## Auto-Summary Results

**Notes processed:** {{count}}
**Summaries added:** {{added_count}}
**Notes skipped:** {{skipped_count}} (already has summary or insufficient content)

### By Type
| Type | Summarised | Avg Length |
|------|-----------|------------|
| Concept | 45 | 15 words |
| Meeting | 80 | 18 words |
| ADR | 30 | 20 words |

### Sample Summaries
| Note | Summary |
|------|---------|
| {{note}} | {{summary}} |
| {{note}} | {{summary}} |

Safety

  • Always use --dry-run first for vault-wide operations
  • Never overwrite existing non-null summaries
  • Commit to git before running
  • If note body is too short (<50 words), skip rather than guess
  • Summary is additive only — never removes existing summaries

Quality Checks

After running, verify quality by:

  1. Spot-check 10-15 summaries across different types
  2. Ensure summaries are accurate (not hallucinated)
  3. Check length (10-25 words target)
  4. Verify no YAML quoting issues

Related Skills

  • /summarize — Detailed single-note summarisation
  • /quality-report — Includes summary coverage metrics
  • /auto-tag — Companion batch field population skill

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

auto-tag

免费

Batch auto-tag untagged notes using content analysis

中文简介正在准备中。当前显示原文说明。

DavidROliverBA/ArchitectKB532026年3月2日 更新

Generate C4 architecture diagrams from system notes

中文简介正在准备中。当前显示原文说明。

DavidROliverBA/ArchitectKB532026年3月2日 更新

canvas

免费

Create and edit Obsidian Canvas files for architecture visualization

中文简介正在准备中。当前显示原文说明。

DavidROliverBA/ArchitectKB532026年3月2日 更新

Check Outlook inbox and update daily note with message summary

中文简介正在准备中。当前显示原文说明。

DavidROliverBA/ArchitectKB532026年3月2日 更新

commit

免费

Stage and commit vault changes with UK English conventional commit messages

中文简介正在准备中。当前显示原文说明。

DavidROliverBA/ArchitectKB532026年3月2日 更新

Evaluate an architecture artifact (ADR, HLD, LLD) against the vault's established architecture principles

中文简介正在准备中。当前显示原文说明。

DavidROliverBA/ArchitectKB532026年3月2日 更新

查看 DavidROliverBA 的全部技能

报告此技能的问题