Skip to content
Skill

Phpunit skill

Generates PHPUnit tests in PHP

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
392
Last commit
12 days ago
License
MIT
Listing updated
today

When your agent uses it

Generates PHPUnit tests in PHP. Covers assertions, data providers, mocking, and test doubles. Use when user mentions "PHPUnit", "TestCase", "assertEquals", "PHP test". Triggers on: "PHPUnit", "TestCase PHP", "assertEquals PHP", "PHP unit test".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (35 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

Copy the skill folder to ~/.claude/skills/phpunit-skill to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/phpunit-skill &&
cp -R "$tmp/phpunit-skill" ~/.claude/skills/phpunit-skill &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/phpunit-skill inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/phpunit-skill to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/phpunit-skill &&
cp -R "$tmp/phpunit-skill" ~/.agents/skills/phpunit-skill &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/phpunit-skill inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/phpunit-skill to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/phpunit-skill &&
cp -R "$tmp/phpunit-skill" ~/.cursor/skills/phpunit-skill &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/phpunit-skill inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/LambdaTest/agent-skills.git --path phpunit-skill

Or copy the folder to ~/.gemini/skills/phpunit-skill yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/phpunit-skill:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/phpunit-skill &&
cp -R "$tmp/phpunit-skill" ~/.copilot/skills/phpunit-skill &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/phpunit-skill inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/LambdaTest/agent-skills.git

Then copy agent-skills/phpunit-skill into your agent's skills folder as phpunit-skill. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Phpunit skill FAQ

How do I install Phpunit skill in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/phpunit-skill to use it in all your projects, or to .claude/skills/phpunit-skill in one project.

Does Phpunit skill run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Phpunit skill?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

More from LambdaTest/agent-skills

  1. Adds automated accessibility (a11y) testing to test suites on TestMu AI cloud by enabling WCAG scans through driver capabilities

    • Open source
    • 392 GitHub stars
    • Browser automation
  2. Designs AI-powered API features, LLM tool/function definitions, MCP server tool schemas, natural language to API conversion, and agentic API

    • Open source
    • 392 GitHub stars
    • AI models and LLM tooling
  3. Validates whether an API request is correct based on provided inputs (method, URL, headers, body, auth, query params)

    • Open source
    • 392 GitHub stars
  4. Designs GDPR-compliant API patterns, PCI-DSS field handling, SOC2 audit log schemas, HIPAA data endpoints, and regulatory compliance checkli

    • Open source
    • 392 GitHub stars
    • Security
  5. Generates complete, production-ready REST API endpoint specifications for any system or domain the user describes

    • Open source
    • 392 GitHub stars
  6. Generate comprehensive, professional API documentation from API designs, endpoint definitions, OpenAPI/Swagger specs, route lists, or raw en

    • Open source
    • 392 GitHub stars
    • Developer tools