一键导入
memory-promote
Move a specific memory entry to a durable destination. Validates against routing rules in memory/README.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Move a specific memory entry to a durable destination. Validates against routing rules in memory/README.md.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.
Break a plan, spec, or PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices, and publish them to the repo's GitHub Project board. Use when user wants to convert a plan into issues, create implementation tickets, or break down work into issues.
Triage open dependency and chore PRs — CI state, breaking-change check, safe-to-merge classification with reasoning. The user rules on the list; merging the safe ones follows their OK. Argument: none, or "merge" to pre-request merge of everything classified safe.
| name | memory-promote |
| description | Move a specific memory entry to a durable destination. Validates against routing rules in memory/README.md. |
| argument-hint | <from-description> <to-destination> (e.g. 'sqlcmd quoting trick' tools/sql-server) |
You are running the /memory-promote command. The user wants to move one specific memory entry to one specific destination. Granular alternative to /memory-dream.
Read the routing rules at ~/.claude/memory/README.md first if not already in context.
Expected form: /memory-promote <from-description> <to-destination>
<from-description>: a phrase identifying the source entry. Could be a quote, a topic name, or a date+timestamp (e.g. "today's 14:30 sql-server bullet"). If unclear, ask for clarification.<to-destination>: one of:
<rule-name> → ~/.claude/memory/<rule-name>.md (top-level rule file; one rule per file, kebab-case)tools/<X> → ~/.claude/memory/tools/<X>.mddomain/<X> → ~/.claude/memory/domain/<X>.mdrepo/<rule-name>, repo/tools/<X>, repo/domain/<X> → expands to <git-root>/.claude/memory/.... Requires cwd inside a git repo.If $ARGUMENTS is empty, ask for both source and destination.
Identify the source entry: search dailies first (~/.claude/memory/daily/*.md), then global durables, then repo durables. If multiple matches, list them and ask which.
Identify the target destination from the second argument. If the destination is repo/... and cwd isn't in a git repo, abort with a clear message.
Validate against the routing rules:
Show the proposed move:
Wait for approval.
Apply:
## HH:MM — topic section from the daily file. Content now lives in the destination; keeping it in the daily is duplication.MEMORY.md index in the destination store: bump the last-updated date for the destination file. If a new file was created, also add a new descriptive index entry.~/.claude/projects/<mapped-cwd>/memory/./memory-dream instead.