summary
Generates weekly or monthly session summaries from retrospectives and activity logs.
- License 许可
- MIT
- 所属仓库
- goffity/dev-km
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- summary
- description
- Generates weekly or monthly session summaries from retrospectives and activity logs.
- argument-hint
- [weekly|monthly]
- user-invocable
- true
03 SKILL.md 正文
Summary - Session Summaries
Generate weekly or monthly summaries from retrospectives, learnings, and activity logs.
Usage
/summary weekly # Generate current week summary
/summary monthly # Generate current month summary
/summary weekly 2026-01 # Generate for specific week/month
Output: $PROJECT_ROOT/kb/05-ai-reviewed/summaries/YYYY-MM-weekN.md or YYYY-MM.md
Instructions
Language Setting
Check
LANGUAGEindocs/current.md. Ifth, translate output perreferences/language-guide.md. Seereferences/bash-helpers.mdfor detection snippet.
1. Determine Period
Parse arguments:
weekly→ current week (Mon-Sun)monthly→ current month- Optional date parameter for historical summaries
export TZ='Asia/Bangkok'
YEAR=$(date '+%Y')
MONTH=$(date '+%m')
WEEK=$(date '+%V')
2. Gather Data
export TZ='Asia/Bangkok'
# Activity log entries for the period
grep "^$YEAR-$MONTH" docs/logs/activity.log
# Retrospectives for the period
find kb/05-ai-reviewed/retrospective/$YEAR-$MONTH -name "*.md" -type f | sort
# Learnings for the period
find kb/05-ai-reviewed/learnings/$YEAR-$MONTH -name "*.md" -type f | sort
# Git commits for the period
git log --oneline --since="[start-date]" --until="[end-date]"
# Knowledge base updates
git log --oneline --since="[start-date]" --until="[end-date]" -- kb/02-patterns/
3. Analyze and Generate
Read each retrospective/learning file and extract:
- Task descriptions
- Types (feature, bugfix, refactor, etc.)
- Key decisions
- Open items (unchecked checkboxes)
4. Create Summary File
Use the template below.
5. Commit
git add kb/05-ai-reviewed/summaries/
git commit -m "docs: [weekly|monthly] summary for [period]"
Weekly Template
# Week [N] Summary ([start-date] - [end-date])
## Overview
| Metric | Value |
|--------|-------|
| Sessions | [count] |
| Issues Closed | [count] |
| PRs Merged | [count] |
| Learnings Captured | [count] |
## Sessions
| Date | Task | Type | Status | Issue |
|------|------|------|--------|-------|
| MM-DD | [task description] | feat/fix/refactor | completed/pending | #N |
## Key Accomplishments
- [accomplishment 1]
- [accomplishment 2]
## Learnings Captured
- `kb/05-ai-reviewed/learnings/[path]` - [title]
## Knowledge Distilled
- `kb/02-patterns/[topic].md` - [title]
## Decisions Made
| Decision | Context | Rationale |
|----------|---------|-----------|
| [decision] | [context] | [rationale] |
## Open Items
- [ ] [carried over items from retrospectives]
## Next Week Focus
- [suggested focus areas based on open items]
Monthly Template
# [Month Year] Summary
## Overview
| Metric | Value |
|--------|-------|
| Total Sessions | [count] |
| Issues Closed | [count] |
| PRs Merged | [count] |
| Learnings | [count] |
| Knowledge Base Updates | [count] |
## Weekly Breakdown
| Week | Sessions | Key Focus |
|------|----------|-----------|
| W1 | [count] | [focus] |
| W2 | [count] | [focus] |
| W3 | [count] | [focus] |
| W4 | [count] | [focus] |
## Top Accomplishments
1. [accomplishment]
2. [accomplishment]
3. [accomplishment]
## Patterns & Trends
- [observed pattern in work]
- [recurring themes]
## Open Items Carried Over
- [ ] [items still pending]
## Next Month Priorities
- [priority 1]
- [priority 2]
Related Commands
| Command | Purpose |
|---|---|
/td |
Create retrospective (data source) |
/mem |
Capture learnings (data source) |
/consolidate |
Consolidate auto-captured files |
/summary |
Generate summaries (you are here) |
04 同仓库更多 Skills
wait-what
Stop. That last message did not land: re-pitch it.
tdd
Test-driven development loop (red-green-refactor) with commit-based phase state and Jira traceability. Use when the user wants to build a feature or fix a bug test-first, mentions "tdd", "red-green-refactor", or "test-first". Replaces the tdg plugin — combines its commit/phase discipline with seam-based test quality rules from kb Testing Standards.
td
Creates post-task retrospectives with Before/After context and session documentation.
share
Shares knowledge across projects by copying to shared-knowledge directory with cross-project metadata.
session-analyzer
Analyzes git changes and creates retrospective drafts with Before/After context.
security-auditor
Audits code for security vulnerabilities including OWASP Top 10 and authentication issues.