Agent skill

Add Tests

by MichealWayne in MichealWayne/fe-tools

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

No licenceAuto-check passedTesting & QA

Install Add Tests

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

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

GitHub CLI
$ gh skill install MichealWayne/fe-tools add-tests --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-tests .claude/skills/add-tests && 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-tests
GitHub stars
207
Token cost
~359 tokens
SKILL.md length
80 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
None found

At a glance

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

  • Works in 6 steps: Identify the target package under… → Find or create a test file in… → Follow the naming pattern → …
  • New functions are added
  • Calls npm
  • Existing behavior changes

What it does

Add Tests is an agent skill from MichealWayne/fe-tools. Add or update Jest unit tests for fe-tools utilities. Writes test cases, verifies coverage for common behavior, edge cases, and error inputs. Use when new functions are added, existing behavior changes, or the user asks to add tests across utils, web-utils, node-utils, canvas-utils, or ai-utils.

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

When your agent uses it

  • New functions are added
  • Existing behavior changes
  • The user asks to add tests across utils

Example prompts

  • “/add-tests”

Workflow steps

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

  1. Identify the target package under packages/
  2. Find or create a test file in packages//tests/.
  3. Follow the naming pattern
  4. Cover at least
  5. Use deterministic inputs and avoid external I/O unless required.
  6. Run tests and verify they pass before committing: TEST_API= npm run test.

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

    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 Tests loads about 359 tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 80 words of instructions outside code blocks.

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

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 80 words (~359 tokens).

name
add-tests

Read the full SKILL.md on GitHub

Files

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

Open the folder on GitHubat commit 2f4fd1e

Compare with similar skills

Add Tests 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 Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Tests this skillMichealWayne/fe-tools207—~359Automated safety check: PassNone
Write Testsgrafana/synthetic-monitoring-app171—~1.2kAutomated safety check: PassAGPL-3.0
Write Testsopenplayerjs/openplayerjs649—~1.8kAutomated safety check: PassMIT
MoAI TDD Workflowmodu-ai/moai-adk1.2k—~3.1kAutomated safety check: PassApache-2.0
Test Patternsrohitg00/skillkit1.5k—~1.8kAutomated safety check: PassApache-2.0
Senior QAalirezarezvani/claude-skills28k1 repos~2.1kAutomated safety check: PassMIT

Similar skills

  • Write Tests

    grafana/synthetic-monitoring-app

    Official

    Write Jest integration and unit tests for the Grafana Synthetic Monitoring app using React Testing Library, MSW, and src/test helpers.

    171 GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Write Tests

    openplayerjs/openplayerjs

    Write or extend Jest tests for OpenPlayerJS to this repo's exact conventions — makeCore factories, typed internals handles instead of as any, media property mocking, fake timers, ads/vast mocks, and…

    649 GitHub stars~1.8k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • MoAI TDD Workflow

    modu-ai/moai-adk

    Drives test-first development through the RED, GREEN, REFACTOR cycle, with a config switch that selects between TDD and a DDD workflow for existing code.

    1.2k GitHub stars~3.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Patterns

    rohitg00/skillkit

    Applies proven testing patterns — Arrange-Act-Assert (AAA), Given-When-Then, Test Data Builders, Object Mother, parameterized tests, fixtures, spies, and test doubles — to help write maintainable…

    1.5k GitHub stars~1.8k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Senior QA

    alirezarezvani/claude-skills

    Generates unit tests, integration tests, and E2E tests for React/Next.js applications.

    28k GitHub starsUsed in 1 repo~2.1k tokens
    Testing & QAAuto-check passed
  • Test Generator

    alirezarezvani/claude-code-tresor

    Automatically suggest tests for new functions and components.

    777 GitHub stars~1.6k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed

More from MichealWayne/fe-tools

All 13 skills in this repo
  • Add Utils Function

    MichealWayne/fe-tools

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

    207 GitHub stars~602 tokensUpdated 1 mo ago
    Auto-check passed
  • 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 1 mo 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 1 mo 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 1 mo 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 1 mo 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 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Add Tests

What does Add Tests do?

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

When should I use Add Tests?

Add Tests fits situations like: new functions are added; existing behavior changes; the user asks to add tests across utils.

How do I install Add Tests in Claude Code?

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

How do I install Add Tests in Codex?

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

Can I use Add Tests 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-tests -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-tests, .gemini/skills/add-tests, .github/skills/add-tests and .opencode/skills/add-tests in your project.

What does Add Tests need to run?

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

Does Add Tests 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 Tests 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 Tests use?

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

How many tokens does Add Tests use?

About 359 tokens (SKILL.md is roughly 1.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 Tests?

Skills that share tags, products or a category with Add Tests: Write Tests (grafana/synthetic-monitoring-app, 171 stars), Write Tests (openplayerjs/openplayerjs, 649 stars), MoAI TDD Workflow (modu-ai/moai-adk, 1.2k stars) and Test Patterns (rohitg00/skillkit, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Tests?

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.