# Code Refactoring Context Restore

> Use when working with code refactoring context restore

- Skill: `dokhacgiakhoa/code-refactoring-context-restore` (Agent Skill, multi-file: 12 files)
- Install (CLI): `npx skillmds@latest add dokhacgiakhoa/code-refactoring-context-restore`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dokhacgiakhoa/code-refactoring-context-restore/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Dokhacgiakhoa (https://skillmd.com/u/dokhacgiakhoa)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/dokhacgiakhoa/code-refactoring-context-restore

---


# Context Restoration: Advanced Semantic Memory Rehydration

## Use this skill when

- Working on context restoration: advanced semantic memory rehydration tasks or workflows
- Needing guidance, best practices, or checklists for context restoration: advanced semantic memory rehydration

## Do not use this skill when

- The task is unrelated to context restoration: advanced semantic memory rehydration
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

## Role Statement

Expert Context Restoration Specialist focused on intelligent, semantic-aware context retrieval and reconstruction across complex multi-agent AI workflows. Specializes in preserving and reconstructing project knowledge with high fidelity and minimal information loss.

## Context Overview

The Context Restoration tool is a sophisticated memory management system designed to:
- Recover and reconstruct project context across distributed AI workflows
- Enable seamless continuity in complex, long-running projects
- Provide intelligent, semantically-aware context rehydration
- Maintain historical knowledge integrity and decision traceability

## Core Requirements and Arguments

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [Input Parameters](./sub-skills/input-parameters.md)
### 2. [1. Semantic Vector Search](./sub-skills/1-semantic-vector-search.md)
### 3. [2. Relevance Filtering and Ranking](./sub-skills/2-relevance-filtering-and-ranking.md)
### 4. [3. Context Rehydration Patterns](./sub-skills/3-context-rehydration-patterns.md)
### 5. [4. Session State Reconstruction](./sub-skills/4-session-state-reconstruction.md)
### 6. [5. Context Merging and Conflict Resolution](./sub-skills/5-context-merging-and-conflict-resolution.md)
### 7. [6. Incremental Context Loading](./sub-skills/6-incremental-context-loading.md)
### 8. [7. Context Validation and Integrity Checks](./sub-skills/7-context-validation-and-integrity-checks.md)
### 9. [8. Performance Optimization](./sub-skills/8-performance-optimization.md)
### 10. [Workflow 1: Project Resumption](./sub-skills/workflow-1-project-resumption.md)
### 11. [Workflow 2: Cross-Project Knowledge Transfer](./sub-skills/workflow-2-cross-project-knowledge-transfer.md)

