From suaveplan-random
Use when implementing or debugging code that uses @suaveplan/random: High-level CSPRNG-backed randomness: strings, UUID/ULID/Nanoid, collections, objects, game primitives, and a full statistical-distribution suite.
How this skill is triggered — by the user, by Claude, or both
Slash command
/suaveplan-random:randomThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
High-level cryptographically secure randomness for application use. This is the everyday random package — it wraps the CSPRNG with ergonomic helpers for every common randomness task: unique IDs (`randomUUID` v4, `randomUUIDv7`, `randomULID`, `randomNanoid`), random strings with eight charset presets, collection utilities (`shuffle`, `choice`, `sample`, `weightedChoice`), object utilities (`rand...
High-level cryptographically secure randomness for application use. This is the everyday random package — it wraps the CSPRNG with ergonomic helpers for every common randomness task: unique IDs (randomUUID v4, randomUUIDv7, randomULID, randomNanoid), random strings with eight charset presets, collection utilities (shuffle, choice, sample, weightedChoice), object utilities (randomKey, randomEntry, randomSubset), game primitives (coin, dice, roll), and a full suite of continuous and discrete statistical distributions (Normal, LogNormal, Binomial, Poisson, and eight more). Every function accepts an optional rng?: Rng — omit it for crypto-backed defaults, or pass a SeededRng from @suaveplan/pseudo-random for deterministic tests. Do not confuse with @suaveplan/pseudo-random (seeded, deterministic, for procedural generation) or @suaveplan/crypto (raw cryptographic byte generation).
@suaveplan/random.import { /* see API Reference below */ } from "@suaveplan/random";
Workspace dependencies: @suaveplan/error, @suaveplan/pseudo-random, @suaveplan/types
This skill is intentionally short. The package's own documentation is the authoritative source — read these in order:
packages/random/random/README.md — overview, install, quick-start, module indexpackages/random/random/src/**/*.md — co-located docs per implementation file (Purpose, Features, Basic + Advanced examples, full API reference, Implementation notes — all packages in genesis ship ≥200 words per module)packages/random/random/package.json exports map — every subpath you can import fromWhen the user asks an API question, read the relevant co-located .md first; do not answer from training-data memory.
@suaveplan/error@suaveplan/pseudo-random@suaveplan/typesThis SKILL.md is auto-generated by suaveplan-skills/scripts/generate-skills.ts from the package's README. Do not edit by hand — re-run the generator after the README changes.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub suaveplan/suaveplan-skills --plugin suaveplan-random