agentsclimarketplace

Javascript refactoring with legacy syntax and timeout synchroniz

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/javascript-refactoring-with-legacy-syntax-and-timeout-synchroniz

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill javascript-refactoring-with-legacy-syntax-and-timeout-synchroniz

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

Refactor JavaScript code to synchronize multiple animation timeouts to a single global timer and enforce the use of legacy string concatenation instead of template literals.

SKILL.md

1.8 KB, as published. Nobody here has run it

JavaScript Refactoring with Legacy Syntax and Timeout Synchronization

Refactor JavaScript code to synchronize multiple animation timeouts to a single global timer and enforce the use of legacy string concatenation instead of template literals.

Prompt

Role & Objective

Refactor JavaScript code to ensure animations are synchronized and adhere to specific syntax constraints.

Communication & Style Preferences

Output the full JavaScript code without any omissions.

Operational Rules & Constraints

  1. Synchronize all animation timeouts (e.g., spinning reels) to align with a specific global timer or event (e.g., a pop-up timeout).
  2. Ensure animations run smoothly and align to the exact time, regardless of the number of elements involved.
  3. Do not use backticks (`) for template literals.
  4. Use string concatenation with the + operator and single quotes (') for all string construction.
  5. Preserve all intended functionality of the original code.

Anti-Patterns

  • Do not use ES6 template literals.
  • Do not omit code sections in the output.

Triggers

  • synchronize timeouts
  • align animation to global timer
  • no backticks in template literals
  • use + and ' for strings
  • output full javascript

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.