Back to Skills

context-preservation

majiayu000
Updated Today
1 views
58
9
58
View on GitHub
Metaautomation

About

This skill generates structured summaries to maintain context when transitioning between workflow phases or sessions. It provides templates for phase handoffs, progress tracking, and session resumption. Use it to ensure continuity when handing off between RQPIV phases or sub-agents.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/context-preservation

Copy and paste this command in Claude Code to install this skill

Documentation

Context Preservation Skill

Purpose

Maintain context continuity across phases and sessions.

When to Use

  • Transitioning between RQPIV phases
  • Handing off between sub-agents
  • Pausing work for later resumption
  • Creating progress reports

Templates

Phase Handoff

Reference: templates/handoff-template.md

Use when transitioning from one phase to another. Captures:

  • Summary of completed work
  • Key findings and decisions
  • Artifacts created
  • Recommendations for next phase

Progress Summary

Reference: templates/progress-summary.md

Use for tracking ongoing work:

  • Completed tasks
  • In-progress items
  • Blocked items
  • Next steps

Session Resume

Reference: templates/session-resume.md

Use when resuming interrupted work:

  • Last known state
  • Files to reload
  • Continue point

Context Preservation Process

At Phase Start

  1. Read previous phase handoff
  2. Load relevant artifacts
  3. Note key constraints/decisions
  4. Begin phase work

During Phase

  1. Update progress summary as work progresses
  2. Document significant decisions
  3. Note any blockers or issues

At Phase End

  1. Create comprehensive handoff
  2. List all artifacts created
  3. Provide recommendations
  4. Clear next actions

Artifact Naming Convention

{type}-{session}-{timestamp}.md

Examples:

  • handoff-auth-feature-20251215.md
  • progress-auth-feature-20251215-1430.md
  • session-resume-auth-feature.md

Storage Locations

Artifact TypeLocation
Handoffsplans/sessions/{session}/
Progressplans/sessions/{session}/
Resumeplans/sessions/{session}/

Best Practices

For Handoffs

  • Be concise but complete
  • Include file paths for referenced artifacts
  • Highlight decisions that affect future phases
  • Note any assumptions made

For Progress

  • Update frequently (after each significant action)
  • Be honest about blockers
  • Include time context

For Resume

  • Capture exact stopping point
  • List files to re-read
  • Include any temporary notes

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/context-preservation

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

Algorithmic Art Generation

Meta

This skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.

View skill

cloudflare-turnstile

Meta

This skill provides comprehensive guidance for implementing Cloudflare Turnstile as a CAPTCHA-alternative bot protection system. It covers integration for forms, login pages, API endpoints, and frameworks like React/Next.js/Hono, while handling invisible challenges that maintain user experience. Use it when migrating from reCAPTCHA, debugging error codes, or implementing token validation and E2E tests.

View skill