Skip to content
Back to skills

Summarize Session

ASecurity

Summarize the current session and generate reusable Claude rules, skills, or commands.

  • 37 stars
  • 0 votes
  • 0 copies
  • 17 views
  • Added February 7, 2026
developmenttypescriptgotestinggit

Works with

  • claude code

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add lbb00/ai-rules-sync --skill summarize-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Summarize Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Summarize Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lbb00-summarize-session/badge)](https://www.skillsdirectory.com/skills/lbb00-summarize-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: summarize-session
description: Summarize the current session and generate reusable Claude rules, skills, or commands.
---

# 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
   ---

   # Skill Name

   ## Instructions
   1. Step 1
   2. Step 2
   ...
   ```

   **Commands** → `.claude/commands/<name>.md`
   ```markdown
   # Command Name

   Description of what this command does.

   ## Steps
   1. ...
   2. ...
   ```

4. **Validate Artifacts**
   - Ensure artifacts are general enough to be reusable
   - Remove session-specific details
   - Test that instructions are complete and actionable

5. **Document Session Summary**
   - What was accomplished
   - What artifacts were generated
   - Recommendations for next session

## Output Format

```markdown
## Session Summary

### Accomplished
- [List of completed tasks]

### Generated Artifacts

#### Rules
- `<rule-name>`: <description>

#### Skills
- `<skill-name>`: <description>

#### Commands
- `<command-name>`: <description>

### Next Steps
- [Recommendations for future work]
```

## Examples

### Example: After Adding a New Adapter

**Identified Pattern**: Multi-step process for adding adapters
**Generated**: Skill `new-adapter`

### Example: After Fixing Multiple Type Errors

**Identified Pattern**: TypeScript strict mode conventions
**Generated**: Rule `typescript-conventions`

### Example: After Repeated Test Commands

**Identified Pattern**: Test-then-commit workflow
**Generated**: Command `test-and-commit`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.