Agent skill

Providing Feedback

by ancoleman in ancoleman/ai-design-components

Implements feedback and notification systems including toasts, alerts, modals, progress indicators, and error states.

MITAuto-check: warningsFrontend & Design

Install Providing Feedback

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add ancoleman/ai-design-components --skill providing-feedback -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ancoleman/ai-design-components providing-feedback --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/providing-feedback .claude/skills/providing-feedback && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
providing-feedback
GitHub stars
526
Token cost
~2.1k tokens
SKILL.md length
729 words
Files
19 (incl. scripts, references, assets)
Skills in repo
75
Repo updated
First seen
Licence
MIT

At a glance

Implements feedback and notification systems including toasts, alerts, modals, progress indicators, and error states.

  • Works in 5 steps: Determine Feedback Type → Choose Implementation Pattern → Implement with Recommended Libraries → …
  • Communicating system state
  • SKILL.md covers When to Use This Skill, Feedback Type Decision Matrix, Implementation Approach and Notification Timing Guidelines, plus 4 more sections
  • Runs JavaScript scripts from its folder; calls npm

What it does

Providing Feedback is an agent skill from ancoleman/ai-design-components. 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.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 22 other files, including scripts, reference files and assets (for example `assets/error-catalog.json`, `assets/message-templates.json` and `assets/timing-config.json`).

It sits in Frontend & Design. The repository describes itself as: Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude. The licence is MIT.

When your agent uses it

  • Communicating system state
  • Displaying messages
  • Confirming actions

Example prompts

  • “Use the providing-feedback skill to implement feedback and notification systems including toasts, alerts, modals, progress indicators, and error…”
  • “/providing-feedback”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Determine Feedback Type
  2. Choose Implementation Pattern
  3. Implement with Recommended Libraries
  4. Apply Accessibility Patterns
  5. Integrate Design Tokens

What it can do on your machine

