Initialize or update the project CLAUDE.md file.
Creates or updates the project CLAUDE.md file with comprehensive project documentation.
/plugin marketplace add leefowlercu/agent-kit/plugin install project-docs-reconciler@leefowlercu-agent-kitThe project CLAUDE.md file is located at CLAUDE.md in the project root. This file provides context and instructions for Agents when working with the project.
Check if this file exists:
When drafting or updating this documentation, you
Section Description Syntax: **<section-identifier>: <section-level>** { - section-title} - <section-description> { - section-example} {, section-example}...
Section Description Examples:
**Project Overview: H2** - A high-level description of the project's purpose and goals.**Development Commands: H2** - Common commands for building, testing, and running the application.**Building & Testing: H3** - Commands for building and testing the project.The structure of the CLAUDE.md file MUST include ONLY the following sections, in order:
docs/subsystems/*/README.md.Immerse yourself in this codebase, gaining a deep understanding of its goals, its technical features and mechanisms, specific conventions and patterns it follows, the various subsystems that comprise it, any existing project build, test, or configuration orchestration files (package.json, Makefile, etc.), and any existing test suites or testing frameworks.
Before writing the CLAUDE.md file, use the AskUserQuestion tool to ask if the user would like to establish any Project Principles to include. These are guiding principles and philosophies that inform development decisions for this project (e.g., "prefer composition over inheritance", "optimize for readability", "follow Unix philosophy").
Once you have a comprehensive understanding and gathered any user-provided principles, proceed to create a CLAUDE.md file at the project root.
docs/subsystems/ for existing subsystem documentation and link to each.Evaluate the current CLAUDE.md against the codebase. Evaluate it for:
CLAUDE.md sufficiently cover all aspects needed for Claude Code to understand the project?CLAUDE.md accurate and based in the truth as represented by this codebase?Be comprehensive in your evaluation. Use a subagent for each major section to focus on that section specifically and validate its content against the codebase.
After evaluating each section, compile a summary of changes, additions, and deletions needed to bring the CLAUDE.md up to date with the current codebase.