Agent skill

Meaningful Identifiers

by hashintel in hashintel/hash

Naming guidance for callback parameters and local variables in TypeScript.

AGPL-3.0Auto-check passedDevelopment

Install Meaningful Identifiers

skills CLI
$ npx skills add hashintel/hash --skill meaningful-identifiers -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashintel/hash meaningful-identifiers --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashintel/hash.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/meaningful-identifiers .claude/skills/meaningful-identifiers && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
meaningful-identifiers
GitHub stars
1.7k
Token cost
~308 tokens
SKILL.md length
96 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Naming guidance for callback parameters and local variables in TypeScript.

  • Refactoring loops
  • SKILL.md covers Rules and Leave correct uses untouched
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Array callbacks (map/filter/find/reduce)

What it does

Meaningful Identifiers is an agent skill from hashintel/hash. Naming guidance for callback parameters and local variables in TypeScript. Use when writing or refactoring loops, array callbacks (map/filter/find/reduce), or local accumulators.

Its SKILL.md is about 310 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Refactoring. It works with TypeScript. The repository describes itself as: 🚀 The open-source, multi-tenant platform for self-building knowledge graphs and simulation. The licence is AGPL-3.0.

When your agent uses it

  • Refactoring loops
  • Array callbacks (map/filter/find/reduce)
  • Local accumulators

Example prompts

  • “/meaningful-identifiers”

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa0c7b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Meaningful Identifiers loads about 308 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 96 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~308

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashintel/hash at commit 1fa0c7b, republished under its AGPL-3.0 licence (© hashintel). 96 words, ~308 tokens.

