Skip to content

feat: add a {{helpDir}} variable to the LLM prompt library (3.11.13) - #1113

Merged
ddehilster merged 1 commit into
VisualText:masterfrom
ddehilster:feat/prompt-help-dir
Jul 27, 2026
Merged

ddehilster merged 1 commit into
VisualText:masterfrom
ddehilster:feat/prompt-help-dir

Conversation

@ddehilster

Copy link
Copy Markdown
Member

Prompt files under Help/markdown/vscode/prompts get machine-specific paths substituted into {{...}} placeholders, but there was no placeholder for the help markdown itself — so a prompt had no way to tell an LLM where the per-function reference pages live.

Adds helpDir to promptVariables(), resolving to <VisualText dir>/Help/markdown. That directory covers both the per-function/variable/construct pages sitting directly under markdown/ and the vscode/ guides, including home.md.

Paired with VisualText/visualtext-files#199, which uses {{helpDir}} in the Prime Claude for NLP++ prompt.

Version bumped to 3.11.13 with a CHANGELOG entry; dist/extension.js rebuilt with npm run webpack-prod.

🤖 Generated with Claude Code

Prompt files under Help/markdown/vscode/prompts get machine-specific paths
substituted into {{...}} placeholders, but there was no placeholder for the
help markdown itself -- so a prompt could not tell an LLM where the
per-function reference pages live.

Adds helpDir to promptVariables(), resolving to <VisualText dir>/Help/markdown.
That covers both the function/variable/construct pages directly under markdown/
and the vscode/ guides, including home.md.

The Prime Claude for NLP++ prompt in visualtext-files uses it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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