CLAUDE ENGINEERING · LESSON 198 OF 278

The .claude Directory and Settings

Understand project configuration, rules, skills, agents, settings, and related assets stored under .claude.

What you will learn

Understand project configuration, rules, skills, agents, settings, and related assets stored under .claude.

In simple words

The .claude directory can hold project-scoped configuration and reusable agent assets. Team-owned configuration should be reviewable and versioned, while personal or secret information belongs outside shared source control.

Visual explanation: The .claude Directory and Settings

Trace how Project config becomes Shared behavior through .claude/.

WATCH THE IDEA

The .claude Directory and Settings

Playing
Project configthe broad field.claude/learns from examplesShared behaviorlearns layered features
  1. 1Observe: Project config
  2. 2Transformation: .claude/
  3. 3Outcome: Shared behavior

Observe: Project config. Trace how Project config becomes Shared behavior through .claude/.

The diagram highlights Project config, .claude/, Shared behavior. Use the labels to trace the main relationship from left to right.

Real-world example: Operational AI decision

A team applies the .claude directory and settings to a real business workflow.

What the team decides: Treat agent configuration as production configuration: review it, version it, and keep secrets out.

Risk to avoid: A strong technical concept still needs measurement, safeguards, and ownership in production.

Technical explanation

The .claude directory can hold project-scoped configuration and reusable agent assets. Team-owned configuration should be reviewable and versioned, while personal or secret information belongs outside shared source control.

Common misconception

This concept is not a guarantee of a correct outcome by itself. Its value depends on suitable evidence, careful implementation, and evaluation against the real task.

QUICK QUIZ

Why keep project-level Claude configuration in version control?

Practical application

Treat agent configuration as production configuration: review it, version it, and keep secrets out.

Key takeaway

Treat agent configuration as production configuration: review it, version it, and keep secrets out.

Next concept

Continue with Claude Code Permission Modes.

Engineering view

Treat agent configuration as production configuration: review it, version it, and keep secrets out.

Internals view

Understand project configuration, rules, skills, agents, settings, and related assets stored under .claude. The .claude directory can hold project-scoped configuration and reusable agent assets. Team-owned configuration should be reviewable and versioned, while personal or secret information belongs outside shared source control.

Architecture view

Consider the Project config → .claude/ → Shared behavior flow, and make the system's inputs, checks, and outcomes explicit.

Was this lesson helpful?

Lesson discussion

Comments are reviewed before publication. Keep discussion focused on learning and do not post private information.

Loading discussion…

Your quiz answer and current lesson are saved on this device. Sign in to explore account-backed learning features.

Content version 1 · Last reviewed 2026-10-16