Read from SKILL.md and the folder at commit 76551b7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Providing Feedback loads about 2.1k tokens when it runs, and up to ~29k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 729 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~29k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a paste, webhook or tunnelling service often used to send data outSKILL.md:99
    toast.promise(saveData(), {

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ancoleman/ai-design-components at commit 76551b7, republished under its MIT licence (© ancoleman). 729 words, ~2,109 tokens.

Download SKILL.mdSave it as .claude/skills/providing-feedback/SKILL.md (or your agent's skills folder). This skill also uses 18 other files; get the full folder from GitHub.
name
providing-feedback
description
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.

Providing User Feedback and Notifications

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.

When to Use This Skill

Activate this skill when:

  • Implementing toast notifications or snackbars
  • Displaying success, error, warning, or info messages
  • Creating modal dialogs or confirmation dialogs
  • Implementing progress indicators (spinners, progress bars, skeleton screens)
  • Designing empty states or zero-result displays
  • Adding tooltips or contextual help
  • Determining notification timing, stacking, or positioning
  • Implementing accessible feedback patterns with ARIA
  • Communicating any system state to users

Feedback Type Decision Matrix

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
Quick Reference by Urgency
Urgency LevelComponentDurationBlocks Interaction
CriticalModal DialogUntil actionYes
ImportantAlert BannerUntil dismissedNo
StandardToast3-7 secondsNo
ContextualInline MessagePersistentNo
HelpTooltipOn hoverNo
ProgressSpinner/BarDuring operationOptional

Implementation Approach

Step 1: Determine Feedback Type

Assess the situation using these criteria:

  1. Urgency: How critical is the information?
  2. Duration: How long should it persist?
  3. Action Required: Does user need to respond?
  4. Context: Is it related to specific UI element?
Step 2: Choose Implementation Pattern

For Toasts/Snackbars:

  • Position: Bottom-right (recommended)
  • Duration: 3-4s (success), 5-7s (warning), 7-10s (error)
  • Stack limit: 3-5 maximum
  • See references/toast-patterns.md for detailed patterns

For Modal Dialogs:

  • Focus management: Trap focus within modal
  • Accessibility: ESC to close, proper ARIA labels
  • Backdrop: Click outside to close (optional)
  • See references/modal-patterns.md for implementation

For Progress Indicators:

  • <100ms: No indicator needed
  • 100ms-5s: Spinner with message
  • 5s-30s: Progress bar (determinate if possible)
  • 30s: Progress bar + time estimate + cancel

  • See references/progress-indicators.md for patterns

For Empty States:

  • Include: Illustration, headline, body text, CTA
  • Types: First use, zero results, error, permission denied
  • See references/empty-states.md for designs

Modern React Stack (Recommended):

bash
npm install sonner @radix-ui/react-dialog

For Toasts - Use Sonner:

tsx
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:

tsx
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.

Step 4: Apply Accessibility Patterns

ARIA Live Regions for Announcements:

html
<!-- 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:

  1. Save current focus before opening
  2. Move focus to first interactive element in modal
  3. Trap focus within modal (Tab cycles)
  4. Restore focus to trigger on close

See references/accessibility-feedback.md for complete patterns.

Step 5: Integrate Design Tokens

All feedback components use the design-tokens skill for consistent theming:

css
/* 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:

  • Colors: Toast, alert, modal, tooltip backgrounds
  • Spacing: Internal padding for all components
  • Typography: Font sizes for titles and messages
  • Shadows: Elevation for floating elements
  • Motion: Animation durations and easing
Show full SKILL.md (309 more words)Show less

Notification Timing Guidelines

Auto-dismiss durations:

  • Success: 3-4 seconds
  • Info: 4-5 seconds
  • Warning: 5-7 seconds
  • Error: 7-10 seconds or manual dismiss
  • With action button: 10+ seconds or no auto-dismiss

Progress indicator thresholds:

  • <100ms: No indicator
  • 100ms-5s: Spinner
  • 5s-30s: Progress bar
  • 30s: Progress bar + cancel option

Resources

Scripts (Token-Free Execution)
  • scripts/generate_toast_manager.js - Generate toast configurations with timing and stacking
  • scripts/format_messages.py - Format user-facing messages based on context
  • scripts/calculate_timing.js - Calculate auto-dismiss timings
References (Detailed Documentation)
  • references/toast-patterns.md - Toast positioning, stacking, animations
  • references/alert-patterns.md - Alert banner implementations
  • references/modal-patterns.md - Modal dialogs with focus management
  • references/progress-indicators.md - Loading states and progress
  • references/empty-states.md - No-data and zero-result patterns
  • references/accessibility-feedback.md - ARIA patterns and focus management
  • references/library-comparison.md - Detailed library analysis
Examples (Implementation Code)
  • examples/success-toast.tsx - Success notification with Sonner
  • examples/confirmation-modal.tsx - Delete confirmation with Radix UI
  • examples/progress-upload.tsx - File upload with progress bar
  • examples/inline-validation.tsx - Form validation errors
Assets (Templates and Configs)
  • assets/message-templates.json - Reusable message templates
  • assets/error-catalog.json - Error code to message mappings
  • assets/timing-config.json - Timing recommendations

Cross-Skill Integration

This skill enhances all other component skills:

  • Forms: Validation feedback, success confirmations
  • Data Visualization: Loading states, error messages
  • Tables: Bulk operation feedback, action confirmations
  • AI Chat: Streaming indicators, rate limit warnings
  • Dashboards: Widget loading, system status
  • Search/Filter: Zero results, search progress
  • Media: Upload progress, processing status
  • Design Tokens: All visual styling via token system

Library Quick Comparison

LibraryTypeSizeBest For
SonnerToastSmallModern React 18+, accessibility
react-hot-toastToast<5KBMinimal bundle size
react-toastifyToast~16KBRTL support, mobile
Radix UIModalSmallDesign systems, headless
Headless UIModalSmallTailwind projects

Choose based on project requirements. See references/library-comparison.md for detailed analysis.

Key Principles

  1. Match urgency to attention: Don't use modals for non-critical info
  2. Be consistent: Same feedback type for similar actions
  3. Provide context: Explain what happened and what to do
  4. Enable recovery: Include undo, retry, or help options
  5. Respect preferences: Honor reduced motion settings
  6. Test accessibility: Verify with screen readers and keyboard

© ancoleman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 18 other files (scripts, references, assets) in skills/providing-feedback of ancoleman/ai-design-components.

  • SKILL.md
  • assets/error-catalog.json
  • assets/message-templates.json
  • assets/timing-config.json
  • examples/confirmation-modal.tsx
  • examples/inline-validation.tsx
  • examples/progress-upload.tsx
  • examples/success-toast.tsx
  • outputs.yaml
  • references/accessibility-feedback.md
  • references/alert-patterns.md
  • references/empty-states.md
  • references/library-comparison.md
  • references/modal-patterns.md
  • references/progress-indicators.md
  • references/toast-patterns.md
  • scripts/calculate_timing.js
  • … and 2 more

Open the folder on GitHubat commit 76551b7

Compare with similar skills

Providing Feedback next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Providing Feedback compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Providing Feedback this skillancoleman/ai-design-components526—~2.1kAutomated safety check: WarnMIT
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Web Interface Guidelines Reviewervercel-labs/openreview1.7k98 repos~308Automated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 98 repos~308 tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed

More from ancoleman/ai-design-components

All 75 skills in this repo
  • Building AI Chat

    ancoleman/ai-design-components

    Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support.

    526 GitHub starsUsed in 1 repo~3.4k tokens
    Auto-check passed
  • Building Forms

    ancoleman/ai-design-components

    Builds form components and data collection interfaces including contact forms, registration flows, checkout processes, surveys, and settings pages.

    526 GitHub stars~3.7k tokensUpdated 10 mo ago
    Auto-check passed
  • Building Tables

    ancoleman/ai-design-components

    Builds tables and data grids for displaying tabular information, from simple HTML tables to complex enterprise data grids.

    526 GitHub stars~1.8k tokensUpdated 10 mo ago
    Auto-check passed
  • Creating Dashboards

    ancoleman/ai-design-components

    Creates comprehensive dashboard and analytics interfaces that combine data visualization, KPI cards, real-time updates, and interactive layouts.

    526 GitHub stars~3.5k tokensUpdated 10 mo ago
    Auto-check passed
  • Designing Layouts

    ancoleman/ai-design-components

    Designs layout systems and responsive interfaces including grid systems, flexbox patterns, sidebar layouts, and responsive breakpoints.

    526 GitHub stars~1.7k tokensUpdated 10 mo ago
    Auto-check passed
  • Displaying Timelines

    ancoleman/ai-design-components

    Displays chronological events and activity through timelines, activity feeds, Gantt charts, and calendar interfaces.

    526 GitHub stars~2.7k tokensUpdated 10 mo ago
    Auto-check passed

Questions about Providing Feedback

What does Providing Feedback do?

Implements feedback and notification systems including toasts, alerts, modals, progress indicators, and error states. Providing Feedback is an agent skill from ancoleman/ai-design-components. Implements feedback and notification systems including toasts, alerts, modals, progress indicators, and error states.

When should I use Providing Feedback?

Providing Feedback fits situations like: communicating system state; displaying messages; confirming actions.

How do I install Providing Feedback in Claude Code?

Run `npx skills add ancoleman/ai-design-components --skill providing-feedback -a claude-code`. Or copy the skill folder (skills/providing-feedback in ancoleman/ai-design-components) into .claude/skills/providing-feedback in your project. Claude Code loads it when a task matches its description.

How do I install Providing Feedback in Codex?

Run `npx skills add ancoleman/ai-design-components --skill providing-feedback -a codex`. Or copy the skill folder (skills/providing-feedback in ancoleman/ai-design-components) into .agents/skills/providing-feedback in your project. Codex loads it when a task matches its description.

Can I use Providing Feedback in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ancoleman/ai-design-components --skill providing-feedback -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/providing-feedback, .gemini/skills/providing-feedback, .github/skills/providing-feedback and .opencode/skills/providing-feedback in your project.

What does Providing Feedback need to run?

Going by SKILL.md and its folder, Providing Feedback needs JavaScript for the scripts in its folder and the command-line tools its instructions call (npm). Our summary lists: Node.js.

Does Providing Feedback access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Providing Feedback safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a paste, webhook or tunnelling service often used to send data out. Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Providing Feedback use?

Providing Feedback is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Providing Feedback use?

About 2.1k tokens (SKILL.md is roughly 8.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 27k tokens, read only when the agent opens those files.

What are the alternatives to Providing Feedback?

Skills that share tags, products or a category with Providing Feedback: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 61k stars), Impeccable (bestofjs/bestofjs, 3.1k stars) and Figma Design System Builder (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Providing Feedback?

ancoleman (a GitHub user) maintains it in ancoleman/ai-design-components, which has 526 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on December 11, 2025.

Source: ancoleman/ai-design-components on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.