Skip to content

help(prompts): reorder LLM prompts, add chemical-formulas example, add hover descriptions - #178

Merged
ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:help/prompts-reorder-tooltips
Jul 1, 2026
Merged

ddehilster merged 1 commit into
VisualText:mainfrom
ddehilster:help/prompts-reorder-tooltips

Conversation

@ddehilster

Copy link
Copy Markdown
Member

What

Follow-up to the LLM prompt library (#177):

  • New first prompt — 01-chemical-formulas.md ("From scratch: chemical formulas"): a concrete, end-to-end example that gathers Wikipedia chemistry excerpts, then builds an NLP++ analyzer that finds chemical formulas and breaks each into its elements and atom counts, emitting JSON.
  • Reordered so the worked example is first; the generic build prompt follows.
  • Shorter titles — "Harden analyzer" and "Create Dictionaries & KBs".
  • Hover descriptions — each prompt gets a <!-- desc: ... --> line. The Help-tree renders it as the tooltip; the prompt-opener strips it so it never lands in the text you paste into the LLM.

Prompt list after this change

  1. From scratch: chemical formulas
  2. NLP++ local install — build an analyzer
  3. Harden analyzer
  4. Create Dictionaries & KBs

Note

The tooltip rendering + desc stripping is a companion change in vscode-nlp (helpView.ts), submitted separately. This PR is the content only; it degrades gracefully on older extensions (the desc line is an HTML comment, so it stays hidden even if not stripped).

🤖 Generated with Claude Code

…ver descriptions

- Add "From scratch: chemical formulas" as the first prompt — a concrete,
  end-to-end analyzer build example.
- Shorten titles: "Harden analyzer" and "Create Dictionaries & KBs".
- Add a `<!-- desc: ... -->` line to each prompt; the extension surfaces it
  as the Help-tree hover tooltip and strips it from the opened prompt.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ddehilster
ddehilster merged commit fb39c0c into VisualText:main Jul 1, 2026
1 check 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