senrecep/tsentials/tsentials-record

Claude Code and agent skill by senrecep/tsentials

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install senrecep/tsentials/tsentials-record

SKILL.md

tsentials/record — Skill

Use when transforming plain objects functionally.

API

typescript
import { Record } from 'tsentials/record';
const users = { a: { name: 'Alice' }, b: { name: 'Bob' } };
// Query
Record.keys(users); // ['a', 'b']
Record.values(users); // [{ name: 'Alice' }, { name: 'Bob' }]
Record.entries(users); // [['a', { name: 'Alice' }], ['b', { name: 'Bob' }]]
Record.has(users, 'a'); // true
Record.size(users); // 2
Record.isEmpty(users); // false
// Transform
Record.map(users, u => u.name); // { a: 'Alice', b: 'Bob' }
Record.mapWithKey(users, (k, v) => [k.toUpperCase(), v]); // remap keys + values
Record.filter(users, u => u.name !== 'Bob');
Record.filterMap(users, u => u.name.length > 3 ? u.name : null);
// Modify
Record.upsert(users, 'b', { name: 'Bobby' }); // { a: {...}, b: { name: 'Bobby' } }
Record.remove(users, 'b');
Record.pick(users, 'a');
Record.omit(users, 'b');
// Aggregate
Record.reduce(users, 0, (acc, u) => acc + u.name.length);
Record.partition(users, u => u.name.startsWith('A'));

Patterns

  • Use Record.map instead of Object.entries(...).reduce(...).
  • Use pick / omit for whitelist/blacklist field selection.
  • upsert's key must belong to the record's existing key union — Record.upsert(users, 'c', ...) above would not compile since users only has keys 'a' | 'b'. Widen the record's type first if you need to add a genuinely new key.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/senrecep/tsentials/tsentials-record/badge)](https://verified-skill.com/skills/senrecep/tsentials/tsentials-record)

Something wrong with this skill or its page? Tell us.