Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Huk Js

ASecurity

Zero-dependency TypeScript utility library (@vorlaxen-labs/huk-js). Nine modules: string, number, date, array, object, is, fn, crypto, storage. Tree-shakeable, Turkish-aware slugify, PII masking. Use when writing utils, validation, slugify, debounce/throttle, type guards, or replacing ad-hoc utils/ folders.

6 stars
0 votes
0 copies
0 views
Added 9/28/2026
ai-agentstypescriptapibackenddocumentation

Works with

api

Security Analysis

A100/100

Scanned 9/28/2026

Install to Claude Code

$npx -y skills add vorlaxen-labs/Agent-Skills --skill huk-js --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Huk Js?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Huk Js
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vorlaxen-labs-huk-js/badge)](https://www.skillsdirectory.com/skills/vorlaxen-labs-huk-js)

More formats (shields.io, HTML) on the badges page.

Files
SKILL.md
---
name: huk-js
npmPackage: "@vorlaxen-labs/huk-js"
npmVersion: "1.1.2"
description: >-
  Zero-dependency TypeScript utility library (@vorlaxen-labs/huk-js). Nine modules:
  string, number, date, array, object, is, fn, crypto, storage. Tree-shakeable,
  Turkish-aware slugify, PII masking. Use when writing utils, validation, slugify,
  debounce/throttle, type guards, or replacing ad-hoc utils/ folders.
---
# HuK (Helper Utility Kit)

**Package:** `@vorlaxen-labs/huk-js` v1.1.2 · **Zero runtime deps** · **Tree-shakeable**

Nine focused utility namespaces replacing scattered `utils/` folders with a single, type-safe API.

---

## Critical Rules

1. **Prefer named module imports** for backends: `import { string, object } from '@vorlaxen-labs/huk-js'`.
2. **Use sub-path imports** for smallest bundle: `import { string } from '@vorlaxen-labs/huk-js/string'`.
3. **Use `HuK.is.*` type guards** before treating unknown values as typed — never loose `typeof` checks.
4. **HuK is not a validation framework** — use Zod/Yup for schema validation; HuK for lightweight checks.
5. **Never reimplement utilities HuK already provides** — check [reference/api-reference.md](reference/api-reference.md) first.

---

## Import Strategies

```typescript
// 1. Namespace (scripts, prototypes)
import { HuK } from '@vorlaxen-labs/huk-js';
HuK.string.slugify('Merhaba Dünya!');

// 2. Named modules (recommended for backends)
import { string, object, number } from '@vorlaxen-labs/huk-js';
string.slugify('Hello World');
object.get(user, 'profile.name', 'Anonymous');

// 3. Sub-path (smallest bundle)
import { string } from '@vorlaxen-labs/huk-js/string';
```

---

## Module Overview

| Module | Methods | Primary Use |
|---|---|---|
| `string` | 16 | Slugify, mask, validate, case transforms, HTML escape |
| `number` | 28 | Clamp, format, currency, statistics, validation |
| `date` | 14 | Format, relative time, compare, manipulate |
| `array` | 7 | groupBy, unique, flatten, shuffle, compact |
| `object` | 4 | get (path access), pick, clone, merge |
| `is` | 6 | Runtime type guards with narrowing |
| `fn` | 8 | debounce, throttle, memoize, retry, sleep, pipe, compose, once |
| `crypto` | 8 | UUID, SHA-256 hash, base64, validate.* |
| `storage` | 4 | Browser `localStorage` wrapper |

---

## Quick Examples

```typescript
import { string, object, number, HuK } from '@vorlaxen-labs/huk-js';

// Turkish-aware slugify
string.slugify('Merhaba Dünya!');  // 'merhaba-dunya'

// PII masking
string.mask('4444555566667777', { visibleEnd: 4 });

// Input validation
string.isEmail(email);
string.isStrongPassword(password);

// Safe nested access
const page = object.get(req.query, 'page', 1);
const search = object.get(req.query, 'search');

// Type-safe query parsing
const searchQuery = object.get(req.query, 'search');
const searchTerm =
  HuK.is.string(searchQuery) && searchQuery.trim().length > 0
    ? searchQuery.trim()
    : undefined;

// Number formatting
number.currency(1234.5, { currency: 'TRY', locale: 'tr-TR' });
number.clamp(value, 0, 100);

// Array grouping
array.groupBy(orders, o => o.status);

// Async helpers
await fn.retry(() => fetchData(), 3, 1000);
const debouncedSearch = fn.debounce(search, 300);
```

---

## Sub-Path Imports

| Import Path | Module |
|---|---|
| `@vorlaxen-labs/huk-js/string` | String utilities |
| `@vorlaxen-labs/huk-js/number` | Number utilities |
| `@vorlaxen-labs/huk-js/date` | Date utilities |
| `@vorlaxen-labs/huk-js/array` | Array utilities |
| `@vorlaxen-labs/huk-js/object` | Object utilities |
| `@vorlaxen-labs/huk-js/is` | Type guards |
| `@vorlaxen-labs/huk-js/fn` | Function utilities |
| `@vorlaxen-labs/huk-js/crypto` | Crypto utilities |
| `@vorlaxen-labs/huk-js/storage` | Browser localStorage utilities |

---

## HuK + BaR Pattern

```typescript
import { object, string } from '@vorlaxen-labs/huk-js';

app.get('/api/users', async (req, res) => {
  const search = object.get(req.query, 'search', '');
  const sanitized = string.isEmpty(search) ? undefined : search.trim();
  const users = await userService.search(sanitized);
  return res.builder.as.ok(users).build();
});
```

---

## When NOT to Use HuK

- Full schema validation → Zod, Yup, class-validator
- Timezone-aware dates → date-fns, Luxon, Temporal
- Entire lodash surface area → HuK is intentionally focused

---

## Reference Documentation

| Topic | File |
|---|---|
| Installation & first imports | [reference/getting-started.md](reference/getting-started.md) |
| Complete method listing | [reference/api-reference.md](reference/api-reference.md) |
| Import style comparison | [reference/import-strategies.md](reference/import-strategies.md) |
| Type guards (`HuK.is`) | [reference/is-type-guards.md](reference/is-type-guards.md) |
| String utilities | [reference/string-utils.md](reference/string-utils.md) |
| Number utilities | [reference/number-utils.md](reference/number-utils.md) |
| Object utilities | [reference/object-utils.md](reference/object-utils.md) |
| Array utilities | [reference/array-utils.md](reference/array-utils.md) |
| Date utilities | [reference/date-utils.md](reference/date-utils.md) |
| Crypto utilities | [reference/crypto-utils.md](reference/crypto-utils.md) |
| Function utilities | [reference/function-utils.md](reference/function-utils.md) |
| Storage utilities | [reference/storage-utils.md](reference/storage-utils.md) |
| Production patterns | [reference/recipes.md](reference/recipes.md) |
| TypeScript types | [reference/typescript.md](reference/typescript.md) |

Attribution

vorlaxen-labsvorlaxen-labs
View sourceMore from vorlaxen-labs →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

695601 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →