MANDATORY persistent memory system. Use BEFORE responding when you've made decisions, discovered preferences, found patterns, or completed debugging. Use when the user references past discussions or asks about what you remember.
Stores decisions, patterns, and preferences in persistent memory when learning occurs during coding tasks.
npx claudepluginhub zate/cc-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
You have persistent memory across conversations via ctx. Hooks automatically inject stored knowledge at session start and parse commands from your responses at session end.
BEFORE completing any response where you:
type="decision"type="fact"type="pattern"type="observation"type="hypothesis"type="open-question"This is not optional. You are a stateless AI. If you don't store it, it's gone.
Always include a tier: tag. Key question: Every session? --> pinned. Someday? --> reference. This task? --> working.
<!-- Pinned: critical, needed every session -->
<ctx:remember type="fact" tags="tier:pinned,project:myproject">
Always run tests before committing. User preference.
</ctx:remember>
<!-- Working: task-scoped, temporary -->
<ctx:remember type="observation" tags="tier:working,project:myproject">
Auth bug seems related to token refresh timing.
</ctx:remember>
<!-- Reference: durable but not needed every session -->
<ctx:remember type="decision" tags="tier:reference,project:myproject">
Chose PostgreSQL for multi-tenant concurrent write access.
</ctx:remember>
| Tier | Auto-Loaded? | Use For | Examples |
|---|---|---|---|
tier:pinned | Yes | Critical facts, foundational decisions, active conventions | "Always test code", "Uses Three.js + vanilla TS" |
tier:reference | No (use recall) | Durable knowledge, past decisions, resolved issues | "Chose PostgreSQL for multi-tenant" |
tier:working | Yes | Current task context, debugging, scratch | "Token refresh fails on expired tokens" |
tier:off-context | No | Archived, rarely needed | Completed task logs, old debugging |
| When you hear/think... | Type | Tier |
|---|---|---|
| "Please remember: always test our code" | fact | pinned |
| "We're using Three.js with vanilla TS" | decision | pinned |
| "This codebase uses InstancedMesh for geometry" | pattern | pinned |
| "We chose PostgreSQL for multi-tenant" | decision | reference |
| "The 404 was caused by missing PBR textures" (resolved) | observation | reference |
| "Debugging: token refresh fails on expired tokens" (in-progress) | observation | working |
| "Maybe the race is in cache invalidation" | hypothesis | working |
Recall (results injected on next prompt - use to access reference knowledge):
<ctx:recall query="type:decision AND tag:project:X"/>
Status check:
<ctx:status/>
Task boundaries:
<ctx:task name="feature-name" action="start"/>
<ctx:task name="feature-name" action="end"/>
Link nodes: <ctx:link from="ID1" to="ID2" type="DEPENDS_ON"/>
Summarize: <ctx:summarize nodes="ID1,ID2">Summary here.</ctx:summarize>
Supersede: <ctx:supersede old="ID1" new="ID2"/>
Expand: <ctx:expand node="ID1"/>
At the start of a task, recall relevant reference knowledge:
<ctx:recall query="type:decision AND tag:project:myproject"/>
This brings in past decisions without them cluttering every session.
| Thought | Reality |
|---|---|
| "This isn't important enough" | Future you has no memory of this session |
| "I'll remember naturally" | You won't. You're stateless. |
| "This is temporary" | Temporary facts become permanent gaps |
| "The user can just tell me again" | That's wasting their time |
| "I'm just exploring, nothing to store" | Exploration findings ARE knowledge |
| "I already stored something this session" | One fact doesn't cover a whole session |
recall and status results are injected on the next user promptproject:X tags for cross-project organizationClaude Code has a built-in auto memory system (MEMORY.md in ~/.claude/projects/<project>/memory/) that loads project-scoped notes into every conversation's system prompt. ctx is a separate structured knowledge graph. Both are loaded at session start, so duplicated content wastes context tokens.
Division of labor:
When you write to MEMORY.md, you MUST also evaluate ctx:
When you store in ctx, check MEMORY.md too: If the same fact exists in MEMORY.md, remove it from MEMORY.md to avoid duplication. ctx is authoritative (structured and versioned).
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.