From magic-powers
Use when leveraging Claude Code's auto-memory system — understanding what Claude saves to memory, writing good memory entries manually, structuring the memory directory, and using memory for project continuity across sessions.
npx claudepluginhub kienbui1995/magic-powers --plugin magic-powersThis skill uses the workspace's default tool permissions.
Claude Code has a built-in memory system that persists context across sessions. Without it, every session starts cold — Claude has no knowledge of past decisions, your preferences, or what was built last week. With a well-managed memory directory, Claude picks up exactly where you left off: knowing your role, your stack, your conventions, and the current state of the project.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Claude Code has a built-in memory system that persists context across sessions. Without it, every session starts cold — Claude has no knowledge of past decisions, your preferences, or what was built last week. With a well-managed memory directory, Claude picks up exactly where you left off: knowing your role, your stack, your conventions, and the current state of the project.
Claude Code has an auto-memory system in ~/.claude/projects/[project-hash]/memory/:
~/.claude/
CLAUDE.md ← global instructions (always loaded)
projects/
[project-hash]/
memory/
MEMORY.md ← index of all memory files (always loaded)
user_profile.md ← who the user is, preferences
project_context.md ← what the project is about
feedback_*.md ← corrections and learned preferences
reference_*.md ← external resources and links
Claude loads MEMORY.md on every session start and follows pointers to load relevant memory files. Keep the index concise — it is always loaded in full.
| Type | What to store | When auto-saved |
|---|---|---|
user | Role, skills, preferences, communication style | When user shares personal context |
project | Goals, decisions, current work, deadlines | When project state changes |
feedback | Corrections, do/don't preferences | When user corrects Claude |
reference | External URLs, tool locations, docs | When user mentions external resources |
---
name: user-coding-style
description: User's coding preferences and style requirements
type: user
---
User: Kien, Vietnamese communication preferred
Role: Solo AI builder, primarily Python + TypeScript
Experience: Senior, minimal explanation needed
Style: Direct, concise, no over-engineering
Key preference: Always use uv for Python package management, never pip
Test preference: pytest with fixtures, no mocking external services
Good memory entries are specific, actionable, and focused on preferences that change Claude's behavior. Avoid storing code snippets or file contents — those change and go stale.
Keep the index concise — it is loaded every session and truncated if too long:
# Memory Index
- [User profile](user_profile.md) — Kien, solo AI builder, Python/TS
- [Project: magic-powers](project_magic_powers.md) — Claude Code plugin, v1.9.0
- [Preferences](feedback_coding.md) — uv not pip, direct comms, no over-engineering
Rule: Keep MEMORY.md under 200 lines or later lines get cut off at load time.
At the end of significant sessions, update memory explicitly:
# project_context.md update (after a major session)
## Current State (updated 2026-04-08)
- Completed: MCP setup for postgres, github integrations
- In progress: Hook system for auto-testing on edit
- Blocked: Waiting for staging DB credentials from ops
- Next session: Wire up Stop hook to enforce pytest passing
This replaces the need to re-explain project state at the start of every session.
~/.claude/projects/[hash]/memory/claude-md-authoring (CLAUDE.md = instructions; memory = accumulated context — they complement each other)claude-project-settings (memory location is configured alongside other project settings)@technical-writer can help draft well-structured memory entries for complex projects