general-utility-functions
CommunityReusable utilities for encryption and formatting.
Authorwonkpentink
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide consolidates the general-purpose utilities found in src/lib/utils/ that provide common operations across the entire application. They are component-agnostic and help standardize encryption, formatting, detection, storage, transformation, and validation tasks.
Core Features & Use Cases
- Encryption/Decryption: AES-based data protection for tokens and sensitive values.
- Formatting: Phone, currency, and data formatting for consistent UI displays.
- Detection & Storage: Device/browser/OS checks and secure storage helpers.
- Transformation & Validation: String/array/object helpers with robust typing.
- This toolkit is designed to be used across features, hooks, and pages to avoid duplication and ensure type safety.
Quick Start
Use formatPhoneNumber to normalize a phone input and rupiahCurrencyFormat to display a price in IDR.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: general-utility-functions Download link: https://github.com/wonkpentink/agent-skills-fe/archive/main.zip#general-utility-functions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.