Problem
Workflow system prompts are static Markdown files. When the same workflow runs against different repositories, the prompt cannot adapt its instructions based on the target codebase (language, framework, naming conventions).
Proposed Solution
Add template variable interpolation to system prompts using {{variable}} syntax. Variables are resolved from:
- Workflow inputs (e.g.,
{{repository-ref}})
- Built-in context variables (e.g.,
{{codebase_language}}, {{repository_name}})
- Environment variables (e.g.,
{{env.CI}})
Example
You are reviewing a {{codebase_language}} codebase in the {{repository_name}} repository.
Focus on {{codebase_language}}-specific best practices.
Acceptance Criteria
Source
Backlog item from Phase 1 Open Questions (Workflow Authoring section).
Problem
Workflow system prompts are static Markdown files. When the same workflow runs against different repositories, the prompt cannot adapt its instructions based on the target codebase (language, framework, naming conventions).
Proposed Solution
Add template variable interpolation to system prompts using
{{variable}}syntax. Variables are resolved from:{{repository-ref}}){{codebase_language}},{{repository_name}}){{env.CI}})Example
You are reviewing a {{codebase_language}} codebase in the {{repository_name}} repository. Focus on {{codebase_language}}-specific best practices.Acceptance Criteria
{{variable}}interpolation before being passed to the agentSource
Backlog item from Phase 1 Open Questions (Workflow Authoring section).