content-summarizer
始终按以下七步工作流执行。每一步必须完成后才能进入下一步。
工作流
Step 0: 识别内容类型
若 $ARGUMENTS 为空(用户未提供 URL),询问用户提供 URL 后再继续。
多 URL 处理 — 若 $ARGUMENTS 包含多个 URL(用户希望合并总结):
- 从中提取所有 URL,对每个 URL 分别运行检测脚本
- 确定一个主类型(以主要内容的类型为准,如一篇博客 + 一条推特讨论 → 主类型为
article) - 在 Step 1 中分别抓取每个 URL 的内容
- 在 Step 2 中整合分析,生成一篇合并笔记,在笔记中为每个来源标注原始链接
必须运行检测脚本 — 使用 Glob 定位本 skill 目录下的 scripts/detect_content_type.py,然后用 python3 运行该脚本并传入 URL 作为参数(多 URL 时对每个 URL 分别调用)。不得跳过此步骤手动判断类型。脚本返回 JSON,包含 type、platform、fetcher、template、metadata 字段。脚本根据 URL 模式匹配返回 references/fetchers/ 下对应的策略文件路径和 references/templates/ 下对应的模板路径;未匹配已知平台时默认返回通用策略。
记录脚本返回的所有字段,进入 Step 1。若脚本执行失败或返回无法解析的结果,回退到默认值:type=article、fetcher=references/fetchers/common.md、template=references/templates/article.md。
Step 1: 抓取内容
More from vamdawn/ai-forge
git-commit
Create well-formatted atomic git commits with conventional commit messages and emoji. Use when making git commits, splitting large changesets into logical units, or crafting commit messages.
16semver-release
Automated version release workflow. Analyzes git commit history to infer semantic version, auto-detects version files across ecosystems, updates multilingual CHANGELOGs, creates git commit and tag. Use when: (1) user says "release", "publish version", "bump version", (2) user invokes /release command, (3) preparing to release a new version.
16review-doc
Structured document review and quality improvement. Use when the user asks to review, proofread, check, audit, or improve a document (Markdown, text, or any prose file). Triggers include: 'review this doc', 'check this document', 'proofread', 'audit this spec', 'review and fix', or any request to find and fix issues in written documents. Supports reviewing against referenced standards (PRD, design docs, style guides).
15plan-executor
Orchestrated multi-agent plan execution with TDD and code review. Use when you have a structured plan file to execute via SubAgents. Decomposes tasks, dispatches agents, enforces TDD and code review gates.
13review-context
从 context engineering 角度审查代码、架构文档、prompt 和设计文档。自动识别内容类型,选择 3-5 个最相关维度进行审查,生成含严重等级和改进建议的结构化报告。触发词:review context、CE 审查、上下文工程审查。
9session-summary
分析当前会话内容并按固定格式生成结构化摘要,输出基本信息、会话概要与逐轮明细。触发词:'总结这次会话'、'summarize this session'、'会话总结'、'session summary'、'总结一下'、'生成会话摘要'、'记录本次会话'。
9