Module common

Module common 

Source

Structs§

ChainProvider
FileProvider
Generic file-based provider for loading items from the filesystem.
InMemoryProvider
IndexRegistry
Generic registry for index entries.
LoadedEntry
Loaded entry with index metadata and content.
OutputStyleLookupStrategy
Lookup strategy for output styles (<name>.md in .claude/output-styles/).
ParsedDocument
Parsed document containing frontmatter metadata and body content.
SkillLookupStrategy
Lookup strategy for skills.
SubagentLookupStrategy
Lookup strategy for subagents (<name>.md in .claude/agents/).

Enums§

ContentSource
Source location for loading content on-demand.
SourceType

Traits§

DocumentLoader
Trait for loading items from files.
Index
Core trait for index entries in the progressive disclosure pattern.
LookupStrategy
Trait for defining file lookup strategies.
Named
PathMatched
Trait for index entries that support path-based filtering.
Provider
ToolRestricted

Functions§

home_dir
Get the user’s home directory.
is_markdown
is_skill_file
load_files
parse_frontmatter
Parse frontmatter from content, returning structured metadata and body.
strip_frontmatter
Strip YAML frontmatter from content, returning body only.