Skip to main content

Module overview

Module overview 

Source
Expand description

Project overview generation and caching.

The /init command generates a project overview file using AI analysis. The overview captures the project architecture, key patterns, and development guidance.

The overview file is stored at MATRIX.md in the project root.

Structs§

ProjectOverview
Project overview containing the generated summary.
ProjectTypeConfig
Configuration for a project type, including detection and key files.

Constants§

MATRIXCODE_DIR
Directory name for matrixcode metadata.
OVERVIEW_FILENAME
Default filename for the cached project overview.
PROJECT_TYPE_CONFIGS
All supported project type configurations.
SRC_DIR
Source directory name for many project types.

Functions§

detect_project_type
Detect project type from configuration files.
should_ignore
Check if a path component should be ignored.
truncate_content
Truncate content to a maximum length, respecting char boundaries.