Download SKILL.mdSave it as .claude/skills/meaningful-identifiers/SKILL.md (or your agent's skills folder).
name
meaningful-identifiers
description
Naming guidance for callback parameters and local variables in TypeScript. Use when writing or refactoring loops, array callbacks (map/filter/find/reduce), or local accumulators.
license
AGPL-3.0

Meaningful identifiers

Callback parameters and local variables must describe the value they hold.

Rules

  • Name array callback params after the element's domain type: batches.map((batch) => …), bins.filter((bin) => …), checkpoints.find((checkpoint) => …). Never reuse right/left/column for values that are not sort operands or table columns.
  • Name reduce accumulators after what they accumulate: sum/total for a running total, not step.
  • Name percentile/ratio arguments for the quantity they represent (percentileRank, multiplier), not an unrelated domain noun.

Leave correct uses untouched

  • Sort comparators: (left, right) => left - right.
  • (column) => column.key over a real .columns array.
  • for (const row of …Rows) where the items are genuinely rows.

© hashintel, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/meaningful-identifiers of hashintel/hash.

Open the folder on GitHubat commit 1fa0c7b

Compare with similar skills

Meaningful Identifiers next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Meaningful Identifiers compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Meaningful Identifiers this skillhashintel/hash1.7k—~308Automated safety check: PassAGPL-3.0
Svelte5 Best PracticesSikandarJODD/cnblocks4301 repos~810Automated safety check: PassMIT
Dinero Best Practicesdinerojs/dinero.js6.8k—~756Automated safety check: PassMIT
Code Guidelinesgetsentry/sentry-react-native1.8k—~3.2kAutomated safety check: PassMIT
AST Visitor Pattern for Unionsprisma/orm48k—~830Automated safety check: PassApache-2.0
ast-grep Codemod Referencewarp-drive-data/warp-drive3.2k—~2.6kAutomated safety check: PassMIT

Similar skills

  • Svelte5 Best Practices

    SikandarJODD/cnblocks

    Svelte 5 runes, snippets, SvelteKit patterns, and modern best practices for TypeScript and component development.

    430 GitHub starsUsed in 1 repo~810 tokens
    DevelopmentAuto-check passed
  • Dinero Best Practices

    dinerojs/dinero.js

    Core best practices for the Dinero.js money library. An agent skill from dinerojs/dinero.js.

    6.8k GitHub stars~756 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Code Guidelines

    getsentry/sentry-react-native

    Official

    Enforce Sentry React Native SDK code guidelines for implementation, refactoring, and review.

    1.8k GitHub stars~3.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Replaces a plain TypeScript union plus switch statements with frozen subclasses and a visitor interface when several places dispatch on the same variants.

    48k GitHub stars~830 tokensUpdated today
    DevelopmentAuto-check passed
  • ast-grep Codemod Reference

    warp-drive-data/warp-drive

    Reference for writing and debugging TypeScript and JavaScript codemods with @ast-grep/napi: parsing, node queries, meta-variables, rule objects and editing.

    3.2k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Deep Refactor Audit

    AlmanacCode/codealmanac

    A skill your agent uses when a user asks for a major architecture/refactor audit, codebase smell investigation, boundary critique, feature simplification review, vibe-coded or AI-generated code…

    997 GitHub stars~3.5k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed

More from hashintel/hash

All 17 skills in this repo
  • Documenting Rust Code

    hashintel/hash

    Rust documentation practices for HASH codebase. An agent skill from hashintel/hash.

    1.7k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Handling Rust Errors

    hashintel/hash

    HASH error handling patterns using error-stack crate. An agent skill from hashintel/hash.

    1.7k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Cargo.toml dependency management patterns for HASH workspace.

    1.7k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Testing Hashql

    hashintel/hash

    HashQL testing strategies including compiletest (UI tests), unit tests, and snapshot tests.

    1.7k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • HashQL diagnostic writing patterns using hashql-diagnostics crate.

    1.7k GitHub stars~724 tokensUpdated today
    Auto-check passed
  • Writing Hashql Jexpr

    hashintel/hash

    HashQL J-Expr syntax for writing queries. An agent skill from hashintel/hash.

    1.7k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Meaningful Identifiers

What does Meaningful Identifiers do?

Naming guidance for callback parameters and local variables in TypeScript. Meaningful Identifiers is an agent skill from hashintel/hash. Naming guidance for callback parameters and local variables in TypeScript.

When should I use Meaningful Identifiers?

Meaningful Identifiers fits situations like: refactoring loops; array callbacks (map/filter/find/reduce); local accumulators.

How do I install Meaningful Identifiers in Claude Code?

Run `npx skills add hashintel/hash --skill meaningful-identifiers -a claude-code`. Or copy the skill folder (.agents/skills/meaningful-identifiers in hashintel/hash) into .claude/skills/meaningful-identifiers in your project. Claude Code loads it when a task matches its description.

How do I install Meaningful Identifiers in Codex?

Run `npx skills add hashintel/hash --skill meaningful-identifiers -a codex`. Or copy the skill folder (.agents/skills/meaningful-identifiers in hashintel/hash) into .agents/skills/meaningful-identifiers in your project. Codex loads it when a task matches its description.

Can I use Meaningful Identifiers in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashintel/hash --skill meaningful-identifiers -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/meaningful-identifiers, .gemini/skills/meaningful-identifiers, .github/skills/meaningful-identifiers and .opencode/skills/meaningful-identifiers in your project.

What does Meaningful Identifiers need to run?

SKILL.md names no scripts, command-line tools or credentials: Meaningful Identifiers is instructions for the agent only.

Does Meaningful Identifiers access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Meaningful Identifiers safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Meaningful Identifiers use?

Meaningful Identifiers is published under the AGPL-3.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Meaningful Identifiers use?

About 308 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Meaningful Identifiers?

Skills that share tags, products or a category with Meaningful Identifiers: Svelte5 Best Practices (SikandarJODD/cnblocks, 430 stars), Dinero Best Practices (dinerojs/dinero.js, 6.8k stars), Code Guidelines (getsentry/sentry-react-native, 1.8k stars) and AST Visitor Pattern for Unions (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Meaningful Identifiers?

hashintel (a GitHub organization) maintains it in hashintel/hash, which has 1,668 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 8, 2026.

Source: hashintel/hash on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.