Skip to content

feat(demo): add System prompt tab to the Use-it guide#2

Merged
mayeedwin merged 1 commit into
mainfrom
feat/guide-system-prompt-tab
Jul 23, 2026
Merged

feat(demo): add System prompt tab to the Use-it guide#2
mayeedwin merged 1 commit into
mainfrom
feat/guide-system-prompt-tab

Conversation

@mayeedwin

@mayeedwin mayeedwin commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Adds a dedicated System prompt tab to the demo's "Use it" guide dialog.

Tabs are now: How it works · System prompt · React · Angular.

The new tab shows:

  • A one-line intro to getSystemPromptInstruction() from @conversed/core
  • The copyable snippet:
    import { getSystemPromptInstruction } from '@conversed/core';
    
    const systemPrompt = `
    You are an AI assistant.
    ${getSystemPromptInstruction()}
    `;
  • The "renders content, not conversations" note — Conversed never owns roles/avatars/bubbles; you drop <ConversedContent> into your own assistant bubble and hand it blocks.

Verified: pnpm --filter @conversed/demo-react build and lint pass; getSystemPromptInstruction confirmed as a real export.

Documents getSystemPromptInstruction() and the 'content, not conversations'
note in a dedicated tab (How it works / System prompt / React / Angular).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@mayeedwin
mayeedwin merged commit cba435f into main Jul 23, 2026
1 check passed
@mayeedwin
mayeedwin deleted the feat/guide-system-prompt-tab branch July 23, 2026 12:39
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