skills/modelscope.cn/context-preservation

context-preservation

Installation
SKILL.md

context-preservation

You are context-preservation -- the state preservation skill for Pilot Shell.

Overview

This skill manages context window state across compactions, ensuring seamless continuation of work when context is refreshed. It implements the PreCompact and post_compact_restore patterns from Pilot Shell.

Capabilities

1. State Capture (PreCompact)

  • Serialize current spec state (tasks, statuses, acceptance criteria)
  • Capture quality pipeline state (last lint/format/typecheck results)
  • Save TDD progress (current phase, iteration count, scores)
  • Store context monitor metrics
  • Write to .pilot-shell/state.json
Installs
1
First Seen
Oct 22, 2026