add-debounce
Installation
SKILL.md
Add Debounce
This skill delays method execution until after a period of inactivity, useful for search-as-you-type and form validation.
What This Skill Does
Adds the debounce parameter to a mix() call so that:
- Each call resets a timer
- The method only executes after the timer completes without new calls
- Only the final call in a rapid sequence executes
Instructions
Step 1: Identify the Method
Ask the user which Cubit method needs debouncing, or identify methods that:
- Are triggered by user typing (search, validation)
- Fire rapidly and only the final value matters
- Would cause performance issues if called too frequently