Skip to content

Richer Templating Facilities #77

@luketych

Description

@luketych

Requesting a feature that allows md files to be injected at certain points, rather than simply concatenated.

Why is this useful?
As it becomes increasingly important to manage context, specifically the AGENTS.md, CLAUDE.md, etc file, which are similar to the agent's working memory, it will be important to have options for managing, building and modifying these files on-the-fly.

Currently, these files are just concatenations, which becomes messy for the human-reader and the llm-reader. Structured files add value for both the agent and the human, and maintaining a monolithic AGENTS file is difficult.

In example,

index.md:

## On Placeholders

Placeholders can be placed at any point inside of a md file and will be replaced by the contents of the actual file.

{{placeholder}}
[[details.md]]
{{/placeholder}}

details.md:

## More Details
Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. 

combined.md:

## On Placeholders

Placeholders can be placed at any point inside of a md file and will be replaced by the contents of the actual file.

## More Details
Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. Here are more details. 

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions