skills/memory-triage/SKILL.md
Review Claude Code auto memory accumulated during a task and promote valuable findings to shared project config (CLAUDE.md, .claude/rules/, or global CLAUDE.md). Use this skill when finishing a branch, completing a task, wrapping up work, or anytime you want to review what Claude learned and decide what the team should know. Also use when the Stop hook reminds you about pending memory entries. Triggers on "triage memory", "review memory", "promote memory", "memory triage", "what did we learn", "clean up memory", "share learnings", "anything worth keeping", or when the user asks about knowledge accumulated during a session.
npx skillsauth add catalan-adobe/skills memory-triageInstall 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.
Find the auto memory directory for the current project. Use the /memory
slash command output or resolve it directly:
git rev-parse --show-toplevel (or use cwd if
not in a git repo)/, replace remaining / with -,
prepend -~/.claude/projects/<encoded-path>/memory/Read MEMORY.md and every other .md file in that directory.
If the directory doesn't exist or contains no .md files with content:
"No auto memory found for this project. Nothing to triage."
Stop here.
Parse each file into distinct entries using markdown headers (#, ##,
###) and top-level bullet groups as boundaries.
Classify each entry as either a promote candidate or ephemeral. The core question: would a different developer benefit from knowing this?
See classification examples for detailed examples of each category.
When uncertain, classify as promote candidate. A false positive costs the user one "discard" decision. A false negative buries useful knowledge.
Before presenting, scan each candidate for secrets: API keys, tokens,
passwords, connection strings, credentials, or any string matching
common secret patterns (e.g., sk-..., ghp_..., Bearer ...,
-----BEGIN). Replace values with [REDACTED]. Never surface raw
secrets in conversation history.
Present candidates grouped by theme with rationale. See output formats for format.
If there are no promote candidates:
"All N entries look task-specific. Nothing to promote. Say 'show filtered' if you want to review them anyway."
For each promote candidate, ask: promote or discard?
When promoting, ask where it should go:
./CLAUDE.md or ./.claude/CLAUDE.md
(whichever exists; prefer .claude/CLAUDE.md if neither exists).claude/rules/<topic>.md (suggest a topic name
based on the entry's theme, e.g., debugging.md, ci.md)~/.claude/CLAUDE.md (for rules that apply
across all projects on this machine)Support batch decisions: if the user says "promote all debugging entries to rules/debugging.md", do it in one pass.
If the user asks to "show filtered", present the ephemeral entries with the same promote/discard options.
For each promoted entry:
Report a summary of promoted, discarded, and unchanged entries. See output formats for format.
tools
Reduce a webpage to a structural skeleton with semantic tokens. Two-phase pipeline: Phase 1 injects a browser script that tokenizes content ({TEXT}, {HEADING:n}, {IMAGE:WxH}, {CTA:label}, {LINK:label}, {INPUT:type}, {VIDEO}, {ICON}). Phase 2 applies LLM structural reasoning to collapse repeated patterns ({REPEAT:N}), remove decorative wrappers, strip utility classes, and produce skeleton.html + manifest.json. Use when migrating pages to EDS, analyzing page structure, extracting page blueprints, or preparing input for GenAI block generation. Triggers on: reduce page, page skeleton, page blueprint, extract structure, tokenize page, page reduction, structural skeleton, reduce URL.
tools
Capture a spatial hierarchy of rendered DOM elements from any webpage. Injects a pre-built script via playwright-cli that walks the DOM, detects layout grids, extracts backgrounds, prunes invisible nodes, promotes elements rendered outside their DOM parent (overlays, fixed navs, modals), and tags overlay nodes with occlusion metadata. Returns three outputs: LLM-friendly indented text, structured JSON tree, and a nodeMap mapping positional IDs to CSS selectors with background and overlay data. Use before page decomposition, overlay detection, brand extraction, or any workflow that needs structured page analysis. Triggers on: visual tree, capture tree, page structure, page hierarchy, DOM tree, capture visual, page analysis, extract tree.
tools
Summarize any video by analyzing both audio and visuals. Downloads via yt-dlp, extracts transcript (YouTube captions or Whisper), pulls scene-detected keyframes, and produces a multimodal summary with clickable timestamped YouTube links. Use this skill whenever the user wants to summarize a YouTube video, digest a talk or tutorial, get notes from a video, extract key points from a recording, or says things like "tl;dw", "summarize this video", "what's in this video", or pastes a YouTube URL and asks for a summary. Also triggers for non-YouTube URLs that yt-dlp supports.
development
Design and build web UIs with Adobe Spectrum 2 design system. Applies S2 layout principles, visual hierarchy, spacing, and component composition to produce accessible interfaces. Outputs vanilla CSS with Spectrum tokens (static pages) or Spectrum Web Components (interactive apps). Recommends tier based on complexity. Covers sp-theme setup, side-effect imports, overlay system, form patterns, --mod-* token customization, and 14 critical gotchas. Use for: spectrum 2 web, SWC, sp-button, sp-theme, build UI with spectrum, S2 layout, spectrum application, adobe design system, web component form, spectrum overlay.