summarize
สรุปเนื้อหาตาม context ทั่วไป
SKILL.mdsummarize/SKILL.md
GitHubGoal
Summarize content for any general context such as a project, chat, code, files, or a specified topic
Scope
Use when the user wants a summary without naming a specific sub-skill; summarize picks or delegates to the appropriate skill
Execute
1. Identify Context
Goal: Determine the context to summarize
- Read the
<context>argument or the context from the task - Determine the type:
project,chat,code,file,topic,conversation,changes - If the context is unclear → ask the user
- Determine the output format: bullet, paragraph, table, flow
2. Select Summarizer
Goal: Pick the appropriate summarizer skill
- If
project→ summarize the project scope following this skill's flow - If
chatorconversation→ summarize the chat/session scope following this skill's flow - If a bullet/numbered list is needed → run
/report - If
code→ run/scan-codebasethen/report - If
file→ read the file and summarize - If
changes→ run/list-git-commitor/report-diff-in-web - If nothing matches a sub-skill → summarize directly with
/report
3. Summarize
Goal: Summarize the content
- Pass all input to the selected sub-skill
- If summarizing yourself:
- Read the original content
- Identify main points and key takeaways
- Remove unnecessary details
- Order by priority
- Preserve context and do not distort meaning
4. Format And Report
Goal: Present the summary
- Use the format the user wants (bullet, paragraph, table)
- Use
/reportwhen there are multiple categories - Note anything missing or left to do
- Run
/suggest-next-action
Rules
1. Context Aware
- Never guess content outside the context
- Ask the user when information is insufficient
- Pick the sub-skill based on context
2. Concise
- One bullet = one idea
- Use tight, concise language
- Keep only the essential substance
3. Accuracy
- Never distort meaning when trimming
- Preserve context
- State limitations if any
Expected Outcome
- Summary matching the specified context
- Format as requested
- Complete yet concise content
- Next action identified if any