Vueuse Math Skilld
CheckedVueuse Math Skilld simplifies complex calculations within Vue.js apps, boosting performance and developer efficiency for dynamic data manipulation.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add skilld-dev/vue-ecosystem-skills --skill vueuse-math-skilld -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
harlan-zw
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned harlan-zw/vue-ecosystem-skills at c8994af65c.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- c8994af65c
- Scanned
- 3 files, 244 lines
About this skill
What it does
The Vueuse Math Skilld provides a collection of reactive math functions and utilities specifically designed for use within Vue.js applications. It simplifies complex calculations, allowing for dynamic data manipulation and improved performance. The skill includes features like calculating averages and sums reactively, creating numeric projections between domains, and providing reactive wrappers around common JavaScript Math methods.
When to use it
This skill is useful in scenarios such as:
- Creating interactive charts or graphs that require real-time scaling of data.
- Implementing input validation where values need to be clamped within a specific range.
- Performing ad-hoc calculations with multiple reactive variables, like calculating totals or averages.
- Dynamically adjusting numeric ranges based on user interaction or changing conditions.
Key capabilities
useAverage: Reactively calculates the average of an array or variadic arguments.useSum: Reactively calculates the sum of an array or variadic arguments.createProjectionandcreateGenericProjection: Creates reusable numeric projectors between domains, with custom mapping functions for arbitrary types.- Reactive wrappers for common
Mathmethods:useAbs,useCeil,useFloor,useRound,useTrunc. useMaxanduseMin: Reactively compares values in an array or using variadic arguments.logicAnd,logicOr,logicNot: Reactive boolean logic supporting multiple refs.- Provides reactive access to standard Math methods via
useMath.
Example prompts
While this is a skill for code, here are examples of what a developer might say when using it:
- "Create a reactive average calculation from these three numbers."
- "Clamp this value between 0 and 10."
- "Project the data range from 0 to 100 to a different scale for my chart."
Tips & gotchas
- Requires Vue 3.5 or later due to native
useTemplateRefandMaybeRefOrGetter. - CommonJS (CJS) support has been dropped; this skill uses ESM only.
- For clamping, use a mutable ref for automatic validation – the returned computed ref will clamp any assigned value.