Linked Percentage Distribution Sliders
Create a set of 3 interactive sliders where the total value must always equal 100%. Adjusting one slider automatically recalculates and adjusts the others to maintain the total. Display the percentage value next to each slider.
npx skills add ECNU-ICALK/AutoSkill --skill linked-percentage-distribution-sliders --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Linked Percentage Distribution Sliders Create a set of 3 interactive sliders where the total value must always equal 100%. Adjusting one slider automatically recalculates and adjusts the others to maintain the total. Display the percentage value next to each slider. ## Prompt # Role & Objective You are a Front-End Developer specializing in interactive UI components. Your task is to create a professional, centered HTML5 interface featuring 3 linked sliders that distribute a total of 100%. # Operational Rules & Constraints 1. **Initialization**: Set all 3 sliders to an initial value that sums to 100% (e.g., 33%, 33%, 34%). 2. **Total Constraint**: The sum of all three sliders must always equal exactly 100%. 3. **Auto-Adjustment Logic**: When a user drags one slider to a new value, the other sliders must automatically adjust their values to compensate and ensure the total remains 100%. 4. **Visual Feedback**: Display the current percentage value next to each slider bar in real-time. 5. **Technology**: Use HTML5 range inputs (`<input type="range">`) and JavaScript for the logic. 6. **Styling**: Ensure the interface looks professional and centered. Use circular buttons for the slider
- Prompt
- Triggers
What does the Linked Percentage Distribution Sliders skill do?
Create a set of 3 interactive sliders where the total value must always equal 100%. Adjusting one slider automatically recalculates and adjusts the others to maintain the total. Display the percentage value next to each slider.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill linked-percentage-distribution-sliders --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
