Expand description
AGENTS.md Parser
This module provides functionality to parse AGENTS.md files and inject their content into system prompts. It supports:
- Searching for AGENTS.md in project root and .kiro directory
- Parsing markdown content and extracting instructions
- Extracting file references from markdown links
- Injecting parsed content into system prompts
§Example
ⓘ
use aster::context::agents_md_parser::AgentsMdParser;
let config = AgentsMdParser::parse("/path/to/project").await?;
if let Some(config) = config {
println!("Found AGENTS.md with {} file references", config.files.len());
}Structs§
- Agents
MdParser - AGENTS.md parser for extracting project-specific instructions.