mcpbeat

Code Refactoring Context Restore

dokhacgiakhoa/code-refactoring-context-restore

Use when working with code refactoring context restore

2k tokens
context cost
the whole folder, loaded on every use
12
files
instructions only
0
copies elsewhere
how many repositories repackaged it
505
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI --skill code-refactoring-context-restore

What comes with it

4 630 bytes besides the instruction
sub-skills/1-semantic-vector-search.md
sub-skills/2-relevance-filtering-and-ranking.md
sub-skills/3-context-rehydration-patterns.md
sub-skills/4-session-state-reconstruction.md
sub-skills/5-context-merging-and-conflict-resolution.md
sub-skills/6-incremental-context-loading.md
sub-skills/7-context-validation-and-integrity-checks.md
sub-skills/8-performance-optimization.md
sub-skills/input-parameters.md
sub-skills/workflow-1-project-resumption.md
sub-skills/workflow-2-cross-project-knowledge-transfer.md

The instruction itself

19 sections, as written by the author

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

2. 1. Semantic Vector Search

3. 2. Relevance Filtering and Ranking

4. 3. Context Rehydration Patterns

5. 4. Session State Reconstruction

6. 5. Context Merging and Conflict Resolution

7. 6. Incremental Context Loading

8. 7. Context Validation and Integrity Checks

9. 8. Performance Optimization

10. Workflow 1: Project Resumption

11. Workflow 2: Cross-Project Knowledge Transfer

How to use it

Copy the folder

Take dokhacgiakhoa/code-refactoring-context-restore from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.