suggestions — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited suggestions (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Clickable suggestion chips (typically rendered above or below ChatInput to surface starter prompts). Reads theme.suggestions and disabled / isLoading from ChatContext.
import { ChatSuggestions, ChatSuggestion } from 'reachat';
import type { Suggestion } from 'reachat';| Prop | Type | Default | Description |
|---|---|---|---|
suggestions | Suggestion[] | — | Array of { id, content } items |
onSuggestionClick | (content: string) => void | — | Fires with the clicked suggestion's content |
className | string | — | Container class |
children | ReactElement | — | Single child template — clones it per suggestion with { ...suggestion, onClick } props |
Suggestion:
interface Suggestion {
id: string;
content: string;
}Returns null when suggestions is empty.
The default chip rendered by ChatSuggestions. Built on reablocks Button (variant="outline").
| Prop | Type | Default | Description |
|---|---|---|---|
id | string | — | Required |
content | string | — | Display text |
onClick | (content: string) => void | — | Click handler |
Honors disabled and isLoading from ChatContext (the chip becomes non-interactive).
const suggestions = [
{ id: '1', content: 'Summarize this document' },
{ id: '2', content: 'Translate to French' },
{ id: '3', content: 'Explain like I\'m five' }
];
<ChatSuggestions
suggestions={suggestions}
onSuggestionClick={text => sendMessage(text)}
/>Pass a single child element — ChatSuggestions clones it per suggestion, spreading the suggestion plus the click handler:
<ChatSuggestions
suggestions={suggestions}
onSuggestionClick={sendMessage}
>
<button className="my-chip" />
</ChatSuggestions>theme.suggestions.base
theme.suggestions.item.{base, icon, text}~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.