sounds-on-the-web

raphaelsalaja/skill · Agent Skill

Verificare l'interfaccia di feedback audio per la qualità dell'esperienza utente, l'accessibilità e i modelli pratici di implementazione.

Vai all'installazione ↓

Panoramica

AutoreraphaelsalajaCommunity
Repositoryraphaelsalaja/skill ↗
Cartella dello skillsounds-on-the-web
Stelle42
Fork5
File inclusi1
LicenzaMIT
Aggiornato17 marzo 2026
LinkSorgente dello skill ↗ · Repository ↗

Verifica Mozgi

Cosa abbiamo trovato nei file dello skill. I dettagli con l’abbonamento.

Sicurezza
rischio basso · nessun rischio evidente — il report completo mostra i dettagli
Compatibilità
solo istruzioni — funziona con la maggior parte degli agenti
Skill simili
31 skill simili trovati
Inoltre con l’abbonamento

Installazione

Uno skill è una cartella con un file SKILL.md. Scegli il tuo agente ed esegui i comandi in un terminale (macOS, Linux o Git Bash su Windows) dalla radice del progetto.

Incolla il prompt in Claude, Codex o un altro assistente: controllerà lo skill e lo installerà.

Install the “sounds-on-the-web” skill from mozgi.io (https://mozgi.io/skills/raphaelsalaja-sounds-on-the-web/) for me.

1. Download the archive: https://mozgi.io/skills/raphaelsalaja-sounds-on-the-web/download
   If it fails, take the skill folder from the source: https://github.com/raphaelsalaja/skill/tree/main/skills/sounds-on-the-web
2. Read SKILL.md and the other files. Check the skill is safe: no hidden commands, no sending data elsewhere, no scripts doing something other than described. If anything looks suspicious, stop and tell me.
3. Put the “sounds-on-the-web” folder into your agent's skills folder: .claude/skills/ for Claude Code, .agents/skills/ for Codex, .cursor/skills/ for Cursor, .gemini/skills/ for Gemini CLI. Inside the project if we are in one, otherwise in the home folder (~/.claude/skills/ etc.).
4. Make sure <skills folder>/sounds-on-the-web/SKILL.md exists.
5. Briefly tell me what this skill does and offer to try it on my task.

If you cannot do a step yourself, tell me what to click or type.

File dello skill

1 file Scarica ZIP

Leggi SKILL.md e i file correlati prima di installare. Clicca un file per l'anteprima.

Contenuto di SKILL.md

Testo originale dell'autore · sola lettura

Sounds on the Web

Review UI code for audio feedback best practices and accessibility.

How It Works

1. Read the specified files (or prompt user for files/pattern)

2. Check against all rules below

3. Output findings in file:line format

Rule Categories

| Priority | Category | Prefix |

|----------|----------|--------|

| 1 | Accessibility | a11y- |

| 2 | Appropriateness | appropriate- |

| 3 | Implementation | impl- |

| 4 | Weight Matching | weight- |

Rules

Accessibility Rules

a11y-visual-equivalent

Every audio cue must have a visual equivalent; sound never replaces visual feedback.

Fail:

function SubmitButton({ onClick }) {
  const handleClick = () => {
    playSound("success");
    onClick(); // No visual confirmation
  };
}

Pass:

function SubmitButton({ onClick }) {
  const [status, setStatus] = useState("idle");
  
  const handleClick = () => {
    playSound("success");
    setStatus("success"); // Visual feedback too
    onClick();
  };
  
  return <button data-status={status}>Submit</button>;
}
a11y-toggle-setting

Provide explicit toggle to disable sounds in settings.

Fail:

// No way to disable sounds
function App() {
  return <SoundProvider>{children}</SoundProvider>;
}

Pass:

function App() {
  const { soundEnabled } = usePreferences();
  return (
    <SoundProvider enabled={soundEnabled}>
      {children}
    </SoundProvider>
  );
}
a11y-reduced-motion-check

Respect prefers-reduced-motion as proxy for sound sensitivity.

Fail:

function playSound(name: string) {
  audio.play(); // Plays regardless of preferences
}

Pass:

function playSound(name: string) {
  const prefersReducedMotion = window.matchMedia(
    "(prefers-reduced-motion: reduce)"
  ).matches;
  
  if (prefersReducedMotion) return;
  audio.play();
}
a11y-volume-control

Allow volume adjustment independent of system volume.

Fail:

function playSound() {
  audio.volume = 1; // Always full volume
  audio.play();
}

Pass:

function playSound() {
  const { volume } = usePreferences();
  audio.volume = volume; // User-controlled
  audio.play();
}

Appropriateness Rules

appropriate-no-high-frequency

Do not add sound to high-frequency interactions (typing, keyboard navigation).

Fail:

function Input({ onChange }) {
  const handleChange = (e) => {
    playSound("keystroke"); // Annoying on every keystroke
    onChange(e);
  };
}

Pass:

function Input({ onChange }) {
  // No sound on typing - visual feedback only
  return <input onChange={onChange} />;
}
appropriate-confirmations-only

Sound is appropriate for confirmations: payments, uploads, form submissions.

Pass:

async function handlePayment() {
  await processPayment();
  playSound("success"); // Appropriate - significant action
  showConfirmation();
}
appropriate-errors-warnings

Sound is appropriate for errors and warnings that can't be overlooked.

Pass:

function handleError(error: Error) {
  playSound("error"); // Appropriate - needs attention
  showErrorToast(error.message);
}
appropriate-no-decorative

Do not add sound to decorative moments with no informational value.

Fail:

function Card({ onHover }) {
  return (
    <div onMouseEnter={() => playSound("hover")}> {/* Decorative, no value */}
      {children}
    </div>
  );
}
appropriate-no-punishing

Sound should inform, not punish; avoid harsh sounds for user mistakes.

Fail:

function ValidationError() {
  playSound("loud-buzzer"); // Punishing
  return <span>Invalid input</span>;
}

Pass:

function ValidationError() {
  playSound("gentle-alert"); // Informative but not harsh
  return <span>Invalid input</span>;
}

Implementation Rules

impl-preload-audio

Preload audio files to avoid playback delay.

Fail:

function playSound(name: string) {
  const audio = new Audio(`/sounds/${name}.mp3`); // Loads on demand
  audio.play();
}

Pass:

const sounds = {
  success: new Audio("/sounds/success.mp3"),
  error: new Audio("/sounds/error.mp3"),
};

// Preload on app init
Object.values(sounds).forEach(audio => audio.load());

function playSound(name: keyof typeof sounds) {
  sounds[name].currentTime = 0;
  sounds[name].play();
}
impl-default-subtle

Default volume should be subtle, not loud.

Fail:

const DEFAULT_VOLUME = 1.0; // Too loud

Pass:

const DEFAULT_VOLUME = 0.3; // Subtle default
impl-reset-current-time

Reset audio currentTime before replay to allow rapid triggering.

Fail:

function playSound() {
  audio.play(); // Won't replay if already playing
}

Pass:

function playSound() {
  audio.currentTime = 0;
  audio.play();
}

Weight Matching Rules

weight-match-action

Sound weight should match action importance.

Fail:

// Loud fanfare for minor action
function handleToggle() {
  playSound("triumphant-fanfare");
  setEnabled(!enabled);
}

Pass:

// Subtle click for minor action
function handleToggle() {
  playSound("soft-click");
  setEnabled(!enabled);
}

// Richer sound for significant action
function handlePurchase() {
  playSound("success-chime");
  completePurchase();
}
weight-duration-matches-action

Sound duration should match action duration.

Fail:

// 2-second sound for instant action
function handleClick() {
  playSound("long-whoosh"); // 2000ms
  // Action completes immediately
}

Pass:

// Short sound for instant action
function handleClick() {
  playSound("click"); // 50ms
}

// Longer sound for process
function handleUpload() {
  playSound("upload-progress"); // Matches upload duration
}

Output Format

When reviewing files, output findings as:

file:line - [rule-id] description of issue

Example:
components/input/index.tsx:23 - [appropriate-no-high-frequency] Playing sound on every keystroke
lib/sounds.ts:45 - [a11y-reduced-motion-check] Not checking prefers-reduced-motion

Summary Table

After findings, output a summary:

| Rule | Count | Severity |

|------|-------|----------|

| a11y-visual-equivalent | 2 | HIGH |

| appropriate-no-high-frequency | 1 | HIGH |

| impl-preload-audio | 3 | MEDIUM |

Sound Appropriateness Matrix

| Interaction | Sound? | Reason |

|-------------|--------|--------|

| Payment success | Yes | Significant confirmation |

| Form submission | Yes | User needs assurance |

| Error state | Yes | Can't be overlooked |

| Notification | Yes | May not be looking at screen |

| Button click | Maybe | Only for significant buttons |

| Typing | No | Too frequent |

| Hover | No | Decorative only |

| Scroll | No | Too frequent |

| Navigation | No | Keyboard nav would be noisy |

References

Domande frequenti

Che cosa fa lo skill sounds-on-the-web?

Verificare l'interfaccia di feedback audio per la qualità dell'esperienza utente, l'accessibilità e i modelli pratici di implementazione.

Come si installa sounds-on-the-web?

Apri il blocco “Installazione” in questa pagina e scegli il tuo agente — Claude Code, Codex, Cursor o Gemini CLI — per i comandi pronti che copiano la cartella dello skill nel posto giusto. Oppure copia il prompt dalla scheda “Con l'assistente” e lascia che sia l'assistente a controllare e installare lo skill.

Con quali modelli AI funziona sounds-on-the-web?

Gli skill sono semplici istruzioni in Markdown (formato Agent Skills), quindi sounds-on-the-web funziona con qualsiasi agente che legge SKILL.md: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode e altri. Il modello carica le istruzioni solo quando il compito corrisponde alla descrizione dello skill.

sounds-on-the-web è gratuito?

Lo skill è pubblicato apertamente da raphaelsalaja con licenza MIT. Lo skill in sé non costa nulla: paghi solo il tuo fornitore AI per i token usati.

È sicuro installare gli skill?

Uno skill è un insieme di istruzioni che il tuo agente seguirà: leggi SKILL.md e i file correlati prima di installarlo. Gli script nella cartella dello skill vengono eseguiti solo se li esegue l'agente: controlla cosa fa e non concedere permessi superflui.

In cosa differisce uno skill da un server MCP o da un plugin?

Un server MCP o un plugin danno al modello nuovi strumenti: codice che viene eseguito e restituisce un risultato. Uno skill fornisce conoscenza e metodo: come affrontare il compito, quali passi seguire e com'è un buon risultato. Non servono server né chiavi API.

Skill correlati

Tutti gli skill →
frontend-ui-engineering Guida all'ingegneria frontend UI che copre l'architettura dei componenti, il design responsivo, l'accessibilità e i modelli di implementazione manutenibili. addyosmani111k wcag-audit-patterns Eseguite audit di accessibilità WCAG 2.2 con test automatizzati, verifica manuale e raccomandazioni di correzione, utilizzateli per audit di siti web accessibili, correzione di violazioni WCAG o implementazione di modelli di design accessibili. wshobson41.8k wcag-audit-patterns Uno strumento per condurre audit di accessibilità WCAG 2.2 sui siti web, fornendo test automatizzati, verifiche manuali e linee guida pratiche per correggere le violazioni e garantire interfacce inclusive. wshobson41.5k fixing-accessibility Eseguire un audit e correggere i problemi di accessibilità HTML, inclusi i tag ARIA, la navigazione con la tastiera, la gestione del focus, il contrasto dei colori e gli errori dei form, utilizzando gli standard WCAG quando si aggiungono elementi di controllo interattivi, form, dialoghi o durante la verifica della conformità. ibelick10.2k better-accessibility Controlla e migliora gli stati di focus, il supporto alla tastiera, ARIA, i moduli, i programmi di lettura dello schermo, le aree di destinazione e l'accessibilità del movimento. jakubkrehel8.6k better-colors Spazio dei colori OKLCH per progetti web, converte hex/rgb/hsl in oklch, genera palette, controlla il contrasto, gestisce i limiti del range di colori e crea temi con Tailwind v4, funziona con oklch, conversione dei colori, generazione di palette, rapporto di contrasto, range di colori, display p3, token di design, drift del tono, croma, colori del tema scuro jakubkrehel8.6k