memory-management

Create and maintain repository-local CLAUDE.md files with XML-tag sections for architecture, patterns, conventions, and testing.

2|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/ryantking/agentctl --skill memory-management-ryantking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-management
Source: https://github.com/ryantking/agentctl/tree/main/internal/templates/templates/skills/memory-management
Command: npx skills add https://github.com/ryantking/agentctl --skill memory-management-ryantking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams create and maintain repository-local CLAUDE.md files that capture project-specific context, patterns, and conventions.

Core Features & Use Cases

  • Centralizes repository memory into CLAUDE.md to improve consistency across Claude interactions.
  • Documents architecture, patterns, conventions, testing, and deployment for quick onboarding.
  • Provides a repository-local reference to guide Claude's context-aware responses.

Quick Start

Initialize a repository-local CLAUDE.md under the .claude/CLAUDE.md path or project root. Populate with the architecture, patterns, conventions, testing, and deployment sections following the XML-tag guidance described in the memory-management skill guidelines.

Frequently Asked Questions about memory-management

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

FAQPage Schema
How do I centralize repository memory for Claude Code?

Centralize repository memory by creating a CLAUDE.md file to capture project-specific context, patterns, and conventions, improving consistency across Claude interactions. This skill helps teams initialize and maintain this repository-local reference.

What should I include in a CLAUDE.md file for project conventions?

A CLAUDE.md file should include XML-tagged sections for architecture, patterns, conventions, testing, and deployment. This skill provides the structure to document these elements for quick onboarding and context-aware responses.

How do I set up repository memory when initializing a project for Claude?

Set up repository memory by initializing a CLAUDE.md file under the .claude/ directory or project root. Populate it with architecture, patterns, conventions, and testing sections following the XML-tag guidance.

Why does Claude Code lose context about my repository conventions across sessions?

Claude Code loses context without a centralized memory file. This skill solves the problem by enforcing a concise CLAUDE.md structure that serves as a repository-local reference for ongoing projects.

Does the CLAUDE.md memory structure support troubleshooting guidance?

Yes, the CLAUDE.md memory structure supports optional dependencies and troubleshooting guidance sections alongside the core architecture, patterns, conventions, and testing XML tags.

When do I need to update repository memory in a CLAUDE.md file?

Update repository memory in a CLAUDE.md file when initializing repositories for Claude Code, modifying project conventions, or needing to reflect new architecture and testing patterns in ongoing projects.