Archive session learnings, debugging solutions, and deployment logs to .archive/yyyy-mm-dd/ as indexed markdown with searchable tags. Use when completing a significant task, resolving a tricky bug, deploying, or when the user says \"archive this\". Maintains .archive/MEMORY.md index for cross-session knowledge reuse.
Add this skill
npx mdskills install ReScienceLab/archiveSolid knowledge management workflow with clear triggers and index-based retrieval strategy
1---2name: archive3description: "Archive session learnings, debugging solutions, and deployment logs to .archive/yyyy-mm-dd/ as indexed markdown with searchable tags. Use when completing a significant task, resolving a tricky bug, deploying, or when the user says \"archive this\". Maintains .archive/MEMORY.md index for cross-session knowledge reuse."4---56# Archive Skill78Capture, index, and reuse project knowledge across sessions.910## When to Archive1112- After completing a significant task (deploy, migration, major feature)13- After resolving a tricky debugging session14- When the user says "archive this"15- After any multi-step process with learnings worth preserving1617## When to Consult Archives1819- Before debugging infrastructure, deploy, or CI issues20- Before repeating a process done in a past session21- When encountering an error that may have been solved before2223**Search**: `grep -ri "keyword" .archive/`24**Index**: `.archive/MEMORY.md`2526## Archive Workflow27281. Read `.archive/MEMORY.md` — check for related existing archives292. Create `.archive/YYYY-MM-DD/` directory if needed303. Write markdown file with YAML frontmatter (see `references/TEMPLATE.md`)314. **Update `.archive/MEMORY.md`**: add one-line entry under the right category325. If related archives exist, add `related` field in frontmatter3334## Lookup Workflow35361. Read `.archive/MEMORY.md` to find relevant entries372. Read the specific archive file for detailed context383. Apply learnings to current task3940## Categories4142- **infrastructure** — AWS, ECS, IAM, networking, secrets, CloudWatch43- **release** — TestFlight, versioning, Git Flow, CHANGELOG44- **debugging** — Bug fixes, error resolution, gotchas45- **feature** — Feature design, implementation notes46- **design** — UI/UX, icons, visual design4748## Rules4950- `.archive/` must be in `.gitignore` — local-only notes51- Keep entries concise but reproducible52- Focus on **problems, fixes, and exact commands**53- Always update MEMORY.md after creating an archive54- Use descriptive filenames (e.g., `cloudwatch-logging.md` not `session.md`)55- Include YAML frontmatter with `tags`, `category`, and optional `related`56
Full transparency — inspect the skill content before installing.