archive

GitHub

用于归档会话学习、调试方案和部署日志的技能,通过索引和标签实现跨会话知识复用。

skills/archive/SKILL.md ReScienceLab/opc-skills

Trigger Scenarios

完成重大任务后 解决复杂bug后 执行部署流程后 用户指令'archive this'

Install

npx skills add ReScienceLab/opc-skills --skill archive -g -y
More Options

Use without installing

npx skills use ReScienceLab/opc-skills@archive

指定 Agent (Claude Code)

npx skills add ReScienceLab/opc-skills --skill archive -a claude-code -g -y

安装 repo 全部 skill

npx skills add ReScienceLab/opc-skills --all -g -y

预览 repo 内 skill

npx skills add ReScienceLab/opc-skills --list

SKILL.md

Frontmatter
{
    "name": "archive",
    "description": "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."
}

Archive Skill

Capture, index, and reuse project knowledge across sessions.

When to Archive

  • After completing a significant task (deploy, migration, major feature)
  • After resolving a tricky debugging session
  • When the user says "archive this"
  • After any multi-step process with learnings worth preserving

When to Consult Archives

  • Before debugging infrastructure, deploy, or CI issues
  • Before repeating a process done in a past session
  • When encountering an error that may have been solved before

Search: grep -ri "keyword" .archive/ Index: .archive/MEMORY.md

Archive Workflow

  1. Read .archive/MEMORY.md — check for related existing archives
  2. Create .archive/YYYY-MM-DD/ directory if needed
  3. Write markdown file with YAML frontmatter (see references/TEMPLATE.md)
  4. Update .archive/MEMORY.md: add one-line entry under the right category
  5. If related archives exist, add related field in frontmatter

Lookup Workflow

  1. Read .archive/MEMORY.md to find relevant entries
  2. Read the specific archive file for detailed context
  3. Apply learnings to current task

Categories

  • infrastructure — AWS, ECS, IAM, networking, secrets, CloudWatch
  • release — TestFlight, versioning, Git Flow, CHANGELOG
  • debugging — Bug fixes, error resolution, gotchas
  • feature — Feature design, implementation notes
  • design — UI/UX, icons, visual design

Rules

  • .archive/ must be in .gitignore — local-only notes
  • Keep entries concise but reproducible
  • Focus on problems, fixes, and exact commands
  • Always update MEMORY.md after creating an archive
  • Use descriptive filenames (e.g., cloudwatch-logging.md not session.md)
  • Include YAML frontmatter with tags, category, and optional related

Version History

  • bbee097 Current 2026-08-20 08:51

Same Skill Collection

.agents/skills/seo-geo/SKILL.md
skills/banner-creator/SKILL.md
skills/domain-hunter/SKILL.md
skills/logo-creator/SKILL.md
skills/nanobanana/SKILL.md
skills/reddit/SKILL.md
skills/requesthunt/SKILL.md
skills/seo-geo/SKILL.md
skills/twitter/SKILL.md
template/SKILL.md
.factory/skills/add-new-opc-skill/SKILL.md

Metadata

Files
0
Version
bbee097
Hash
7c8b4b02
Indexed
2026-08-20 08:51

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 13:40
浙ICP备14020137号-1 $mapa de visitantes$