Module project_templates

Module project_templates 

Source
Expand description

Jinja2 rendering for project templates (AGENTS.md, skills). Jinja2 rendering for project templates (AGENTS.md, skills).

Project templates may contain minijinja syntax ({% ... %} / {{ ... }}) that gets rendered with a WorktreeTemplateContext before being written to disk. Templates without Jinja2 syntax are returned unchanged.

Structs§

WorktreeTemplateContext
Context for rendering worktree-aware project templates.

Functions§

render_project_template
Render a project template with the given worktree context.