Agent skill

Dify Frontend Testing

by langgenius in langgenius/dify

“Use when writing or changing Vitest or React Testing Library tests under `web/` or `packages/dify-ui/`, or when the user explicitly requests frontend test strategy, including…”

— description from SKILL.md by langgenius
Custom licenceAuto-check passedTesting & QA

Install Dify Frontend Testing

skills CLI
$ npx skills add langgenius/dify --skill frontend-testing -a claude-code

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

GitHub CLI
$ gh skill install langgenius/dify frontend-testing --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/langgenius/dify.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/frontend-testing .claude/skills/frontend-testing && 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
frontend-testing
GitHub stars
158k
Token cost
~242 tokens
SKILL.md length
72 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

“Use when writing or changing Vitest or React Testing Library tests under `web/` or `packages/dify-ui/`, or when the user explicitly requests frontend test strategy, including evaluation of an existing strategy. Do not use for frontend code-review-only requests, general testability discussion, Python tests, or Cucumber/Playwright E2E.”

— description from SKILL.md by langgenius

Dify Frontend Testing is a skill in langgenius/dify (158k stars). Its SKILL.md is about 242 tokens. Licence: Custom licence.

What it can do on your machine

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

Dify Frontend Testing loads about 242 tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 72 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 72 words (~242 tokens).

“Read the testing policy for the package that owns the changed tests:”

— opening of SKILL.md by langgenius, Custom licence
name
frontend-testing

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/frontend-testing of langgenius/dify.

Open the folder on GitHubat commit cecdb28

Compare with similar skills

Dify Frontend Testing 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.

Dify Frontend Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dify Frontend Testing this skilllanggenius/dify158k—~242Automated safety check: PassCustom licence
Frontend TestingOhh-889/skyroc7951 repos~2.5kAutomated safety check: PassMIT
React Testingcitypaul/.dotfiles739—~3.6kAutomated safety check: PassCustom licence
Front End Testingcitypaul/.dotfiles739—~6.2kAutomated safety check: PassCustom licence
Storybook Testingyonatangross/orchestkit289—~2.3kAutomated safety check: PassMIT
Vitest Testing Patternscuriositech/some_claude_skills243—~2.5kAutomated safety check: PassMIT

Similar skills

  • Frontend Testing

    Ohh-889/skyroc

    Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities.

    795 GitHub starsUsed in 1 repo~2.5k tokens
    Testing & QAAuto-check passed
  • React Testing

    citypaul/.dotfiles

    React component testing patterns including components, hooks, context, and forms.

    739 GitHub stars~3.6k tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • Front End Testing

    citypaul/.dotfiles

    Behavior-driven UI testing patterns across Vitest Browser Mode, Playwright E2E evidence boundaries, and DOM Testing Library.

    739 GitHub stars~6.2k tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • Storybook Testing

    yonatangross/orchestkit

    Storybook 10 testing patterns with Vitest integration, ESM-only distribution, CSF3 typesafe factories, play() interaction tests, Chromatic TurboSnap visual regression, module automocking…

    289 GitHub stars~2.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Vitest Testing Patterns

    curiositech/some_claude_skills

    Write tests using Vitest and React Testing Library. An agent skill from curiositech/some_claude_skills.

    243 GitHub stars~2.5k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Designing Tests

    CloudAI-X/claude-workflow-v2

    Designs and implements testing strategies for any codebase. An agent skill from CloudAI-X/claude-workflow-v2.

    1.4k GitHub starsUsed in 1 repo~1.5k tokens
    Testing & QAAuto-check passed

More from langgenius/dify

  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    Auto-check passed
  • Guides changes and reviews of the Cucumber and Playwright end-to-end suite under `e2e/`: feature files, step definitions, support code, tags, locators and assertions.

    158k GitHub stars~682 tokensUpdated today
    Auto-check passed
  • Frontend Code Review

    langgenius/dify

    Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.

    158k GitHub stars~938 tokensUpdated today
    Auto-check passed
  • Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…

    158k GitHub stars~626 tokensUpdated today
    Auto-check passed
  • Base skill for the difyctl CLI: discover a Dify server's operations through help output and run them as commands, always with JSON output.

    158k GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Categories

Questions about Dify Frontend Testing

How do I install Dify Frontend Testing in Claude Code?

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

How do I install Dify Frontend Testing in Codex?

Run `npx skills add langgenius/dify --skill frontend-testing -a codex`. Or copy the skill folder (.agents/skills/frontend-testing in langgenius/dify) into .agents/skills/frontend-testing in your project. Codex loads it when a task matches its description.

Can I use Dify Frontend Testing 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 langgenius/dify --skill frontend-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frontend-testing, .gemini/skills/frontend-testing, .github/skills/frontend-testing and .opencode/skills/frontend-testing in your project.

What does Dify Frontend Testing need to run?

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

Does Dify Frontend Testing 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 Dify Frontend Testing 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 Dify Frontend Testing use?

Dify Frontend Testing has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Dify Frontend Testing use?

About 242 tokens (SKILL.md is roughly 968 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 Dify Frontend Testing?

Skills that share tags, products or a category with Dify Frontend Testing: Frontend Testing (Ohh-889/skyroc, 795 stars), React Testing (citypaul/.dotfiles, 739 stars), Front End Testing (citypaul/.dotfiles, 739 stars) and Storybook Testing (yonatangross/orchestkit, 289 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dify Frontend Testing?

langgenius (a GitHub organization) maintains it in langgenius/dify, which has 158,055 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 8, 2026.

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