cds-prevention

Load and update project context files across sessions to prevent context drift.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/xanderscannell/Claude-CDS-Prevention --skill cds-prevention
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cds-prevention
Source: https://github.com/xanderscannell/Claude-CDS-Prevention/tree/main/skills/cds-prevention
Command: npx skills add https://github.com/xanderscannell/Claude-CDS-Prevention --skill cds-prevention

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CDS Prevention framework addresses context drift by preserving project state across sessions for AI assistants, preventing lost decisions and repeated mistakes.

Core Features & Use Cases

  • Load bootloader context from CLAUDE.md and/or AGENTS.md
  • Read and update .context files including CURRENT_STATUS.md, CONVENTIONS.md, ARCHITECTURE.md
  • Update status and bootloader focus at session end and create checkpoints when significant progress is made
  • Help teams maintain governance over decisions and architecture during long-running projects

Quick Start

Activate the CDS Prevention skill in a project and run /cds-init to bootstrap context management.

Frequently Asked Questions about cds-prevention

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

FAQPage Schema
How do I preserve project context across AI sessions to prevent lost decisions?

To preserve context across AI sessions, load and update bootloader files like CLAUDE.md and AGENTS.md alongside .context files to maintain persistent project state and prevent context drift.

What is context drift in AI assistants and how does it affect long-running software projects?

Context drift occurs when AI assistants lose project state between sessions, causing repeated mistakes and lost architecture decisions. It is prevented by reading and updating persistent .context files like CURRENT_STATUS.md and ARCHITECTURE.md.

How do I bootstrap context management for project conventions using CLAUDE.md?

You can bootstrap context management by activating a CDS Prevention skill and running /cds-init, which sets up CLAUDE.md, AGENTS.md, and .context files to track project conventions and checkpoints.

Does this approach work with AGENTS.md and .context files for session persistence?

Yes, session persistence works by reading bootloader files like AGENTS.md and updating .context files including CURRENT_STATUS.md, CONVENTIONS.md, and ARCHITECTURE.md at session end to save progress.

What's the best way to maintain architecture decisions and governance across AI coding sessions?

The best way to maintain architecture decisions is to update .context/ARCHITECTURE.md and create checkpoints when significant progress is made, ensuring teams maintain governance over decisions during long-running projects.

When do I need context files for AI assistants in software engineering?

You need context files like CURRENT_STATUS.md and CONVENTIONS.md when working on long-running software projects where AI assistants must remember previous architecture decisions and avoid repeating mistakes across sessions.