Help us improve
Share bugs, ideas, or general feedback.
From project-plugin
Distills Claude session insights into reusable rules, skill improvements, and justfile recipes. Updates existing artifacts at session end to capture learnings and avoid repetition.
npx claudepluginhub laurigates/claude-plugins --plugin project-pluginHow this skill is triggered — by the user, by Claude, or both
Slash command
/project-plugin:project-distillopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Distill session insights into reusable project knowledge.
Distills patterns from Claude Code work history, git logs, lessons, and memory to suggest new agents/skills, review roster quality, prune redundancies, or consolidate feedback into rules.
Extracts reusable rules from developer corrections during a coding session and persists them to CLAUDE.md or memory for future sessions.
Analyzes Claude Code sessions to improve CLAUDE.md instructions and capture learnings. Quick mode suggests CLAUDE.md tweaks; deep mode reviews problems, patterns, preferences, and gaps.
Share bugs, ideas, or general feedback.
Distill session insights into reusable project knowledge.
| Use this skill when... | Use alternative when... |
|---|---|
| End of session, want to capture learnings | Need to write a blog post -> /blog:post |
| Discovered a pattern worth reusing | Need to analyze git history for docs gaps -> /git:log-documentation |
| Found a CLI workflow worth saving as a recipe | Need to configure a justfile from scratch -> /configure:justfile |
| Want to update rules based on session experience | Need to check project infrastructure -> /configure:status |
Before proposing any artifact, evaluate: Does it update an existing one? Does an existing one already cover this? Is this genuinely new and reusable? See REFERENCE.md for detailed evaluation criteria.
find . -maxdepth 1 -name '.git' -type dfind . -maxdepth 1 \( -name 'justfile' -o -name 'Justfile' \) -print -quitfind .claude/rules -name '*.md' -type f| Parameter | Description |
|---|---|
--rules | Only analyze potential rule updates |
--skills | Only analyze potential skill updates |
--recipes | Only analyze potential justfile recipe updates |
--all | Analyze all three categories (default) |
--dry-run | Show proposals without applying changes |
Minimize LLM round-trips: batch file reads in a single response, combine evaluation and redundancy checking in one pass, complete one category before starting the next.
Execute this session distillation workflow:
git log --oneline --max-count=20 and git log --stat --oneline --max-count=10When --all: complete rules -> skills -> recipes. Do not interleave.
Rules (.claude/rules/*.md): Glob all rule files, Read ALL in one response, evaluate each insight against existing rules in one pass (update/skip/remove/merge/add).
Skills: Glob relevant skill files (target specific plugins from Step 1), Read in one response, evaluate in one pass.
Recipes: Run just --dump --dump-format json, evaluate session commands against loaded recipes in one pass.
Categorize as: [UPDATE], [SKIP], [NEW], or [REDUNDANT] with file paths and reasons.
If not --dry-run: use AskUserQuestion to confirm each category, then edit/create/remove.
Output concise summary of changes made.
| Context | Command |
|---|---|
| Session diff summary | git log --stat --oneline --max-count=10 |
| Recent commits | git log --oneline --max-count=20 |
| List justfile recipes | just --list |
| Dump justfile as JSON | just --dump --dump-format json |
| Find rules | Glob .claude/rules/*.md |
| Batch-read all rules | Glob then Read all results in one response |