Agent skill

Test Implement

by shinpr in shinpr/claude-code-workflows

Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness.

MITAuto-check passedTesting & QA

Install Test Implement

skills CLI
$ npx skills add shinpr/claude-code-workflows --skill test-implement -a claude-code

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

GitHub CLI
$ gh skill install shinpr/claude-code-workflows test-implement --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/shinpr/claude-code-workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/test-implement .claude/skills/test-implement && 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
test-implement
GitHub stars
690
Token cost
~317 tokens
SKILL.md length
109 words
Files
3 (incl. references)
Skills in repo
30
Repo updated
First seen
Licence
MIT

At a glance

Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness.

  • Completing frontend tests and generated test skeletons
  • SKILL.md covers Reference Selection and Common Principles
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve End-to-end testing

What it does

Test Implement is an agent skill from shinpr/claude-code-workflows. Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness. Use when creating or completing frontend tests and generated test skeletons.

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/e2e.md` and `references/frontend.md`).

It sits in Testing & QA, covering End-to-end testing. It works with React and TypeScript. The repository describes itself as: Development workflows for Claude Code that keep broad exploration focused on the outcome you approved. The licence is MIT.

When your agent uses it

  • Completing frontend tests and generated test skeletons
  • Tasks that involve End-to-end testing

Example prompts

  • “Use the test-implement skill to implement React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks…”
  • “/test-implement”

What it can do on your machine

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

Test Implement loads about 317 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 109 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~317
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

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 shinpr/claude-code-workflows at commit a4ecd62, republished under its MIT licence (© shinpr). 109 words, ~317 tokens.

Download SKILL.mdSave it as .claude/skills/test-implement/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
test-implement
description
Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness. Use when creating or completing frontend tests and generated test skeletons.

Test Implementation Patterns

Reference Selection

Test TypeReferenceWhen to Use
Unit / Integrationreferences/frontend.mdImplementing React component tests with the repository's configured runner and network mocking layer
E2Ereferences/e2e.mdImplementing browser-level E2E tests in the existing harness, or Playwright when the approved work introduces a harness

Common Principles

AAA Structure

All tests follow Arrange-Act-Assert:

  • Arrange: Set up preconditions and inputs
  • Act: Execute the behavior under test
  • Assert: Verify the expected outcome
Test Independence
  • Each test runs independently without depending on other tests
  • No shared mutable state between tests
  • Deterministic execution — mock random and time dependencies
Naming
  • Test names describe expected behavior from user perspective
  • One test verifies one behavior

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

Files

SKILL.md and 2 other files (references) in skills/test-implement of shinpr/claude-code-workflows.

  • SKILL.md
  • references/e2e.md
  • references/frontend.md

Open the folder on GitHubat commit a4ecd62

Compare with similar skills

Test Implement 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.

Test Implement compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Implement this skillshinpr/claude-code-workflows690—~317Automated safety check: PassMIT
Keybase E2E Flow Testskeybase/client9.3k—~1.2kAutomated safety check: PassBSD-3-Clause
Playwright Page Objectsbartstc/vite-ts-react-template122—~1kAutomated safety check: NotesMIT
Frontend Typescript Testingshinpr/ai-coding-project-boilerplate232—~1.5kAutomated safety check: PassMIT
Frontend Typescript Testingshinpr/ai-coding-project-boilerplate232—~843Automated safety check: PassMIT
Frontend Typescript Testingshinpr/ai-coding-project-boilerplate232—~692Automated safety check: PassMIT

Similar skills

  • Guides writing and fixing end-to-end flow tests for the Keybase app on desktop with Playwright and on iOS with Appium and WebdriverIO, sharing one testID registry.

    9.3k GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Playwright Page Objects

    bartstc/vite-ts-react-template

    A skill your agent uses when creating page objects or refactoring Playwright E2E tests for better maintainability with Page Object Model patterns.

    122 GitHub stars~1k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Frontend Typescript Testing

    shinpr/ai-coding-project-boilerplate

    Designs frontend tests using the repository's configured React test and browser harnesses, including RTL, MSW, Vitest, and Playwright when present.

    232 GitHub stars~1.5k tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Frontend Typescript Testing

    shinpr/ai-coding-project-boilerplate

    リポジトリで設定済みのReactテスト・ブラウザハーネスを使用してフロントエンドテストを設計。RTL、MSW、Vitest、Playwrightが存在する場合に適用。コンポーネント、loading/error state、統合、フロントエンドE2Eテストの追加・レビュー時に使用。

    232 GitHub stars~843 tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Frontend Typescript Testing

    shinpr/ai-coding-project-boilerplate

    使用仓库已配置的 React 测试与浏览器测试工具(包括 RTL、MSW、Vitest,以及存在时的 Playwright)设计前端测试。适用于新增或评审组件测试、加载/错误状态测试、集成测试或前端 E2E 测试时。

    232 GitHub stars~692 tokensUpdated 3 days ago
    Testing & QAAuto-check passed
  • Manual Test

    hypequery/hypequery

    Execute one of the model-runnable E2E test specs in testing/ (cli, datasets, serve, mcp, react) against a real ClickHouse instance.

    103 GitHub stars~618 tokensUpdated today
    DatabasesAuto-check passed

More from shinpr/claude-code-workflows

All 30 skills in this repo
  • Integration E2E Testing

    shinpr/claude-code-workflows

    Integration and E2E test design principles, ROI calculation, test skeleton specification, and review criteria.

    690 GitHub stars~3.5k tokensUpdated 6 days ago
    Auto-check passed
  • AI Development Guide

    shinpr/claude-code-workflows

    Applies language-agnostic and backend technical decision criteria, anti-pattern detection, debugging, and quality gates.

    690 GitHub stars~3.9k tokensUpdated 6 days ago
    Auto-check passed
  • Frontend AI Guide

    shinpr/claude-code-workflows

    Applies React/TypeScript-specific technical decision criteria, anti-pattern detection, debugging, and frontend quality gates.

    690 GitHub stars~3k tokensUpdated 6 days ago
    Auto-check passed
  • Implementation Approach

    shinpr/claude-code-workflows

    Implementation strategy selection framework. An agent skill from shinpr/claude-code-workflows.

    690 GitHub stars~2.6k tokensUpdated 6 days ago
    Auto-check passed
  • Recipe Quality Profile

    shinpr/claude-code-workflows

    Proposes repository-specific quality policy for implementation and review and, after confirmation, creates or updates docs/project-context/quality.yaml.

    690 GitHub stars~1.1k tokensUpdated 6 days ago
    Auto-check passed
  • Subagents Orchestration Guide

    shinpr/claude-code-workflows

    Guides subagent coordination through implementation workflows.

    690 GitHub stars~9.3k tokensUpdated 6 days ago
    Auto-check passed

Works with

Categories

Questions about Test Implement

What does Test Implement do?

Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness. Test Implement is an agent skill from shinpr/claude-code-workflows. Implements React/TypeScript unit, integration, and browser E2E tests with the repository's configured runner, mocks, setup, and browser harness.

When should I use Test Implement?

Test Implement fits situations like: completing frontend tests and generated test skeletons; tasks that involve End-to-end testing.

How do I install Test Implement in Claude Code?

Run `npx skills add shinpr/claude-code-workflows --skill test-implement -a claude-code`. Or copy the skill folder (skills/test-implement in shinpr/claude-code-workflows) into .claude/skills/test-implement in your project. Claude Code loads it when a task matches its description.

How do I install Test Implement in Codex?

Run `npx skills add shinpr/claude-code-workflows --skill test-implement -a codex`. Or copy the skill folder (skills/test-implement in shinpr/claude-code-workflows) into .agents/skills/test-implement in your project. Codex loads it when a task matches its description.

Can I use Test Implement 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 shinpr/claude-code-workflows --skill test-implement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-implement, .gemini/skills/test-implement, .github/skills/test-implement and .opencode/skills/test-implement in your project.

What does Test Implement need to run?

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

Does Test Implement 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 Test Implement 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 Test Implement use?

Test Implement is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Test Implement use?

About 317 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Test Implement?

Skills that share tags, products or a category with Test Implement: Keybase E2E Flow Tests (keybase/client, 9.3k stars), Playwright Page Objects (bartstc/vite-ts-react-template, 122 stars), Frontend Typescript Testing (shinpr/ai-coding-project-boilerplate, 232 stars) and Frontend Typescript Testing (shinpr/ai-coding-project-boilerplate, 232 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test Implement?

shinpr (a GitHub user) maintains it in shinpr/claude-code-workflows, which has 690 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 1, 2026.

Source: shinpr/claude-code-workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.