一键导入
memory-first-workflow
Workflow for checking memory before code exploration. Auto-loaded when answering questions about code, architecture, or patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow for checking memory before code exploration. Auto-loaded when answering questions about code, architecture, or patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prepare and publish a new gem release — bumps version across all required files, validates tests/linting/MCP server, commits, and creates the GitHub release. Use this skill when the user says "release", "publish a new version", "bump the version", "cut a release", "prepare for release", "ship it", or any variation of wanting to publish a new gem version. Also use when the user asks about the release process or what steps are needed to release.
Deep analysis of an external repository's architecture, patterns, and design decisions. Generates comprehensive influence document and updates improvements.md with prioritized recommendations.
Launch a local web dashboard for ClaudeMemory debugging and observability
Upgrade all Ruby gem dependencies to their latest versions with release note review and codebase alignment checks. Use this skill whenever the user asks to update, upgrade, or bump dependencies, gems, or packages — even casually like 'update my gems' or 'are my deps up to date?'
Incrementally implement feature improvements from docs/improvements.md with tests and atomic commits. Focuses on new functionality rather than refactoring.
Automatically install, configure, or upgrade ClaudeMemory
| name | memory-first-workflow |
| description | Workflow for checking memory before code exploration. Auto-loaded when answering questions about code, architecture, or patterns. |
| user-invocable | false |
When answering questions about code, architecture, patterns, decisions, or technical choices, follow this workflow:
Before reading files or exploring code, check if memory already has the answer:
memory.recall "<topic>"
Example queries:
memory.recall "authentication flow"memory.recall "database choice"memory.recall "error handling patterns"For specific types of questions, use targeted memory tools:
memory.decisions
Returns architectural decisions and constraints that may affect implementation.
memory.architecture
Returns framework choices, database selection, and architectural patterns.
memory.conventions
Returns coding style, naming conventions, and project standards.
memory.conflicts
Returns open disputes that need resolution.
If memory has sufficient information:
If memory has partial information:
If memory has no information:
When memory is insufficient, use file exploration tools:
Read for specific filesGrep for searching contentGlob for finding files by patternTask (Explore agent) for broad investigationsWhen presenting findings, clearly separate:
spec/support/"Memory provides instant access to distilled knowledge without re-reading hundreds of files.
Past decisions, lessons learned, and rationale are preserved in memory.
Recalled facts are concise compared to reading entire files.
Prevents contradicting previous decisions or duplicating solved problems.
Understanding past context leads to better decisions aligned with project history.
❌ Don't skip memory checks:
User: "What database do we use?"
Bad: *immediately reads config files*
Good: *checks memory.architecture first*
❌ Don't assume memory is wrong:
Bad: "Memory says PostgreSQL, let me verify by reading the config..."
Good: "Memory says PostgreSQL. Need any specific config details?"
❌ Don't ignore memory conflicts:
Bad: *finds conflict, picks one arbitrarily*
Good: "memory.conflicts shows authentication method disputed—let me investigate and resolve"
User asks: "How do we handle errors in API responses?"
Step 1: Check memory
memory.recall "error handling API"
memory.conventions
Step 2: Evaluate results
error and message keys"Step 3: Answer with citations
"From memory: We handle API errors by returning JSON with error and message keys. Client errors use 4xx status codes, server errors use 5xx. Is there a specific error case you're working with?"
Step 4: Only if needed, explore code If user asks: "Show me the error middleware" Then use Read/Grep to find the implementation.
This workflow is automatically loaded when you ask technical questions. You don't need to invoke it manually—it guides Claude's research process behind the scenes.