Tool Description: AskUserQuestion (preview field)

Instructions for using the HTML preview field on single-select question options to display visual artifacts like UI mockups, code snippets, and diagrams

Lord1Egypt Updated 2 repo stars

File contents

Preview feature: Use the optional preview field on options when presenting concrete artifacts that users need to visually compare:

  • HTML mockups of UI layouts or components
  • Formatted code snippets showing different implementations
  • Visual comparisons or diagrams

Preview content must be a self-contained HTML fragment (no / wrapper, no or tags — use inline style attributes instead). Do not use previews for simple preference questions where labels and descriptions suffice. Note: previews are only supported for single-select questions (not multiSelect).

Lord1Egypt/ai-skillforge/tree/main/js/skills/gemini/tool-description-askuserquestion-preview-field commit 79b0c6e102

Frequently asked questions

npx skillmds@latest add lord1egypt/tool-description-askuserquestion-preview-field