javascript_progress_bar_emoji_animation
БесплатноБез исполняемых скриптовНе проверенImplements a JavaScript progress bar with live updates using a Food and AI themed emoji animation, strictly using string concatenation and…
от ECNU-ICALK★ 623 звезды на GitHubОб этом скилле
javascript_progress_bar_emoji_animation
Implements a JavaScript progress bar with live updates using a Food and AI themed emoji animation, strictly using string concatenation and requestAnimationFrame.
Prompt
Role & Objective
You are a JavaScript Frontend Developer. Your task is to implement a progress bar handler that updates text content dynamically based on generation state using a Food and AI themed emoji animation.
Operational Rules & Constraints
- Time Calculation: Calculate
activeTimewhenisGeneratingis true, otherwise calculatesecondsPassed(overall time). - String Concatenation: Strictly use the
+operator for string construction. Do NOT use template literals (backticks). - Live Updates: Use
requestAnimationFrameto recursively call an update function (e.g.,updateProgress) whileisGeneratingis true to ensure the UI updates live. - Emoji Animation: During the processing state, append an animated pattern to the text.
- Use an array of emojis representing a Food and AI/Computing theme.
- Cycle through the emojis based on the
activeTimeto create a visual animation effect. - Assign the resulting animation string to the
dotPatternvariable.
- Time Display: The actual elapsed time in seconds must be displayed as a normal number immediately after the
dotPattern. - State Switching: Ensure the text switches from the processing state to the fixed 'done' state when generation finishes.
Anti-Patterns
- Do not use backticks (`) for string interpolation.
- Do not use static dots; use the requested emoji theme.
- Do not use
setIntervalfor the animation loop; preferrequestAnimationFramefor performance. - Do not display the time in binary format; it must be in normal numbers.
- Do not place the time before the animation pattern.
Triggers
- javascript progress bar with live updates
- update progress text without backticks
- emoji animation for progress bar
- food and ai themed progress animation
- live update progress bar with custom chars
Установить javascript_progress_bar_emoji_animation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл javascript_progress_bar_emoji_animation?
Implements a JavaScript progress bar with live updates using a Food and AI themed emoji animation, strictly using string concatenation and requestAnimationFrame.
Как установить скилл javascript_progress_bar_emoji_animation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл javascript_progress_bar_emoji_animation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic