session-memory
Mandatory memory persistence system across session resets using three markdown surfaces in .claude/cc10x/. Iron law - every workflow must load at start and update at end.
a5c-ai · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add a5c-ai/babysitter --skill session-memory技能说明
name: session-memory description: Mandatory memory persistence system across session resets using three markdown surfaces in .claude/cc10x/. Iron law - every workflow must load at start and update at end. allowed-tools: Read, Write, Edit, Bash, Grep, Glob graph: domains: [domain:software-engineering] skillAreas: [skill-area:agentic-loops, skill-area:orchestration-loop] workflows: [workflow:feature-development] topics: [topic:developer-experience] roles: [role:tech-lead, role:backend-engineer] 2. patterns.md -- Project conventions, architecture decisions, common gotchas, reusable solutions 3. progress.md -- Task completion tracking with verification evidence
Iron Law
EVERY WORKFLOW MUST:
- LOAD memory at START (and before key decisions)
- UPDATE memory at END (and after learnings/decisions)
Stable Edit Anchors
Safe section headers for Edit operations:
- activeContext:
## Recent Changes,## Learnings,## References - patterns:
## Common Gotchas,## Project SKILL_HINTS - progress:
## Completed,## Verification
Read-Edit-Verify Pattern
- Read file
- Verify anchor exists
- Edit with exact
old_string - Read back to confirm
Tool Rules
- Use
Write()for NEW files (permission-free) - Use
Edit()for EXISTING files (permission-free) - Never use
Write()to overwrite existing files - Never compound commands (
mkdir && cat)
When to Use
- At the start of every CC10X workflow (load)
- At the end of every CC10X workflow (update)
- Before making key decisions (check patterns)
- After discovering learnings or gotchas (persist)
Agents Used
All CC10X agents use this skill. The cc10x-router manages load/update lifecycle.