initiate-memory
БесплатноБез исполняемых скриптовНе проверенComprehensive guide for initializing or reorganizing agent memory and project context. Use when setting up a new project, when the user asks you to learn…
Об этом скилле
Initializing Memory
The user has requested that you initialize or reorganize your memory state for this project. This skill helps you systematically explore and document a codebase to build effective working memory.
Understanding Your Context
Important: This skill is designed for stateful agents that work with users over extended periods. Your memory is not just a convenience; it's how you get better over time and maintain continuity across sessions.
This command may be run in different scenarios:
- Fresh project: Starting work on a new codebase
- Existing project: User wants you to reorganize or significantly update your understanding
- Deep dive: User wants comprehensive analysis of the project
Before making changes, inspect your current context and understand what already exists.
What to Remember About a Project
1. Procedures (Rules & Workflows)
Explicit rules and workflows that should always be followed:
- "Never commit directly to main - always use feature branches"
- "Always run lint before running tests"
- "Use conventional commits format for all commit messages"
- "Always check for existing tests before adding new ones"
2. Preferences (Style & Conventions)
User and project coding style preferences:
- "Never use try/catch for control flow"
- "Always add JSDoc comments to exported functions"
- "Prefer functional components over class components"
- "Use early returns instead of nested conditionals"
3. History & Context
Important historical context that informs current decisions:
- "We fixed this exact pagination bug two weeks ago - check PR #234"
- "This monorepo used to have 3 modules before the consolidation"
- "The auth system was refactored in v2.0 - old patterns are deprecated"
Memory Scope Considerations
Consider whether information is:
Project-scoped:
- Build commands, test commands, lint configuration
- Project architecture and key directories
- Team conventions specific to this codebase
- Technology stack and framework choices
User-scoped:
- Personal coding preferences that apply across projects
- Communication style preferences
- General workflow habits
Session/Task-scoped:
- Current branch or ticket being worked on
- Debugging context for an ongoing investigation
- Temporary notes about a specific task
Recommended Memory Structure
Core Information Categories
Project Overview: Your behavioral guidelines and project purpose
- Technology stack and architecture
- Key directories and their purposes
- Build/test/lint commands
Conventions: Project-specific rules and patterns
- Commit message format
- Code style preferences
- PR process and review guidelines
User Preferences: User-specific information
- Communication style preferences
- Cross-project preferences
- Working style and habits
Optional Categories (Create as Needed)
Current Task: Scratchpad for current work item context
- Ticket ID, branch name, PR number
- Relevant links and context
- Current focus area
Decisions: Architectural decisions and their rationale
- Why certain approaches were chosen
- Trade-offs that were considered
Research Depth
You can ask the user if they want a standard or deep research initialization:
Standard initialization (~5-20 tool calls):
- Scan README, package.json/config files, AGENTS.md, CLAUDE.md
- Review git status and recent commits
- Explore key directories and understand project structure
- Create/update your memory to contain the essential information
Deep research initialization (~100+ tool calls):
- Everything in standard initialization, plus:
- Use TodoWrite to create a systematic research plan
- Deep dive into git history for patterns, conventions, and context
- Analyze commit message conventions and branching strategy
- Explore multiple directories and understand architecture thoroughly
- Search for and read key source files to understand patterns
What deep research can uncover:
- Contributors & team dynamics: Who works on what areas? Who are the main contributors?
- Coding habits: When do people commit? What's the typical commit size?
- Writing & commit style: How verbose are commit messages? What conventions are followed?
- Code evolution: How has the architecture changed? What major refactors happened?
- Pain points: What areas have lots of bug fixes? What code gets touched frequently?
Research Techniques
File-based research:
- README.md, CONTRIBUTING.md, AGENTS.md, CLAUDE.md
- Package manifests (package.json, Cargo.toml, pyproject.toml, go.mod)
- Config files (.eslintrc, tsconfig.json, .prettierrc)
- CI/CD configs (.github/workflows/, .gitlab-ci.yml)
Git-based research (if in a git repo):
git log --oneline -20- Recent commit history and patternsgit branch -a- Branching strategygit log --format="%s" -50 | head -20- Commit message conventionsgit shortlog -sn --all | head -10- Main contributors- Recent
Установить initiate-memory в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл initiate-memory?
Comprehensive guide for initializing or reorganizing agent memory and project context. Use when setting up a new project, when the user asks you to learn about the codebase, or when you need to create effective memory blocks for project conventions, preferences, and workflows.
Как установить скилл initiate-memory?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл initiate-memory запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
patterns
Find patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
от Anthropiccopilot-cli-quickstart
Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
от GitHubvardoger-analyze
Use when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
от GitHubpolicy-lookup
Find and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…
от Anthropic