project-memory

Organize Claude Code project memory into a CLAUDE.md with modular rules and path-specific globs.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill project-memory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-memory
Source: https://github.com/TheBushidoCollective/han/tree/main/core/skills/project-memory
Command: npx skills add https://github.com/TheBushidoCollective/han --skill project-memory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill sets up and organizes project-specific memory for Claude Code, enabling consistent behavior and guidance.

Core Features & Use Cases

  • Memory Hierarchy: Define and prioritize enterprise policy, user memory, project memory, modular rules, and local memory.
  • Project Instructions: Centralize project overview, conventions, and development commands for consistent assistance.
  • Path-Specific Rules: Optionally add rules targeting specific code paths.

Quick Start

Create a CLAUDE.md at the project root with development commands and architecture notes, then add a few path-specific rules if needed.

Frequently Asked Questions about project-memory

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

FAQPage Schema
How do I organize project memory to ensure Claude Code gives consistent responses?

Project memory organizes your development rules and conventions in a CLAUDE.md file at your project root. Claude Code reads this file to provide context-aware, consistent guidance aligned with your project's standards, policies, and practices.

What should I include in my project's CLAUDE.md file?

Include your project overview, development commands, architecture notes, and key conventions. CLAUDE.md centralizes project-specific guidance so Claude Code can maintain consistent behavior across all interactions within your codebase.

Can I create path-specific rules for different parts of my codebase?

Yes. Beyond the root CLAUDE.md, you can add path-specific rules using modular rule files and configure globs to target specific code paths. This enables tailored guidance for different components while maintaining a unified memory hierarchy.

How does the memory hierarchy work in project memory setup?

The memory hierarchy prioritizes enterprise policy, user memory, project memory, modular rules, and local memory in order. This structure ensures stable, shareable guidance that respects organizational policy while allowing project-level customization and local overrides.

Do I need dependencies or components installed to set up project memory?

No. Project memory requires no external dependencies or components. You create a CLAUDE.md file and optional rule modules directly in your project directory to establish context-aware guidance for Claude Code.

Why should I use project memory instead of repeating conventions in each conversation?

Project memory eliminates repetition and ensures consistency by encoding your rules once in a centralized file. Claude Code automatically applies these conventions to every interaction, reducing overhead and preventing drift in project guidance.