Skip to content

Add config-gated prompt templating - #20

Merged
MariaHov merged 1 commit into
mainfrom
feature/prompt-templating
Sep 17, 2026
Merged

MariaHov merged 1 commit into
mainfrom
feature/prompt-templating

Conversation

@MariaHov

Copy link
Copy Markdown
Collaborator

Summary

  • Adds config-gated prompt templating where {{placeholders}} create matching per-case fields
  • Each case can have different variable values, with a hideable full-prompt preview of the exact text sent to the model
  • Leaves Course 1 behavior unchanged unless features.promptTemplating is enabled

Test plan

  • With templating disabled, Course 1 UI is unchanged
  • Enable dynamicFields and confirm placeholders create case fields
  • Edit template text and confirm shared wording stays fixed while case values vary
  • Confirm full prompt preview opens by default and can be hidden
  • Confirm report.md includes variables and filled-in prompts
  • npm test

Made with Cursor

Placeholders like {{context}} and {{input}} drive case fields and a hideable full-prompt preview, without changing Course 1 defaults.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 1c52f89e-85f1-47ab-8dc6-71b1e5ee95f8


Comment @coderabbitai help to get the list of available commands.

@MariaHov
MariaHov merged commit 80c4e62 into main Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant