summarize-sessionlisted
Install: claude install-skill lbb00/ai-rules-sync
# Summarize Session
## Purpose
At the end of a productive coding session, analyze the conversation to extract reusable patterns and generate Claude Code artifacts (rules, skills, commands) that can accelerate future work.
## Instructions
1. **Review Session Activity**
- What problems were solved?
- What code was written or modified?
- What workflows were performed?
- What decisions were made and why?
2. **Identify Patterns**
**Rules Candidates** (coding standards, project conventions):
- Repeated code style corrections
- Error patterns that were fixed
- Best practices established
- Project-specific conventions
**Skills Candidates** (multi-step workflows):
- Complex operations performed multiple times
- Sequences of commands that go together
- Integration or deployment workflows
- Testing or validation procedures
**Commands Candidates** (single-action shortcuts):
- Frequently used command combinations
- Build/test/deploy shortcuts
- Common git operations
- Project-specific utilities
3. **Generate Artifacts**
For each identified pattern, create the appropriate artifact:
**Rules** → `.claude/rules/<name>/RULE.md`
```markdown
---
name: rule-name
description: Brief description
---
# Rule Name
## When to Apply
...
## Guidelines
...
```
**Skills** → `.claude/skills/<name>/SKILL.md`
```markdown
---
name: skill-name
description: Brief description
---
# S