Implements feedback and notification systems including toasts, alerts, modals, progress indicators, and error states. Use when communicating system state, displaying messages, confirming actions, or showing errors.
npx skills add https://github.com/ancoleman/ai-design-components --skill providing-feedback
This skill implements comprehensive feedback and notification systems that enhance all other component skills by providing consistent patterns for communicating system state, displaying messages, and handling user confirmations.
Activate this skill when:
Choose the appropriate feedback mechanism based on urgency and attention requirements:
Critical + Blocking → Modal Dialog
Important + Non-blocking → Alert Banner
Success/Info + Temporary → Toast/Snackbar
Contextual Help → Tooltip/Popover
In-progress → Progress Indicator
No Data → Empty State
| Urgency Level | Component | Duration | Blocks Interaction |
|---------------|-----------|----------|-------------------|
| Critical | Modal Dialog | Until action | Yes |
| Important | Alert Banner | Until dismissed | No |
| Standard | Toast | 3-7 seconds | No |
| Contextual | Inline Message | Persistent | No |
| Help | Tooltip | On hover | No |
| Progress | Spinner/Bar | During operation | Optional |
Assess the situation using these criteria:
For Toasts/Snackbars:
references/toast-patterns.md for detailed patternsFor Modal Dialogs:
references/modal-patterns.md for implementationFor Progress Indicators:
references/progress-indicators.md for patternsFor Empty States:
references/empty-states.md for designsModern React Stack (Recommended):
npm install sonner @radix-ui/react-dialog
For Toasts - Use Sonner:
import { Toaster, toast } from 'sonner';
// In your app root
<Toaster position="bottom-right" />
// Trigger notifications
toast.success('Changes saved successfully');
toast.promise(saveData(), {
loading: 'Saving...',
success: 'Saved!',
error: 'Failed to save'
});
For Modals - Use Radix UI:
import * as Dialog from '@radix-ui/react-dialog';
<Dialog.Root>
<Dialog.Trigger>Open</Dialog.Trigger>
<Dialog.Portal>
<Dialog.Overlay />
<Dialog.Content>
<Dialog.Title>Confirm Action</Dialog.Title>
<Dialog.Description>Are you sure?</Dialog.Description>
<Dialog.Close>Cancel</Dialog.Close>
</Dialog.Content>
</Dialog.Portal>
</Dialog.Root>
See references/library-comparison.md for alternative libraries and selection criteria.
ARIA Live Regions for Announcements:
<!-- For non-critical notifications -->
<div role="status" aria-live="polite">
File uploaded successfully
</div>
<!-- For critical alerts -->
<div role="alert" aria-live="assertive">
Error: Failed to save
</div>
Focus Management for Modals:
See references/accessibility-feedback.md for complete patterns.
All feedback components use the design-tokens skill for consistent theming:
/* Example token usage */
.toast {
background: var(--toast-bg);
color: var(--toast-text);
padding: var(--toast-padding);
border-radius: var(--toast-border-radius);
box-shadow: var(--toast-shadow);
animation-duration: var(--toast-enter-duration);
}
Token categories used:
Auto-dismiss durations:
Progress indicator thresholds:
scripts/generate_toast_manager.js - Generate toast configurations with timing and stackingscripts/format_messages.py - Format user-facing messages based on contextscripts/calculate_timing.js - Calculate auto-dismiss timingsreferences/toast-patterns.md - Toast positioning, stacking, animationsreferences/alert-patterns.md - Alert banner implementationsreferences/modal-patterns.md - Modal dialogs with focus managementreferences/progress-indicators.md - Loading states and progressreferences/empty-states.md - No-data and zero-result patternsreferences/accessibility-feedback.md - ARIA patterns and focus managementreferences/library-comparison.md - Detailed library analysisexamples/success-toast.tsx - Success notification with Sonnerexamples/confirmation-modal.tsx - Delete confirmation with Radix UIexamples/progress-upload.tsx - File upload with progress barexamples/inline-validation.tsx - Form validation errorsassets/message-templates.json - Reusable message templatesassets/error-catalog.json - Error code to message mappingsassets/timing-config.json - Timing recommendationsThis skill enhances all other component skills:
| Library | Type | Size | Best For |
|---------|------|------|----------|
| Sonner | Toast | Small | Modern React 18+, accessibility |
| react-hot-toast | Toast | <5KB | Minimal bundle size |
| react-toastify | Toast | ~16KB | RTL support, mobile |
| Radix UI | Modal | Small | Design systems, headless |
| Headless UI | Modal | Small | Tailwind projects |
Choose based on project requirements. See references/library-comparison.md for detailed analysis.
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take ancoleman/providing-feedback from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm.
Without those the skill loads but fails at the first command.