Agent skill

Add Utils Function

by MichealWayne in MichealWayne/fe-tools

Add or modify utility functions in fe-tools. An agent skill from MichealWayne/fe-tools.

No licenceAuto-check passedDatabases

Install Add Utils Function

skills CLI
$ npx skills add MichealWayne/fe-tools --skill add-utils-function -a claude-code

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

GitHub CLI
$ gh skill install MichealWayne/fe-tools add-utils-function --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/MichealWayne/fe-tools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/utils/skills/add-utils-function .claude/skills/add-utils-function && 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
add-utils-function
GitHub stars
207
Token cost
~602 tokens
SKILL.md length
215 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

Add or modify utility functions in fe-tools. An agent skill from MichealWayne/fe-tools.

  • Works in 9 steps: Identify the target package based on… → Search existing modules to avoid… → If an existing exported function already… → …
  • The user asks to add a new utility/helper/validator (e.g.
  • Calls npm and rg
  • Add utility function

What it does

Add Utils Function is an agent skill from MichealWayne/fe-tools. Add or modify utility functions in fe-tools. Use when the user asks to add a new utility/helper/validator (e.g., "新增utils函数", "add utility function", "新增SQL语句校验功能") or to extend existing utils in packages/utils, packages/web-utils, packages/node-utils, packages/canvas-utils, packages/env, or packages/ai-utils.

Its SKILL.md is about 600 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 Databases, covering SQL. It works with SQL. The repository describes itself as: 前端开发常用文档/网站地址、样式/js方法封装库、项目模板。提供Chrome拓展程序.

When your agent uses it

  • The user asks to add a new utility/helper/validator (e.g.
  • Add utility function
  • Extend existing utils in packages/utils
  • Packages/web-utils

Example prompts

  • “新增utils函数”
  • “add utility function”
  • “新增SQL语句校验功能”
  • “/add-utils-function”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Identify the target package based on function scope, defaulting to packages/utils for general-purpose helpers. If unsure, use the…
  2. Search existing modules to avoid duplication (rg packages).
  3. If an existing exported function already satisfies the request or differs only by naming/minor boundary behavior, do not create a new…
  4. Only when no suitable existing function exists, choose the most appropriate module file (e.g., array.ts, validators.ts) or create a new…
  5. Implement the function with explicit types and no any. Example
  6. Add bilingual JSDoc (Chinese + English), parameter/return docs, and at least two examples. Use the bilingual-jsdoc skill if needed.
  7. Export the function from the package src/index.ts. Use the update-index-exports skill if needed.
  8. Add unit tests in the package tests directory. Use the add-tests skill if needed.
  9. Suggest verification commands

What it can do on your machine

Read from SKILL.md and the folder at commit 2f4fd1e. 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

    Shell commands in SKILL.md call:

    • npm
    • rg

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

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    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

Add Utils Function loads about 602 tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 215 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 215 words (~602 tokens).

name
add-utils-function

Read the full SKILL.md on GitHub

Files

Just SKILL.md in utils/skills/add-utils-function of MichealWayne/fe-tools.

Open the folder on GitHubat commit 2f4fd1e

Compare with similar skills

Add Utils Function 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.

Add Utils Function compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Utils Function this skillMichealWayne/fe-tools207—~602Automated safety check: PassNone
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
SQL Optimization Patternsynulihao/AgentSkillOS61710 repos~3.3kAutomated safety check: PassNone
SQL PortabilityHL7/sql-on-fhir150—~512Automated safety check: PassCustom licence
DB Migrationskurealnum/dotfiles290—~820Automated safety check: PassNone
Contact FilterChatbotXIO/ChatbotX878—~2.5kAutomated safety check: PassCustom licence

Similar skills

  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • SQL Optimization Patterns

    ynulihao/AgentSkillOS

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.

    617 GitHub starsUsed in 10 repos~3.3k tokens
    DatabasesAuto-check passed
  • SQL Portability

    HL7/sql-on-fhir

    Analyse whether a SQL query is portable across database implementations using sqlglot transpilation.

    150 GitHub stars~512 tokensUpdated yesterday
    DatabasesAuto-check passed
  • DB Migrations

    kurealnum/dotfiles

    A skill your agent uses when generating or regenerating Drizzle migration files, changing database schema tables or columns, resolving migration sequence conflicts after rebase, reviewing migration…

    290 GitHub stars~820 tokensUpdated 5 mo ago
    DatabasesAuto-check passed
  • Contact Filter

    ChatbotXIO/ChatbotX

    Work with the ChatbotX contact filter system — the shared filter model behind the contacts list, conversations, and broadcast audiences.

    878 GitHub stars~2.5k tokensUpdated today
    DatabasesAuto-check passed
  • Smart Query

    zrt-ai-lab/opencode-skills

    智能数据库查询技能。通过SSH隧道连接线上数据库,支持自然语言转SQL、执行查询、表结构探索。当用户需要查询数据库、问数据、看表结构时使用此技能。

    287 GitHub stars~484 tokensUpdated 2 mo ago
    DatabasesAuto-check passed

More from MichealWayne/fe-tools

All 13 skills in this repo
  • Select Package

    MichealWayne/fe-tools

    Choose the correct fe-tools package for new functionality. An agent skill from MichealWayne/fe-tools.

    207 GitHub stars~328 tokensUpdated 29 days ago
    Auto-check passed
  • Recommend 3-5 targeted frontend resources from the fe-tools curated directory for a user's question.

    207 GitHub stars~1.2k tokensUpdated 29 days ago
    Auto-check passed
  • Fe Tools Template Creator

    MichealWayne/fe-tools

    Extract a reusable project template from an existing codebase by removing business-specific code, preserving only the reusable engineering skeleton, and creating template usage docs such as README.

    207 GitHub stars~1k tokensUpdated 29 days ago
    Auto-check: notes
  • Fe Tools Template Recommender

    MichealWayne/fe-tools

    Recommend the most suitable project template or initialization path from fe-tools project-templates based on product, framework, runtime, and delivery constraints.

    207 GitHub stars~1k tokensUpdated 29 days ago
    Auto-check passed
  • Add Tests

    MichealWayne/fe-tools

    Add or update Jest unit tests for fe-tools utilities. An agent skill from MichealWayne/fe-tools.

    207 GitHub stars~359 tokensUpdated 29 days ago
    Auto-check passed
  • Bilingual Jsdoc

    MichealWayne/fe-tools

    Write or update bilingual (Chinese + English) JSDoc for exported functions in fe-tools.

    207 GitHub stars~299 tokensUpdated 29 days ago
    Auto-check passed

Works with

Categories

Questions about Add Utils Function

What does Add Utils Function do?

Add or modify utility functions in fe-tools. An agent skill from MichealWayne/fe-tools. Add Utils Function is an agent skill from MichealWayne/fe-tools. Add or modify utility functions in fe-tools.

When should I use Add Utils Function?

Add Utils Function fits situations like: the user asks to add a new utility/helper/validator (e.g; add utility function; extend existing utils in packages/utils; packages/web-utils.

How do I install Add Utils Function in Claude Code?

Run `npx skills add MichealWayne/fe-tools --skill add-utils-function -a claude-code`. Or copy the skill folder (utils/skills/add-utils-function in MichealWayne/fe-tools) into .claude/skills/add-utils-function in your project. Claude Code loads it when a task matches its description.

How do I install Add Utils Function in Codex?

Run `npx skills add MichealWayne/fe-tools --skill add-utils-function -a codex`. Or copy the skill folder (utils/skills/add-utils-function in MichealWayne/fe-tools) into .agents/skills/add-utils-function in your project. Codex loads it when a task matches its description.

Can I use Add Utils Function 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 MichealWayne/fe-tools --skill add-utils-function -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-utils-function, .gemini/skills/add-utils-function, .github/skills/add-utils-function and .opencode/skills/add-utils-function in your project.

What does Add Utils Function need to run?

Going by SKILL.md and its folder, Add Utils Function needs the command-line tools its instructions call (npm and rg).

Does Add Utils Function access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Add Utils Function 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 Add Utils Function use?

No licence was found for Add Utils Function or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Add Utils Function use?

About 602 tokens (SKILL.md is roughly 2.4k 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 Add Utils Function?

Skills that share tags, products or a category with Add Utils Function: Evolving The Data Model (TriliumNext/Trilium, 38k stars), SQL Optimization Patterns (ynulihao/AgentSkillOS, 617 stars), SQL Portability (HL7/sql-on-fhir, 150 stars) and DB Migrations (kurealnum/dotfiles, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Utils Function?

MichealWayne (a GitHub user) maintains it in MichealWayne/fe-tools, which has 207 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 8, 2026.

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