用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill project-memory命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | project-memory |
| description | Persist context across sessions using external memory files |
Maintain persistent context across Claude Code sessions using external files as memory.
Since Claude's context resets between sessions, we use files to persist important information:
| File | Purpose | Update Frequency |
|---|---|---|
docs/status.md | Current work status | Every session |
docs/tech-debt.md | Known technical debt | When identified |
docs/decisions/*.md | Architecture decisions | When made |
When starting a new session:
Read status file
cat docs/status.md
Check git state
git log --oneline -10
git status
Review recent decisions
ls -la docs/decisions/ | tail -5
Summarize context before proceeding with new work
Before ending a session:
docs/decisions/# Project Status
## Last Updated
[Timestamp]
## Current Focus
[Main area of work]
## In Progress
- [ ] [Task 1] - [status notes]
- [ ] [Task 2] - [status notes]
## Completed Recently
- [x] [Completed task]
## Blockers
- [Blocker description] - [what's needed]
## Decisions Made
- [Decision]: [rationale]
## Context for Next Session
- [Important point 1]
- [Important point 2]
- [Where to pick up]
Create docs/decisions/YYYY-MM-DD-topic.md:
# [Number]. [Title]
## Status
[Proposed | Accepted | Deprecated]
## Context
[Why this decision is needed]
## Decision
[What we decided]
## Consequences
[What this means going forward]
Add to docs/tech-debt.md when noticing debt:
## [Priority Level]
| Item | Location | Description | Added |
|------|----------|-------------|-------|
| [Name] | [file:line] | [Description] | [Date] |
Git history serves as additional memory:
# Recent activity
git log --oneline -20
# What changed in a file
git log -p --follow -- path/to/file
# Search commits for keywords
git log --grep="keyword"
# Changes in current branch
git log main..HEAD --oneline
Before handing off to another session or team member:
docs/status.md is current