context-sync

Merge session review findings, failure patterns, and lessons learned into feature context.md files.

Updated May 7, 2026
One-click install
npx skills add https://github.com/tmalcolm-0607/mad-council-claw --skill context-sync-tmalcolm-0607
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-sync
Source: https://github.com/tmalcolm-0607/mad-council-claw/tree/main/.claude/skills/context-sync
Command: npx skills add https://github.com/tmalcolm-0607/mad-council-claw --skill context-sync-tmalcolm-0607

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Feature context.md files often fall out of sync with actual session findings, failure patterns, and implementation learnings, leading to stale documentation, repeated mistakes, and misaligned team context for ongoing feature work.

Core Features & Use Cases

  • Automated Context Updates: Merges new failure log entries, updates recurring failure pattern counts, and adds exportable lessons learned to feature context files.
  • Drift Tracking & Alerts: Maintains review tracking metadata and flags pattern threshold alerts to surface recurring issues that need team-wide attention.
  • Auto-Archiving & Validation: Automatically archives old entries when files exceed size limits and validates context file structure before writing changes to prevent data loss.
  • Use Case: A development team running iterative session reviews for a feature can use this skill to automatically update the feature's context document after each review, eliminating manual documentation work and ensuring all team members have access to the latest insights and failure patterns.

Quick Start

Use the context-sync skill to update the active feature's context.md file with the latest session review findings, failure patterns, and lessons learned.

Frequently Asked Questions about context-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep feature context files aligned with session learnings automatically?

Synchronizing feature context.md files with session findings automatically merges failure log entries, updates recurring pattern counts, and appends exportable lessons learned to eliminate stale documentation and prevent repeated mistakes.

Why does feature documentation drift out of sync during iterative development?

Feature documentation drifts out of sync because session reviews generate new failure patterns and implementation learnings that require manual updates to the living context document, which often gets neglected during active development workflows.

What happens when a feature context file exceeds size limits during context synchronization?

When feature context files exceed size limits during synchronization, the system automatically archives old entries to keep the living context document manageable and enforces structural validation before writing changes to prevent data loss.

Can I track recurring failure patterns across multiple development sessions?

Yes, you can track recurring failure patterns across sessions by maintaining review tracking metadata and flagging pattern threshold alerts within the feature context file to surface recurring issues requiring team-wide attention.

Does context synchronization validate file structure before merging session findings?

Yes, context synchronization validates the feature context file structure before writing any merged failure logs or lessons learned, ensuring structural integrity and preventing data loss during automated documentation updates.

What is the best way to eliminate stale documentation in iterative feature development?

The best way to eliminate stale documentation in iterative feature development is automatically merging session review findings, failure patterns, and implementation learnings into the feature's living context document after every review cycle.