plugins/cc-meta/skills/distilling-plan-learnings/SKILL.md
--- name: distilling-plan-learnings description: Extracts decisions, rejected alternatives, and patterns from recent plans into a persistent learnings document. Use after completing a plan or sprint. compatibility: Designed for Claude Code metadata: allowed-tools: Read, Grep, Glob, Edit, Write argument-hint: [time-range] [output-path] context: fork stability: development --- # Plan-to-Learnings Distiller **Target**: $ARGUMENTS Extracts structured learnings from Claude Code plan files.
npx skillsauth add qte77/claude-code-utils-plugin plugins/cc-meta/skills/distilling-plan-learningsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Target: $ARGUMENTS
Extracts structured learnings from Claude Code plan files. Distills decisions made, alternatives rejected, and patterns discovered into a persistent document that compounds project knowledge over time.
| Position | Name | Required | Default | Description |
|----------|------|----------|---------|-------------|
| 1 | time-range | no | 7d | E.g. 7d, 30d, this-week. Filter plans by modification time. |
| 2 | output-path | no | docs/learnings/from-plans.md | Where to write/append output. |
Examples:
/distilling-plan-learnings # Last 7 days → docs/learnings/from-plans.md
/distilling-plan-learnings 30d # Last 30 days
/distilling-plan-learnings 7d ./my-learnings.md # Custom output path
~/.claude/
├── plans/*.md # Plan mode files (filtered by mtime)
/synthesizing-cc-bigpicture)Parse arguments — Apply defaults per Arguments table. Resolve output path. Create parent directories if needed.
Glob plans — Glob ~/.claude/plans/*.md. Filter by modification time
against the time-range argument. Sort by mtime descending (newest first).
If no plans match, report "No plans found in time range" and stop.
Read each plan — Read matching plan files sequentially. Extract content sections, noting plan title and date.
Extract learnings into three categories:
Format output — Structure with date headers per plan. Group by category within each plan section.
Write or append — If output file exists, append new entries below existing content with a separator. If new, write with header.
# Learnings from Plans
## <Plan Title> — <YYYY-MM-DD>
### Decisions Made
- <decision>: <rationale>
### Alternatives Rejected
- <alternative>: <why rejected>
### Patterns Discovered
- <pattern>: <context and implication>
---
development
Verify an external or AI-generated security report against the actual codebase before acting on it. Use when handed a scanner PDF, automated teardown, audit report, or bug-bounty submission — classifies every finding CONFIRMED / OVERSTATED / FALSE-POSITIVE / FABRICATED and salvages the real work items.
development
Audits a site's SEO and AI-search (GEO) readiness — meta tags, Open Graph/Twitter, JSON-LD, robots/llms conventions — and generates fixes. Use when reviewing search visibility, social previews, structured data, or LLM/AI-crawler discoverability.
development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.